On Thu, 23 Jul 2009, Jakub Narebski wrote:
BTW. Would SystemTap help there? Among contributed scripts there is
iotimes, so perhaps it would be possible to have iotrace...
The problem I've had with all iotracers is that it's easy enough to get an
IO trace, but it's basically almost impossible to integrate it with what
actually _caused_ the IO.
Using 'strace -T' shows very clearly what operations are taking a long
time. It's very useful for seeing what you should not do for good
performance - including IO - and where it comes from. It's just that page
faults are invisible to it.
Linus