Re: [patch 00/10] [RFC] SLUB patches for more functionality,performance and maintenance

From: Christoph Lameter
Date: Mon Jul 09 2007 - 11:50:53 EST


On Sun, 8 Jul 2007, Andi Kleen wrote:

> Christoph Lameter <clameter@xxxxxxx> writes:
>
> > A cmpxchg is less costly than interrupt enabe/disable
>
> That sounds wrong.

Martin Bligh was able to significantly increase his LTTng performance
by using cmpxchg. See his article in the 2007 proceedings of the OLS
Volume 1, page 39.

His numbers were:

interrupts enable disable : 210.6ns
local cmpxchg : 9.0ns
-
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/