Breakdown of cache objects
My boss has asked me to give him something that will show the breakdown of cache usage on a Linux server (Red Hat Enterprise Linux 5).
I can get various information from /proc/slabinfo but I was wondering:
1) Does slabinfo contain information about all Linux memory usage, or just cache (I've found various sources that seem ambiguous on this point).
2) Is there a way to perform a more detailed breakdown of the inode and dentry caches, specifically to list the inodes (or file fragments) being cached?
3) What's the difference between ext3_inode_cache and inode_cache? (I would have thought that the VFS would cause everything to go into inode_cache).
4) Is there a definitive list somewhere of what all the various slab entry names really mean? I would like to give summaries by cache type (network, filesystem, etc.) but I have no idea what half of the cache names are.
Any help would be much appreciated.
Robert Lee.
|