Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754761AbaBFDLC (ORCPT ); Wed, 5 Feb 2014 22:11:02 -0500 Received: from g6t0185.atlanta.hp.com ([15.193.32.62]:20427 "EHLO g6t0185.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751296AbaBFDK7 (ORCPT ); Wed, 5 Feb 2014 22:10:59 -0500 Message-ID: <52F2FD2A.1020704@hp.com> Date: Wed, 05 Feb 2014 22:10:34 -0500 From: Waiman Long User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130109 Thunderbird/10.0.12 MIME-Version: 1.0 To: Peter Zijlstra CC: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Arnd Bergmann , linux-arch@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt , Andrew Morton , Michel Lespinasse , Andi Kleen , Rik van Riel , "Paul E. McKenney" , Linus Torvalds , Raghavendra K T , George Spelvin , Tim Chen , Daniel J Blueman , Alexander Fyodorov , Aswin Chandramouleeswaran , Scott J Norton , Thavatchai Makphaibulchoke Subject: Re: [PATCH v3 1/2] qspinlock: Introducing a 4-byte queue spinlock implementation References: <1390933151-1797-1-git-send-email-Waiman.Long@hp.com> <1390933151-1797-2-git-send-email-Waiman.Long@hp.com> <20140131150832.GG4941@twins.programming.kicks-ass.net> <52EBF871.5020603@hp.com> <20140203114054.GH8874@twins.programming.kicks-ass.net> In-Reply-To: <20140203114054.GH8874@twins.programming.kicks-ass.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/