Page Cache Monitoring ( Hit/Miss )

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

 



Hi Folks,

I am working on a rewrite of Brendan Greggs original cachestat (ftrace) script into bcc. What I was looking for was a steer in the right direction for what functions to trace. At present I trace the following. 

add_to_page_cache_lru
account_page_dirtied
mark_page_accessed
mark_buffer_dirty

Where total = (mark_page_accessed - mark_buffer_dirty) & misses = (add_to_page_cache_lru - account_page_dirtied), from this I then work out the hit ratio etc. Is there any other key functions I should be tracing?

Thanks

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]