* page-cache hit ratio
@ 2011-10-04 13:28 Prateek Sharma
0 siblings, 0 replies; only message in thread
From: Prateek Sharma @ 2011-10-04 13:28 UTC (permalink / raw)
To: linux-mm
Hello ,
I would like to know if there is any existing mechanism in the
kernel to get the page-cache statistics like hit-ratios etc.
So far i have found 2 ways of doing this:
First is to instrument the find_get_page routine using ftrace
trace-events, as done here : [http://lkml.org/lkml/2011/7/21/25] .
The other is to use something like system tap :
http://serverfault.com/questions/157612/is-there-a-way-to-get-cache-hit-miss-ratios-for-block-devices-in-linux
However i seem to getting different results from these two approaches.
I'd like to know if there is any framework for evaluating linux-mm
performance (which has cache statistics) ?
Thanks!
--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-04 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-04 13:28 page-cache hit ratio Prateek Sharma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox