* Measuring page faults
@ 2009-11-20 14:06 Mike Gagnon
0 siblings, 0 replies; only message in thread
From: Mike Gagnon @ 2009-11-20 14:06 UTC (permalink / raw)
To: linux-kernel
Hi all,
I would like to measure the latency (execution time) of Linux page
faults. I tried using lmbench, but I get unrealistically fast results
from the lmbench lat_pagefault benchmark. The problem seems to be
that lmbench attempts to ensure pages are paged out using msync with
the MS_INVALIDATE flag set, but this doesn't seem to cause page outs
on Linux. http://www.bitmover.com/lmbench/lat_pagefault.8.html
I would like to adapt lmbench to correctly measure page faults on
Linux, but I need a mechanism to ensure specific pages are paged-out.
Is there a good way to reliably cause page-outs in Linux (so that I
may then cause page faults by touching the paged-out pages)?
Thanks,
Michael Gagnon
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-20 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-20 14:06 Measuring page faults Mike Gagnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®