From: Mike Gagnon <mikegagnon@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Measuring page faults
Date: Fri, 20 Nov 2009 09:06:33 -0500 [thread overview]
Message-ID: <2aa71ac70911200606tdf97f3lbc718046ca14d332@mail.gmail.com> (raw)
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
reply other threads:[~2009-11-20 14:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2aa71ac70911200606tdf97f3lbc718046ca14d332@mail.gmail.com \
--to=mikegagnon@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®