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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Rientjes
Date: Wednesday, July 14, 2010 - 3:26 pm

On Fri, 9 Jul 2010, Christoph Lameter wrote:


I see you're using my script for collecting netperf TCP_RR benchmark data, 
thanks very much for looking into this workload for slab allocator 
performance!

There are a couple differences between how you're using it compared to how 
I showed the initial regression between slab and slub, however: you're 
using localhost for your netserver which isn't representative of a real 
networking round-robin workload and you're using a smaller system with 
eight cores.  We never measured a _significant_ performance problem with 
slub compared to slab with four or eight cores, the problem only emerges 
on larger systems.

When running this patchset on two (client and server running 
netperf-2.4.5) four 2.2GHz quad-core AMD processors with 64GB of memory, 
here's the results:

		threads	SLAB	SLUB+Q	diff
		16	205580	179109	-12.9%
		32	264024	215613	-18.3%
		48	286175	237036	-17.2%
		64	305309	253222	-17.1%
		80	308248	243848	-20.9%
		96	299845	243848	-18.7%
		112	305560	259427	-15.1%
		128	312668	263803	-15.6%
		144	329671	271335	-17.7%
		160	318737	280290	-12.1%
		176	325295	287918	-11.5%
		192	333356	287995	-13.6%

If you'd like to add statistics to your patchset that are enabled with 
CONFIG_SLUB_STATS, I'd be happy to run it on this setup and collect more 
data for you.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[S+Q2 00/19] SLUB with queueing (V2) beats SLAB netperf TCP_RR, Christoph Lameter, (Fri Jul 9, 12:07 pm)
[S+Q2 02/19] percpu: make @dyn_size always mean min dyn_si ..., Christoph Lameter, (Fri Jul 9, 12:07 pm)
[S+Q2 03/19] percpu: allow limited allocation before slab ..., Christoph Lameter, (Fri Jul 9, 12:07 pm)
[S+Q2 05/19] SLUB: Constants need UL, Christoph Lameter, (Fri Jul 9, 12:07 pm)
[S+Q2 11/19] slub: Remove static kmem_cache_cpu array for boot, Christoph Lameter, (Fri Jul 9, 12:07 pm)
Re: [S+Q2 00/19] SLUB with queueing (V2) beats SLAB netper ..., Christoph Lameter, (Mon Jul 12, 8:11 am)
Re: [S+Q2 00/19] SLUB with queueing (V2) beats SLAB netper ..., Christoph Lameter, (Mon Jul 12, 10:00 am)
Re: [S+Q2 00/19] SLUB with queueing (V2) beats SLAB netper ..., Christoph Lameter, (Tue Jul 13, 7:01 pm)
Re: [S+Q2 00/19] SLUB with queueing (V2) beats SLAB netper ..., David Rientjes, (Wed Jul 14, 3:26 pm)
Re: [S+Q2 00/19] SLUB with queueing (V2) beats SLAB netper ..., Christoph Lameter, (Thu Jul 15, 1:17 pm)
Re: [S+Q2 00/19] SLUB with queueing (V2) beats SLAB netper ..., Benjamin Herrenschmidt, (Sun Jul 18, 5:16 pm)