Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp631807imm; Fri, 21 Sep 2018 05:56:30 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZYtNLSMg7fUjE8AdDpeO4rcJo5DMLr17p1aX6WxJ7ttUXeJyKxg5kv+RxwlbgPz7XigCHa X-Received: by 2002:a17:902:8348:: with SMTP id z8-v6mr44893856pln.51.1537534590295; Fri, 21 Sep 2018 05:56:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537534590; cv=none; d=google.com; s=arc-20160816; b=PLWzBILakWahhFo854O+GSBaIfEtMndAi8ZTeFXHqcrW+L7DlqRhLFzwEA8XzTkvhJ HKKjNy0luny8aARo8cflE/W65UTqjCLNdfGAsIKXzO4UyhwUK+mFlQBxtHl8RXouEcX6 5fRWSSYJAhtsUO9x3nwohv6bqdXg9M6xRVfVARUX1+czX1ce6b1f2Rrjg7ioIiDPYuhe IK5H7SPauBU/w2cN1PNQK46Kpmemrv3oGxfj1OPrISV20BgreGWhV1BM4kNirTZy9+zz 512Aip0KIw75nym3iD3UhVNkZ8YMg0nIRG7qNbk3EzJHF25tBRiDxyCI6X0+1GCoPWsP 2OAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=53YTLw5LB1a76YqARYM+oEb90c1C+/Dqpsfkic0FYvo=; b=sYiRgfl7fvdMLnSAQxCsg4visfDzeNDSHw45JVJ4pWyCDgFCY4L6k18aNw1FIX2mRd R4O/Dj+Evuf6xaIA63Evge1zJeLJFyxClTUIesu/+cOsekVSezETlpeipUfr2y+IPWQc vJrcJNOnk6qLXtoXan76c4WcCZhm8+pyVx530khr3e2VbAFtv1Wtrf1rScacYq7BBA5O 4UP0ArftCtj0eJTnrhrh/wiz6AZzCMJyjljxLtFn2BgZRqg3Jr3SOzun3au2sj7X1NLp wU82LY8tsZ0UPJzzALeMI6sIvFGtt0AM6GYovA7y/wmFk8k0GbPUalDynyuISaSnUb4w g5tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i33-v6si28266900pld.306.2018.09.21.05.56.14; Fri, 21 Sep 2018 05:56:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389264AbeIUSnU (ORCPT + 99 others); Fri, 21 Sep 2018 14:43:20 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:39873 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727697AbeIUSnU (ORCPT ); Fri, 21 Sep 2018 14:43:20 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1g3Kx7-0001Zh-44; Fri, 21 Sep 2018 14:54:33 +0200 Date: Fri, 21 Sep 2018 14:54:32 +0200 (CEST) From: Thomas Gleixner To: Peter Zijlstra cc: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org, Daniel Wagner , Will Deacon , x86@kernel.org, Linus Torvalds , "H. Peter Anvin" , Boqun Feng , "Paul E. McKenney" Subject: Re: [Problem] Cache line starvation In-Reply-To: <20180921122058.GB24124@hirez.programming.kicks-ass.net> Message-ID: References: <20180921120226.6xjgr4oiho22ex75@linutronix.de> <20180921122058.GB24124@hirez.programming.kicks-ass.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 21 Sep 2018, Peter Zijlstra wrote: > On Fri, Sep 21, 2018 at 02:02:26PM +0200, Sebastian Andrzej Siewior wrote: > > We reproducibly observe cache line starvation on a Core2Duo E6850 (2 > > cores), a i5-6400 SKL (4 cores) and on a NXP LS2044A ARM Cortex-A72 (4 > > cores). > > > > The problem can be triggered with a v4.9-RT kernel by starting > > > Daniel reported that disabling ticket locks on 4.4 makes the problem go > > away, but he hasn't run a long time test yet and as we saw with 4.14 it can > > take quite a while. > > On 4.4 and 4.9 ARM64 still uses ticket locks. So I'm very interested to > know if the ticket locks on x86 really fix or just make it harder. We can run 4.4. with ticket locks over the weekend. Thanks, tglx