Re: local_add_return

From: David Miller
Date: Tue Dec 16 2008 - 02:13:23 EST


From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Date: Tue, 16 Dec 2008 17:03:00 +1030

> Now, I posted a benchmark patch before for archs to test. I'm interested
> in Sparc64.

Here ya go:

UltraSPARC-IIIi:

atomic_long: local_inc=8180000021/243
local_add=7469999999/222
cpu_local_inc=1260000001/37
local_read=5690000000/169
(total was 1326071152640)

irqsave/restore:
local_inc=6909999997/205
local_add=6899999996/205
cpu_local_inc=860000000/25
local_read=5690000005/169
(total was 1326071152640)

trivalue:
local_inc=6490000000/193
local_add=6500000000/193
cpu_local_inc=370000002/11
local_read=7419999998/221
(total was 1326071152640)

local_t:
local_inc=7440000000/221
local_add=7440000000/221
cpu_local_inc=1260000004/37
local_read=5689999997/169
(total was 1326071152640, warm_total 34443624448)

Niagara-2:

atomic_long:
local_inc=6960000013/207
local_add=6940000002/206
cpu_local_inc=2440000002/72
local_read=5390000000/160
(total was 1326071152640)

irqsave/restore:
local_inc=7660000002/228
local_add=7669999999/228
cpu_local_inc=2650000004/78
local_read=5379999999/160
(total was 1326071152640)

trivalue:
local_inc=5789999998/172
local_add=5789999995/172
cpu_local_inc=689999994/20
local_read=7470000000/222
(total was 1326071152640)

local_t:
local_inc=6940000000/206
local_add=6950000000/207
cpu_local_inc=2460000000/73
local_read=5390000004/160
(total was 1326071152640, warm_total 34443624448)

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