Re: lockdep complaints in slab allocator

From: Pekka Enberg
Date: Wed Nov 25 2009 - 02:25:27 EST


Peter Zijlstra kirjoitti:
Then maybe we should toss SLUB? But then there's people who say SLUB is
better for them. Without forcing something to happen we'll be stuck with
multiple allocators forever.

SLUB is good for NUMA, SLAB is pretty much a disaster with it's alien tentacles^Hcaches. AFAIK, SLQB hasn't received much NUMA attention so it's not obvious whether or not it will be able to perform as well as SLUB or not.

The biggest problem with SLUB is that most of the people (excluding Christoph and myself) seem to think the design is unfixable for their favorite workload so they prefer to either stay with SLAB or work on SLQB.

I really couldn't care less which allocator we end up with as long as it's not SLAB. I do think putting more performance tuning effort into SLUB would give best results because the allocator is pretty rock solid at this point. People seem underestimate the total effort needed to make a slab allocator good enough for the general public (which is why I think SLQB still has a long way to go).

Pekka
--
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/