Received: by 10.223.176.5 with SMTP id f5csp2749660wra; Thu, 1 Feb 2018 05:34:24 -0800 (PST) X-Google-Smtp-Source: AH8x227HnYZelubL1yvqbWIfAVsoVrk4ulOmr6UP3oNy1guABJdry7L0ireabQlcIsaWvsRJorCN X-Received: by 10.98.172.7 with SMTP id v7mr37280688pfe.66.1517492064589; Thu, 01 Feb 2018 05:34:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517492064; cv=none; d=google.com; s=arc-20160816; b=YbE61jjnPhX0PzcB36Vo3Cvjm3GMzRmeYo5QXgvgyB4X6V0naz38PhyVXsPD/anfpP w18T3Tz1xXi3oL2kYmzz5jhWJeTlr4yyK1VboJv9bypLpOYiUyr3XA36+0k2sdQ8sPVh m0VEMByCJCr3Wa1tTdMfX/BSiIkEcRlfdD1hfL4vMpGZ9eMp9EkI2fphEOteG5JwYT0P EjWPPrzfsLVVQC7c4DBQXivfhIl74mLrGw5UZE7bnZFja/tOi+pNI5UjvpRqYAqUhXeZ vVx5DRpNvauvLhhJnCr+pkp9qjkfn0iRkuS5tIyMnuiLaumBOJxwrq7JVa+whgsEpVHp JZjg== 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=VTSgdBBJ/vEjN5AxoUw16vFXCJFV22z9+T2jaTWP7bc=; b=KfkdJ1MlgdZ6lf1jXgwVbqTxelizrQ5BdmCZLVHrRwe33fZ23TXsOnWFw5QZTRZITP 9xNuaDWmlrzbjSEhMFYjGpBC/Tcms80l/EsrNM1WqBz0JkusEI24WmDUpXC6iUERhsT9 JUgjST4okuw98vCzNtaxz4t5+T4HaQ+enuac+T1atOS5rX4KJrb4bEw4OmhP0eq8/v1w rZAzGU9mdGoWA+KGVanoZa1UrO1F93eVJBbvr3o0d6YgFbJGAWolRweGIGBTGoRilUs+ lN0JAe1u7C+y/CA1xjhsYUkK9bhvrnMpXeHuu+f8sQlz8LQVyXe07Hy/e2T6aPHN31Pu ErQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=X+yR7Dxi; 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 k12si1325000pgn.319.2018.02.01.05.34.10; Thu, 01 Feb 2018 05:34:24 -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=bombadil.20170209 header.b=X+yR7Dxi; 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 S1752087AbeBANdu (ORCPT + 99 others); Thu, 1 Feb 2018 08:33:50 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:51919 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbeBANdt (ORCPT ); Thu, 1 Feb 2018 08:33:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=VTSgdBBJ/vEjN5AxoUw16vFXCJFV22z9+T2jaTWP7bc=; b=X+yR7Dxijd2PvtPWrDm3qx5MM 66ZTrgheuQJFDUByMskhQVDeI0okJssDvk4gG9GG18gbjpRpKui1EO8CvbacPfQqxXOoY/vrPudHp ggi+S5/lzeatxRQK/3oANQXlRf2WFsgIDfMWw6mr9jocNp2FKfCB+4FN8f+HFkLPYcra/PJ/K95jq Br0Jm2LGBLJGT9DBLV2S1SgRQI2VMAJo/SRRTCSybNSI1x38IUaFq8NViRuEdrhd2mbUBd/jZU/lq Q9ErVDGOphymvNjZCt/pud2mWbB668WIlCj8wjgR/4j/h69Xudn9nCnhxhAF49ibQu1exwgbpDDmL 7feReXbrg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1ehEzr-0003aF-6c; Thu, 01 Feb 2018 13:33:47 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 08FE12029F9F9; Thu, 1 Feb 2018 14:33:44 +0100 (CET) Date: Thu, 1 Feb 2018 14:33:44 +0100 From: Peter Zijlstra To: subhra mazumdar Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, steven.sistare@oracle.com, dhaval.giani@oracle.com Subject: Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance Message-ID: <20180201133343.GJ2295@hirez.programming.kicks-ass.net> References: <20180129233102.19018-1-subhra.mazumdar@oracle.com> <20180201123335.GV2249@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180201123335.GV2249@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 Thu, Feb 01, 2018 at 01:33:35PM +0100, Peter Zijlstra wrote: > I think you want to go allocate sched_domain_shared for the MC level and > use that, much like sd_llc_shared. Also, you'd want to try and get performance numbers for something like Power8, which has SMT8 and fairly expensive atomic ops.