Re: Looking at space used by objects in slab allocator

2007-02-13 Thread Theodore Tso
On Mon, Feb 12, 2007 at 01:53:03PM -0500, William Cohen wrote: > After last week's experiment reducing size of task_struct on I was > The is a signficant amount of space wasted for ext3_inode_cache. If > the struct used for ext3_inode_cache struct could be made smaller, > three objects rather than

Looking at space used by objects in slab allocator

2007-02-12 Thread William Cohen
After last week's experiment reducing size of task_struct on I was curious to see what things are using up memory on the system and which structs have the largest impact on the space used. /proc/slabinfo provides information about the number objects allocated and their sizes. With one line script