Re: Question about memory usage in 2.4 vs 2.2

Zou Min (zoum@comp.nus.edu.sg)
Wed, 21 Mar 2001 17:28:00 +0800


> > slabinfo reports:
> >
> > inode_cache 189974 243512 480 30439 30439 1 : 124 62
> > dentry_cache 201179 341940 128 11398 11398 1 : 252 126
> ^
> <name> <used> <allocd> | <used> <allocd>
> <in objects> <size> <in pages>
>

Then how to interpret slabinfo in 2.2.16 box?
e.g. grep cache /proc/slabinfo

kmem_cache 32 42
skbuff_head_cache 2676 2730
dentry_cache 15626 16988
files_cache 103 108
uid_cache 10 127
slab_cache 85 126
what does those numbers mean?

Furthermore, are those cache info above reported as part of the total
cache in /proc/meminfo ?

Lastly, which cache can be reclaimed, and which can't?

I am doing some memory measurements in 2.2.16 linux box. Thanks in advance!

-- 
Cheers!
--Zou Min 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/