LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-07-2007, 09:50 AM   #1
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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.
 
Old 08-15-2007, 03:19 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Original Poster
Rep: Reputation: 76
About 2): My boss won't free up the time to write a kernel module to do this, but the API it would need to use is at http://www.gelato.unsw.edu.au/lxr/id...m_cache_create
 
  


Reply

Tags
cache


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm sure i need help about firefox breakdown antlers Linux - Desktop 2 02-21-2007 12:47 AM
cache all objects xnet_online Linux - Software 1 04-28-2006 01:09 PM
LAN Breakdown azuiden Linux - Networking 2 11-16-2005 09:27 AM
Better breakdown of forums Infinity LQ Suggestions & Feedback 4 10-18-2001 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration