Sample Header Ad - 728x90

Measure disk IO latencies of a running process

7 votes
2 answers
9134 views
I'm trying to measure the disk IO latencies of a running process to make a histogram. I could do this with DTrace in operating systems that provide it (e.g. as in this Joyent paper ), but my application is running in Linux. My first thought was to try perf, and I can get counters but I can't find any way to get time deltas. I can get time deltas with strace (e.g. strace -e read -T), but I'm not sure if I can restrict the trace to disk IO (this system has a busy network interface as well). Is there any way to do this in Linux?
Asked by ajduff574 (233 rep)
Apr 21, 2013, 04:29 PM
Last activity: Apr 22, 2013, 07:29 PM