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

From: Martin Bligh
Date: Mon Jul 09 2007 - 11:59:53 EST


Christoph Lameter wrote:
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

Those numbers came from Mathieu Desnoyers (LTTng) if you
want more details.

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