Sample Header Ad - 728x90

How to measure mmap I/O latency?

0 votes
1 answer
200 views
I have an application which appears to be slowing/blocking at the same time there's a lot of disk I/O going on, so I suspect it's I/O operations within the application which are blocking. I can't imagine what else the problem might be, but I would like to confirm it. The problem is that the application largely uses mmap'd files for I/O, and thus they don't show up with strace. I know blocking I/O operations from mmap'd memory is going to be a page fault. But is there a way to measure the amount of time thread execution was suspended due to page faults?
Asked by phemmer (73711 rep)
Oct 5, 2023, 05:00 PM
Last activity: Oct 5, 2023, 06:00 PM