From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753395AbbGNSsi (ORCPT ); Tue, 14 Jul 2015 14:48:38 -0400 Received: from g9t5008.houston.hp.com ([15.240.92.66]:38144 "EHLO g9t5008.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753232AbbGNSsg (ORCPT ); Tue, 14 Jul 2015 14:48:36 -0400 Message-ID: <55A55981.3040601@hp.com> Date: Tue, 14 Jul 2015 14:48:33 -0400 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: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, Scott J Norton , Douglas Hatch Subject: Re: [PATCH 4/7] locking/pvqspinlock: Collect slowpath lock statistics References: <1436647018-49734-1-git-send-email-Waiman.Long@hp.com> <1436647018-49734-5-git-send-email-Waiman.Long@hp.com> <20150712082233.GS19282@twins.programming.kicks-ass.net> In-Reply-To: <20150712082233.GS19282@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 07/12/2015 04:22 AM, Peter Zijlstra wrote: > On Sat, Jul 11, 2015 at 04:36:55PM -0400, Waiman Long wrote: >> This patch enables the accumulation of kicking and waiting related >> PV qspinlock statistics when the new QUEUED_LOCK_STAT configuration >> option is selected. It also enables the collection of kicking and >> wakeup latencies which have a heavy dependency on the CPUs being used. >> >> The measured latencies for different CPUs are: >> >> CPU Wakeup Kicking >> --- ------ ------- >> Haswell-EX 26.4us 9.2us >> Westmere-EX 99.4US 25.5us >> >> So Haswell is much faster than Westmere. >> >> The accumulated lock statistics will be reported in debugfs under the >> pv-qspinlock directory. > You've again stuck this behind non-trivial patches :-( I will move that patch into the front in the new patchset. Cheers, Longman