Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755340AbbG0BOq (ORCPT ); Sun, 26 Jul 2015 21:14:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:38720 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755079AbbG0BOp (ORCPT ); Sun, 26 Jul 2015 21:14:45 -0400 Message-ID: <1437959674.25997.30.camel@stgolabs.net> Subject: Re: [PATCH v3 3/7] locking/pvqspinlock: Collect slowpath lock statistics From: Davidlohr Bueso To: Waiman Long Cc: Peter Zijlstra , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, Scott J Norton , Douglas Hatch Date: Sun, 26 Jul 2015 18:14:34 -0700 In-Reply-To: <1437595962-21472-4-git-send-email-Waiman.Long@hp.com> References: <1437595962-21472-1-git-send-email-Waiman.Long@hp.com> <1437595962-21472-4-git-send-email-Waiman.Long@hp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 894 Lines: 23 On Wed, 2015-07-22 at 16:12 -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 89.8us 7.4us > Westmere-EX 67.6us 9.3us > But you don't mention anything about the overhead of enabling QUEUED_LOCK_STAT. This does several atomic ops, thus potentially thrashing workloads. -- 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/