Re: [S+Q2 00/19] SLUB with queueing (V2) beats SLAB netperf TCP_RR

From: David Rientjes
Date: Wed Jul 14 2010 - 16:22:31 EST


On Tue, 13 Jul 2010, Christoph Lameter wrote:

> > > Can you get us the config file. What is the value of
> > > PERCPU_DYMAMIC_EARLY_SIZE?
> >
> > My .config file is attached. I don't know how to find out what value
> > PERCPU_DYNAMIC_EARLY_SIZE is actually on, how could I do that? There's
> > no such thing in my .config.
>
> I dont see anything in there at first glance that would cause slub to
> increase its percpu usage. This is straight upstream?
>

The problem is that he has CONFIG_NODES_SHIFT=10 and struct kmem_cache has
an array of struct kmem_cache_node pointers with MAX_NUMNODES entries
which blows its size up to over 8K. That's probably overkill for his
quad-core 8GB AMD, so I'd recommend lowering CONFIG_NODES_SHIFT to 6.
--
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/