Re: Do we really need SLOB nowdays?

From: Christoph Lameter
Date: Wed Dec 15 2021 - 10:23:10 EST


On Wed, 15 Dec 2021, Vlastimil Babka wrote:

> > SLOB:
> >
> > Memory required to boot: 6950K
> >
> > Slab: 368 kB
> >
> > SLUB:
> > Memory required to boot: 6800K
> >
> > Slab: 552 kB
> >
> > SLUB with slab merging:
> >
> > Slab: 536 kB
>
> 168kB different on a system with less than 8MB memory looks rather
> significant to me to simply delete SLOB, I'm afraid.

This looks more like a bug/difference in SLAB accounting of SLOB.

How could SLOB require more memory to boot but use less SLAB memory?

This looks to me like a significant reason enough to remove SLOB since
SLUB works with less memory than SLOB.