Re: [PATCH] procfs: provide slub's /proc/slabinfo

From: Christoph Lameter
Date: Fri Jan 04 2008 - 15:37:31 EST


On Fri, 4 Jan 2008, Peter Zijlstra wrote:

> I remember wli trying to work out a series that had minimal
> fragmentation. IIRC he was mixing a fibonaci series with the power of
> two series.
>
> Bill, do you remember getting anywhere?

I tried various approaches to reduce the overhead that power of two slab
sizes cause in SLUB during the initial comparison of memory use with SLOB.
This involved creating slabs in 32 byte increments and trying to add a few
additional extra slabs in between the power of two sizes. None of that led
to convincing results.

I found that the SLAB scheme with power of two caches and two extra ones
(96 and 192 bytes) was optimal.
--
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/