Hi... On 12/9/09, Darvin Denmian <darvin.denmian@xxxxxxxxx> wrote: > Hello, > > someone can tell me what is slab_cache? > > I'm seeing in munin's graphs > (http://img17.imageshack.us/img17/9615/memorymonth.png) , > that this "option" is increasing so much, I realy want to know what this > means. IMO munin takes those numbers from /proc/meminfo, thus slab_cache is just an "alias" of "slab" field seen in /proc/meminfo. Slab itself, in short, is group of cache objects. It is build to speed up this situation: create, destroy, create again. Instead of re-creating from object "from scratch" (object here mostly refers to C structures), kernel will just pick previously "destroyed" object. It mimics the way user space memory allocator works....when you free a memory area, it will simply mark it as "not used". Next time, when it asks for memory size less than or equal to previously created object size, it will reassign that object and mark it as used. Of course, if all slabs are used, slab allocator will carve new slabs from available memory. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ