Re: Mainline kernel OLTP performance update

From: Pekka Enberg
Date: Fri Jan 16 2009 - 05:16:51 EST


On Thu, Jan 15, 2009 at 11:46:09AM +0200, Pekka Enberg wrote:
>> It would also be nice if someone could do the performance analysis on
>> the SLUB bug. I ran sysbench in oltp mode here and the results look
>> like this:
>>
>> [ number of transactions per second from 10 runs. ]
>>
>> min max avg sd
>> 2.6.29-rc1-slab 833.77 852.32 845.10 4.72
>> 2.6.29-rc1-slub 823.61 851.94 836.74 8.57
>>
>> And no, the numbers are not flipped, SLUB beats SLAB here. :(

On Thu, Jan 15, 2009 at 3:52 PM, Matthew Wilcox <matthew@xxxxxx> wrote:
> Um. More transactions per second is good. Your numbers show SLAB
> beating SLUB (even on your dual-CPU system). And SLAB shows a lower
> standard deviation, which is also good.

I had lockdep enabled in my config so I ran the tests again with
x86-64 defconfig and I'm back to square one:

[ number of transactions per second from 10 runs, bigger is better ]

min max avg sd
2.6.29-rc1-slab 802.02 805.37 803.93 0.97
2.6.29-rc1-slub 807.78 811.20 809.86 1.05

Pekka
--
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/