Re: [PATCH v3 2/7] locking/pvqspinlock: Add pending bit support

From: Waiman Long
Date: Mon Jul 27 2015 - 13:11:31 EST


On 07/26/2015 07:09 PM, Davidlohr Bueso wrote:
On Wed, 2015-07-22 at 16:12 -0400, Waiman Long wrote:
Using a locking microbenchmark on the same system, the locking
rates in (kops/s) were:

Threads Rate w/o patch Rate with patch
------- -------------- ---------------
2 (same socket) 6,515,265 7,077,476
2 (diff sockets) 2,967,145 4,353,851
At this level stddev would be nice to have, as these sort of things have
a lot of variation.

Out of general interest, are these microbenchmarks available? Would you
care to add something like that to perf-bench? I assume they would
probably be x86 specific.

Ingo has asked similar question and he suggested doing an user-space implementation in perf bench. I will take a further look at that when I have time.

Cheers,
Longman
--
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/