From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753446Ab3ACNYk (ORCPT ); Thu, 3 Jan 2013 08:24:40 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:24732 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752853Ab3ACNYi (ORCPT ); Thu, 3 Jan 2013 08:24:38 -0500 X-Authority-Analysis: v=2.0 cv=IsacgcDg c=1 sm=0 a=rXTBtCOcEpjy1lPqhTCpEQ==:17 a=mNMOxpOpBa8A:10 a=v87cGlukdQQA:10 a=5SG0PmZfjMsA:10 a=Q9fys5e9bTEA:10 a=meVymXHHAAAA:8 a=Fx92VpDN7C8A:10 a=XF-TnKqQOcXXJyPNvh8A:9 a=PUjeQqilurYA:10 a=rXTBtCOcEpjy1lPqhTCpEQ==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 74.67.115.198 Message-ID: <1357219477.10284.23.camel@gandalf.local.home> Subject: Re: [RFC PATCH 3/3 -v2] x86,smp: auto tune spinlock backoff delay factor From: Steven Rostedt To: Jan Beulich Cc: Rik van Riel , eric.dumazet@gmail.com, therbert@google.com, walken@google.com, jeremy@goop.org, tglx@linutronix.de, aquini@redhat.com, lwoodman@redhat.com, linux-kernel@vger.kernel.org Date: Thu, 03 Jan 2013 08:24:37 -0500 In-Reply-To: <50E5580102000078000B29D1@nat28.tlf.novell.com> References: <20121221184940.103c31ad@annuminas.surriel.com> <20121221185147.4ae48ab5@annuminas.surriel.com> <20121221185613.1f4c9523@annuminas.surriel.com> <20121222033339.GF27621@home.goodmis.org> <50D52E0C.6000103@redhat.com> <1356549008.20133.20856.camel@edumazet-glaptop> <50DB5531.90500@redhat.com> <1356618448.30414.948.camel@edumazet-glaptop> <50DC5CC0.6010003@redhat.com> <50DC9662020000780009210D@nat28.tlf.novell.com> <50DC9CE1.9030709@redhat.com> <50E5580102000078000B29D1@nat28.tlf.novell.com> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.4.4-1 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 On Thu, 2013-01-03 at 09:05 +0000, Jan Beulich wrote: > > How much bus traffic do monitor/mwait cause behind the scenes? > > I would suppose that this just snoops the bus for writes, but the > amount of bus traffic involved in this isn't explicitly documented. > > One downside of course is that unless a spin lock is made occupy > exactly a cache line, false wakeups are possible. And that would probably be very likely, as the whole purpose of Rik's patches was to lower cache stalls due to other CPUs pounding on spin locks that share the cache line of what is being protected (and modified). -- Steve