* Determining number of page faults caused by paging out
@ 2007-01-29 5:34 John Daniels
2007-01-30 0:56 ` Rik van Riel
0 siblings, 1 reply; 2+ messages in thread
From: John Daniels @ 2007-01-29 5:34 UTC (permalink / raw)
To: linux-mm
Hi,
I sent this message to kernelnewbies, but no one
responded so I thought I'd see if anyone here could
help me. Is there a way to determine the number of
page faults which occur because a certain page has
been paged out to disk and then back into memory (i.e.
page faults that would have been avoided if the VM
subsystem didn't swap the page to disk)? I know that
major page faults are the ones that require reading
the page from disk, but I think major page faults
would count the pages being brought into memory for
the first time also. I don't think pgpgin gives me
what I want either, though I'm not sure. Maybe I will
need to instrument the kernel to get this information?
I'm sorry if this is too basic a question for this
list.
Thanks,
John
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Determining number of page faults caused by paging out
2007-01-29 5:34 Determining number of page faults caused by paging out John Daniels
@ 2007-01-30 0:56 ` Rik van Riel
0 siblings, 0 replies; 2+ messages in thread
From: Rik van Riel @ 2007-01-30 0:56 UTC (permalink / raw)
To: John Daniels; +Cc: linux-mm
John Daniels wrote:
> Hi,
>
> I sent this message to kernelnewbies, but no one
> responded so I thought I'd see if anyone here could
> help me. Is there a way to determine the number of
> page faults which occur because a certain page has
> been paged out to disk and then back into memory (i.e.
> page faults that would have been avoided if the VM
> subsystem didn't swap the page to disk)?
You'll need my /proc/refaults patches for that.
See my paper on measuring resource demand, and the
patches (which I am forward porting, though I keep
getting distracted by other stuff):
http://people.redhat.com/riel/riel-OLS2006.pdf
http://surriel.com/patches/clockpro/
--
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is. Each group
calls the other unpatriotic.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-30 0:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-29 5:34 Determining number of page faults caused by paging out John Daniels
2007-01-30 0:56 ` Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).