Skip to contentSkip to conversation

about profiling and stats info for pagecache/buffercache

DISCUSSION Alexey Zhuravlev 3 participants 3 messages May 6, 2001 – May 7, 2001 Memory management

lore
Share & tools
lore
#0 lore raw

Hello!

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...

--
poka, lexa
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

#1 lore raw
Quoted 5 lines · Alexey Zhuravlev

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 [email protected] (spam digging piggy)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

#2 lore raw

Hi,

Quoted 11 lines · Rik van Riel

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

Quoted 2 lines

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

As long as that's per-zone, and includes failed scans as well as successes, fine.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/