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

Nick Piggin
2007-05-24T04:24:31Z

On Wed, May 23, 2007 at 09:05:20PM -0700, Christoph Lameter wrote:
> On Thu, 24 May 2007, Nick Piggin wrote:
>
> > > Well as far as I understand Matt it seems that you still need 2 bytes per
> > > alloc. That is still more than 0 that SLUB needs.
> >
> > That's true, but I think the more relevant number is that SLUB needs
> > 400K more memory to boot into /bin/bash.
>
> I am bit amazed by that. Where is that memory going to?

Well, you tell me, you're the SLUB guy ;)

> What page size
> does the system have?
>
> If we have 4k pages there then this boils down to 100 pages.

Yep, 4K pages.

> Does booting with
>
> slub_max_order=0
>
> change things?

With that, `free` alternates between telling me 764 and 768K free
(without the parameter, it would alternate between 756 and 760). So
yes, marginally.