Re: [patch 1/3] slob: rework freelist handling

Christoph Lameter
2007-05-24T04:35:52Z

On Thu, 24 May 2007, Nick Piggin wrote:

> I'll take an educated guess and say that SLUB would have more external
> fragmentation which would be especially pronounced in small memory
> setups. Also, that SLUB's kmalloc slabs would suffer from a lot more
> internal fragmentation too, which could be equally significant if not
> more (I think this would become relatively more significant than external
> fregmentation as you increased memory size).

Hmmmm... Could be. The kmalloc array is potentially wasting a lot of
memory. I added more smaller kmalloc array elements to SLUB to avoid that
but maybe that is not enough.

> If you don't think the test is very interesting, I could try any other
> sort of test and with i386 or x86-64 if you like.

Let me try some tests on my own first. Just ran a SLOB baseline, should
have some numbers soon.