Re: tbench regression - Why process scheduler has impact on tbench and why small per-cpu slab (SLUB) cache creates the scenario?

From: Nick Piggin
Date: Mon Sep 10 2007 - 09:52:23 EST


On Monday 10 September 2007 10:56, Zhang, Yanmin wrote:
> On Sat, 2007-09-08 at 18:08 +1000, Nick Piggin wrote:
> > On Wednesday 05 September 2007 17:07, Christoph Lameter wrote:
> > > On Wed, 5 Sep 2007, Zhang, Yanmin wrote:
> > > > > slub_max_order=3 slub_min_objects=8
> > > >
> > > > I tried this approach. The testing result showed 2.6.23-rc4 is about
> > > > 2.5% better than 2.6.22. It really resovles the issue.
> > >
> > > Note also that the configuration you tried is the way SLUB is
> > > configured in Andrew's tree.
> >
> > It still doesn't sound like it is competitive with SLAB at the same
> > sizes. What's the problem?
>
> Process scheduler and small SLUB per-cpu cache work together to create the
> tebnch regression.

OK, so after isolating the scheduler, then SLUB should be as fast as SLAB
at the same allocation size. That's basically what we need to do before we
can replace SLAB with it, I think?
-
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/