RE: [PATCH] slub Discard slab page only when node partials >minimum setting

From: Shi, Alex
Date: Sun Oct 02 2011 - 08:47:36 EST

> > I am tested aim9/netperf, both of them was said related to memory
> > allocation, but didn't find performance change with/without PCP. Seems
> > only hackbench sensitive on this. As to aim9, whichever with ourself
> > configuration, or with Mel Gorman's aim9 configuration from his
> > mmtest, both of them has no clear performance change for PCP slub.
> AIM9 tests are usually single threaded so I would not expect any differences.
> Try AIM7? And concurrent netperfs?

I used aim7+aim9 patch, and setup 2000 process run concurrently. But aim9
can't have big press on slab in fact.
As to concurrent netperf, I'd like try it after vacation, if you can wait. :)
> The PCP patch helps only if there is node lock contention. Meaning
> simultaneous allocations/frees from multiple processor from the same cache.
> > Checking the kernel function call graphic via perf record/perf report,
> > slab function only be used much in hackbench benchmark.
> Then the question arises if its worthwhile merging if it only affects this
> benchmark.

>From my viewpoint, the patch is still helpful on server machines, while no clear
regression finding on desktop machine. So it useful.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at