Messages in this thread | | | Date | Mon, 4 Aug 2008 20:20:08 +0300 | From | "Pekka Enberg" <> | Subject | Re: No, really, stop trying to delete slab until you've finished making slub perform as well |
| |
On Mon, Aug 4, 2008 at 8:13 PM, Christoph Lameter <cl@linux-foundation.org> wrote: > KOSAKI Motohiro wrote: > >> When hackbench running, SLUB consume memory very largely than SLAB. >> then, SLAB often outperform SLUB in memory stavation state. >> >> I don't know why memory comsumption different. >> Anyone know it? > > Can you quantify the difference? > > SLAB buffers objects in its queues. SLUB does rely more on the page allocator. > So SLAB may have its own reserves to fall back on.
Also, what kind of machine are we talking about here? If there are a lot of CPUs, SLUB will allocate higher order pages more aggressively than SLAB by default.
| |