Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp287948ybl; Thu, 23 Jan 2020 23:55:53 -0800 (PST) X-Google-Smtp-Source: APXvYqw1sR/gxmwxLO2bDKZz2ZG6ZxkLlw3pSAauPvOxbVvIlhVyZ6MwSdefXC9AtadxsbMXLYnY X-Received: by 2002:aca:eb14:: with SMTP id j20mr403103oih.12.1579852553683; Thu, 23 Jan 2020 23:55:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579852553; cv=none; d=google.com; s=arc-20160816; b=kTHnjW6JqM/6PY7mXRSDLeE9gBggIGjQHeSrcRst62Z6CV2DztInHTiQipzZc1Oshk m2pnlNE6CyCR/LDZIHw7zhMC67BdJ8NKhpwHm7gKLZVWLrHl5Csk3HXM3/93lLHQm7Jx 3NqHItL887fW6zSriYgeIe7/J5ogGh2VOBWZLx/XdLM/2X4GE4xSeFUeIbZBdNemDZaM nZfMhjS03RUt3y+rsUbOS5rbool63OZdO2hhtn2D8wpZAQNayo3mKVYifGQRU3+UpY0o ZT7uZCkfpz/i4rs2Et3MS5WPQu0UY/8t7/S0m3JgVjrFd6e7UFmXYUk1Lb3zZsNv5rSP +pJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yuA59Cq86QbpEr2GrOS1my19i2Wm0DAniBfPEadru+E=; b=tAJ5zC+KPrv3PjzMBIS9keUB5QgZITs+grk5kD60BVpMZsssmER2Soi/SbuKQ+87nc nv001QL1SsFMNISETrkTqK3qeK1ajAKla9y3fcV96s6njnp1yTFB9GBwffLZkpzS4phs 1LmDg7T14vE3rH3GDdjMMoyx9wNxG5QC7JZFyHCUQ606t8sFRjaNyflkAQ/AfGpEhft+ L2hgzIvxr0sgE4VDeaqqasNLBLNLzRSOsrlBLarrtFCk4tcnEiUH/0H4qOohL3eXhEaN fpi5/F8zYN1EpQg3JV/kRWjuECUsMo1sNQCl1o4A8w2UDWxiMSquztGGsEpHC6b/SgY+ XrRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=WE2DXd5V; 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 c20si1858409oic.113.2020.01.23.23.55.24; Thu, 23 Jan 2020 23:55:53 -0800 (PST) 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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=WE2DXd5V; 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 S1727430AbgAXHxY (ORCPT + 99 others); Fri, 24 Jan 2020 02:53:24 -0500 Received: from merlin.infradead.org ([205.233.59.134]:39454 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725817AbgAXHxX (ORCPT ); Fri, 24 Jan 2020 02:53:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=yuA59Cq86QbpEr2GrOS1my19i2Wm0DAniBfPEadru+E=; b=WE2DXd5VdOovwJVSYxSxfE6QZ n8413ndR5tjBKdTrfkMnM1yGlzr/9L1/JgTH7UQVY4LLbgWeYruwww37tzvLPwLtIE9vPisE2Yv4c DANqteyAoXxYNXLvTzGTavbTIzem6CUyASrfJ9n6t86d4eSHxE3WmmxVxMsHoHnSjzareP2xR3Qn9 fiLecZ8TgJvMBrimrxxWmNfEUXgpFK3FtGPOUR8zXXCleY8JD+iISEOLUgOw7pOdZa+01SK07b0oP VzZUunaCiW0otMSA818I140pkS8tKQVFzYpHEwLZ3ydHTofSySmjR0BuAwoxWFtszk4/eJZWVe1z5 X0FXVJN3w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iutlf-0001Zl-48; Fri, 24 Jan 2020 07:52:39 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 4165F300677; Fri, 24 Jan 2020 08:50:55 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id AC2352B716B08; Fri, 24 Jan 2020 08:52:35 +0100 (CET) Date: Fri, 24 Jan 2020 08:52:35 +0100 From: Peter Zijlstra To: Alex Kogan Cc: Waiman Long , linux@armlinux.org.uk, Ingo Molnar , Will Deacon , Arnd Bergmann , linux-arch@vger.kernel.org, linux-arm-kernel , linux-kernel@vger.kernel.org, Thomas Gleixner , Borislav Petkov , hpa@zytor.com, x86@kernel.org, Hanjun Guo , Jan Glauber , Steven Sistare , Daniel Jordan , dave.dice@oracle.com Subject: Re: [PATCH v8 4/5] locking/qspinlock: Introduce starvation avoidance into CNA Message-ID: <20200124075235.GX14914@hirez.programming.kicks-ass.net> References: <20191230194042.67789-1-alex.kogan@oracle.com> <20191230194042.67789-5-alex.kogan@oracle.com> <20200121132949.GL14914@hirez.programming.kicks-ass.net> <3862F8A1-FF9B-40AD-A88E-2C0BA7AF6F58@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3862F8A1-FF9B-40AD-A88E-2C0BA7AF6F58@oracle.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 23, 2020 at 04:33:54PM -0500, Alex Kogan wrote: > Let me put this question to you. What do you think the number should be? I think it would be very good to keep the inter-node latency below 1ms. But to realize that we need data on the lock hold times. Specifically for the heavily contended locks that make CNA worth it in the first place. I don't see that data, so I don't see how we can argue about this let alone call something reasonable.