[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about profiling and stats info for pagecache/buffercache



On Sun, 6 May 2001, Alexey Zhuravlev wrote:

> As far as I understand, now Linux have no facility to collect stats info
> for pagecache/buffercache. For example, it'd be fine if we can see how 
> many requests were submited to pagecache/buffercache and how many of 
> these requests was serviced from cache without I/O. Moreover, it'd be fine
> to have some profiling info on requests for pagecache/buffercache...

OK, so you want:

pagecache	nr_requests	hit	mis	
buffercache	nr_requests	hit	mis

I'd like to see a few other statistics as well, mainly for the
pageout code...

- nr pages scannned
- nr pages moved to the inactive_clean list
- nr pages "rescued" from the inactive_clean list
- nr pages evicted
- nr pages deactivated by pageout scanning
- nr pages deactivated by drop-behind

Are there any more ideas for statistics people would like to
see?

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/		http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

--
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.eu.org/Linux-MM/