RE: [PATCH 1/3] slub: set a criteria for slub node partial adding

From: David Rientjes
Date: Tue Dec 13 2011 - 21:36:58 EST


On Tue, 13 Dec 2011, David Rientjes wrote:

> > > {
> > > n->nr_partial++;
> > > - if (tail == DEACTIVATE_TO_TAIL)
> > > - list_add_tail(&page->lru, &n->partial);
> > > - else
> > > - list_add(&page->lru, &n->partial);
> > > + list_add_tail(&page->lru, &n->partial);
> > > }
> > >

2 machines (one netserver, one netperf) both with 16 cores, 64GB memory
with netperf-2.4.5 comparing Linus' -git with and without this patch:

threads SLUB SLUB+patch
16 116614 117213 (+0.5%)
32 216436 215065 (-0.6%)
48 299991 299399 (-0.2%)
64 373753 374617 (+0.2%)
80 435688 435765 (UNCH)
96 494630 496590 (+0.4%)
112 546766 546259 (-0.1%)

This suggests the difference is within the noise, so this patch neither
helps nor hurts netperf on my setup, as expected.
--
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/