Linux (or Ubuntu specific) tools to measure number of page faults

Alfred Zhong alfchung02 at gmail.com
Tue May 1 01:53:35 UTC 2012


Dear Ubuntu Developers, especially Kernel Hackers,


This may be a stupid question, please excuse my ignorance.

I am doing a project on Linux scheduler that trying to minimize number of
page faults.

I finished the algorithm implementation and I need to measure the effect. I
am wondering if Linux provides tools to record number of page fault
happened during the whole execution process?

Basically, I want something like $ pfstat ./a.out page faults: 3 Execution
Time: 1003 ms

Is there such a tool? I want to make sure before deciding to write one by
myself, which will be a lot of work...

Thanks a lot!

Alfred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20120430/42dabf0f/attachment.html>


More information about the Ubuntu-devel-discuss mailing list