The HyperNews Linux KHG Discussion Pages

Question: measuring time to load a virtual mem page from disk

Forum: The Linux Kernel Hackers' Guide
Keywords: virtual memory linux timing time
Date: Tue, 02 Sep 1997 13:23:33 GMT
From: <kandr@giasmd01.vsnl.net.in>

Is it possible to track the number of page-faults that occured during the course of a Linux session? I want all kinds of intricate details like how long it took from the time of the page fault occuring to the time the system recovers by loading the page from disk. (I know the the 'time' command can give the number of page-faults but I also need to know the total time taken to service the page faults.)

If a readymade utility is not available, would anyone please suggest ways in which to modify the kernel so that I can collect these statistics.

Thanks in advance. And cheers to the KHG!

-- Ranganathan <kandr@giasmd01.vsnl.net.in>