Received: by 10.223.176.5 with SMTP id f5csp2740808wra; Mon, 5 Feb 2018 09:04:56 -0800 (PST) X-Google-Smtp-Source: AH8x227OEhi/WBxoUrwAJk8qoVQuTY2jhGWjkmVHm+xppVgufqiBK4etOsjo4rVEZisLl0IA+o9P X-Received: by 2002:a17:902:2be4:: with SMTP id l91-v6mr11890778plb.387.1517850296389; Mon, 05 Feb 2018 09:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517850296; cv=none; d=google.com; s=arc-20160816; b=BcSeYUOWIerxThNkkgpx4DbI4Xfv8hgxeXlsSEC0cUYGkZoD6jBj+hurmOKzH/yFZN gGXYso0oB9JIZbXFscoP6mJlhoRg+rbgwBcFxKtr44/DYT4KuXnFxdaoe+LifKBKYbDv U6OROoZarFr9FZmbkTOVi8Dy6l6Lbm2LXT3MTAFQTMZgJ0/izvwraivfcPqqYFwDxcJR bVDjTZQ8n4d4tcWt2fiGyX/KS2Go4yRHzLzh+fytKtVCXS1MJXirbsGtva7w9S/yjIv9 9wRJPaFYmmGcEFIQxbAaQM9ZewHiSancjwesH62Oe4BSeuL1tZBbHQMo5CM8FRZEv/0t 7iCA== 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:arc-authentication-results; bh=ydJnCS1joQl+pzY+UhvRB8joO082/3aCB8K+OVfHuBo=; b=FFHV5EzdBzJsmBEBoaqhpHdwJBcPDImy8jxnrCazybAxN3QtrOP+pXxu12luejMWF/ 0BX9IJAlFO+KuJWcU/GIhTR08Ni+MIXhR6VKwqljd6BBioLdnyk7vOChS5UULw9sMBzy FQ0k3izdokiX0wZu6PD7OFHFkRI16h+nG1IxdeDkJ1k4ldFsbVGehlwHpbmWxpfmI8bu zhjO1cPBdjPTsk1Q8r82FqvSECC6wJOghY6VUDmhZHMeofma4dgTrh5mCEYxlOTiLCwx 9HzE7mVeVppqe4h7U5yVlzxHi4R4uZHi87pjUavcDW/REi6gpMw47zzpd5eRdLU9aiLs 465A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=S7WkHzfE; 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 l5si66475pgs.608.2018.02.05.09.04.41; Mon, 05 Feb 2018 09:04:56 -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=S7WkHzfE; 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 S1753202AbeBEREO (ORCPT + 99 others); Mon, 5 Feb 2018 12:04:14 -0500 Received: from merlin.infradead.org ([205.233.59.134]:48942 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582AbeBEREK (ORCPT ); Mon, 5 Feb 2018 12:04:10 -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=ydJnCS1joQl+pzY+UhvRB8joO082/3aCB8K+OVfHuBo=; b=S7WkHzfEBui5VQBah/Qmpsmns IDwXlltgNmyCfQ+1g0EUMrrk5fYnagR4DP958v2Lt3ik3MDUCG2v83SxrODtUy8f8OsB8BJDhWDKJ QiJ/y7DyKpiH2EcGwSupOQl0mpt8enFpLPUP4gyxuaQC5dA9nmVQO9sUnRGOc5yni07ks3NYQqbRE b6nr1FkjoRaWm+eg8CKKmh+A5iQE6MH6hVoHND40L6S6s3TxWPIO3ycZy4m8bdwo8excqzZOg//nX ADdUaJt9l9MwbFshVEcWLeMZmeqc+PPmSUqepnLcxdoOyVhql7C/vVSZ/XA4KPKAPAaXI/qMB8KEq j91IXYXfQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1eikBW-0000lc-DF; Mon, 05 Feb 2018 17:04:02 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id E625A2029F9FA; Mon, 5 Feb 2018 18:03:58 +0100 (CET) Date: Mon, 5 Feb 2018 18:03:58 +0100 From: Peter Zijlstra To: Steven Sistare Cc: subhra mazumdar , linux-kernel@vger.kernel.org, mingo@redhat.com, dhaval.giani@oracle.com, tim.c.chen@linux.intel.com Subject: Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance Message-ID: <20180205170358.GT2295@hirez.programming.kicks-ass.net> References: <20180129233102.19018-1-subhra.mazumdar@oracle.com> <20180201123335.GV2249@hirez.programming.kicks-ass.net> <911d42cf-54c7-4776-c13e-7c11f8ebfd31@oracle.com> <20180202195943.GR2269@hirez.programming.kicks-ass.net> <25d67bd2-cbe7-2c2a-e89a-13a7ca5adc10@oracle.com> <20180205124854.GX2269@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180205124854.GX2269@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 05, 2018 at 01:48:54PM +0100, Peter Zijlstra wrote: > So while I see the point of tracking these numbers (for SMT>2), I don't > think its worth doing outside of the core, and then we still need some > powerpc (or any other architecture with abysmal atomics) tested. FWIW Power has another 'fun' feature, their cores have asymmetric SMT. Their cores have a static power level, based on _which_ SMT sibling is running, not how many. A single SMT2 runs (much) slower than a single SMT0. So that random selection stuff really doesn't work well for them. Now 'sadly' x86 can also have ASYM_PACKING set on its SMT domain, so I'm going to have to figure out what to do about all that.