Re: SLUB: The unqueued Slab allocator

From: Andi Kleen
Date: Thu Feb 22 2007 - 11:54:39 EST


Christoph Lameter <clameter@xxxxxxx> writes:

> This is a new slab allocator which was motivated by the complexity of the
> with the existing implementation.

Thanks for doing that work. It certainly was long overdue.

> D. SLAB has a complex cache reaper
>
> SLUB does not need a cache reaper for UP systems.

This means constructors/destructors are becomming worthless?
Can you describe your rationale why you think they don't make
sense on UP?

> G. Slab merging
>
> We often have slab caches with similar parameters. SLUB detects those
> on bootup and merges them into the corresponding general caches. This
> leads to more effective memory use.

Did you do any tests on what that does to long term memory fragmentation?
It is against the "object of same type have similar livetime and should
be clustered together" theory at least.

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