Re: [PATCH v3 1/2] qspinlock: Introducing a 4-byte queue spinlockimplementation

From: Waiman Long
Date: Wed Feb 05 2014 - 22:11:11 EST


On 02/03/2014 06:40 AM, Peter Zijlstra wrote:
On Fri, Jan 31, 2014 at 02:24:33PM -0500, Waiman Long wrote:
Light contention is the only case where the qspinlock may not perform as
good as the ticket spinlock. I know this is the most common case. However, I
would argue that the slowdown, if any, will not be really noticeable. This
is what I will try to find out.
Please also explain why things are slower/faster. Thomas tried to get
you to do so a few months back, but you kept deflecting.

It is not easy to have a test case to test light contention. I am trying to create custom test case to get that data.

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