Received: by 10.223.176.5 with SMTP id f5csp1211688wra; Fri, 2 Feb 2018 13:13:16 -0800 (PST) X-Google-Smtp-Source: AH8x225isvCTXt0FwKNBV8KVDXcaPABtFRedEqaSScwM18cdxRxgWcgJ9+BU4Wva7ww4KP/0WpDr X-Received: by 10.98.61.71 with SMTP id k68mr3182812pfa.133.1517605996032; Fri, 02 Feb 2018 13:13:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517605995; cv=none; d=google.com; s=arc-20160816; b=pkMIouhVxzW1fZz0KUk/FB6XHQDEC8w1ByYrsgPS78QkBnNrckmkDA/TK8EAbJ7o3T ApFgPWcNNIF1vMnbffhiP8mglfZEEXu2NRHGiTTbcKmwGHYWmUk/BPejBZY2NEf559hA ueQk65ATYznL5Cq/7y/yLxleUREXFkrTQeRlWdHtnSMOXaMaZJYbZFmaZxccdLcOXyFN 34E15N4vuhheHzmCxCgF+OZZSDI+KXaJb+fqIhVlO8Mm2+VBTkl4Db7IxVKxsolm994x Kb2tLmRMLObNkcjIhztjbio5GuKS2PSCuwrOvAxxiPQtmBJErHISS12mEdazXHpik/hg OghA== 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=e+wt+lwZF0X84p9az0z0ch0Oolj/lvV5hEadVPL/I6Y=; b=HXrUSQF2xxYk5mzaUfzf0DCiKlsSNHZ2Wc4OCFatL4zqnCY3J9t9gHmnVGFvDhIMPf qCQWyH/vjWWpLjn5qRvVf8zJtwnofd4F/vddH9PmC5xHNGaFRmGXDXSUvYtpjBgRDr6k 6r7XHeIilpu3jhlt3G0ZUXoN79FFyxKIcVTm7SvzewhhKs8AwLqLkOjUnw/YOuvJ0g2F RqCSxBPSXmGQ0sx5Syx1Shg+w9ddp1+knbFdWYABL6K90+Ah1NqKD0YIgVgH/7Pl6wS5 p4nwOCiHbcYmJjjmF9hB8A37T9icdc+GOa9sA2Wt7zVy7SNP58XVdBLWn50L4wGxNFGk uwaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=hVE1E/8n; 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 i2si1931507pgq.601.2018.02.02.13.13.01; Fri, 02 Feb 2018 13:13:15 -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=hVE1E/8n; 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 S1754828AbeBBUEd (ORCPT + 99 others); Fri, 2 Feb 2018 15:04:33 -0500 Received: from merlin.infradead.org ([205.233.59.134]:37206 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754717AbeBBUEF (ORCPT ); Fri, 2 Feb 2018 15:04:05 -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=e+wt+lwZF0X84p9az0z0ch0Oolj/lvV5hEadVPL/I6Y=; b=hVE1E/8nfdAuUpOXWON3Zfxcr +ALoSq4+RE4zUwrPEfxW2VcHOsP020f/KcaYB+3pjOiinygrc4p4kqaT/Yyj47KKAHgY8PkyJEI1t R7ZFFp8tECoznDnF6gJ0b45xkvFsxqJdS1T9jBrMiE4IRIV3IqX+TOGb8CUzRuMM8VvQwS3SWcwFe EBftgu3NqVyM37uZmhST5da67iLJoBPPWJILYMFntIqNKt6YQENX0X6PpFhYIzU1tmPrqzt4zg29r Q8EtnVhUe5ZfapaEr9OJF64n62ggH9jH9QwzvzNVfgaG5k/20G+jYHX3oC5ua1s6pvln9f46vvHKD qa0YIDtUQ==; 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 1ehhZ4-000444-LI; Fri, 02 Feb 2018 20:04:03 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 701ED2029F9F9; Fri, 2 Feb 2018 21:04:01 +0100 (CET) Date: Fri, 2 Feb 2018 21:04:01 +0100 From: Peter Zijlstra To: Steven Sistare Cc: subhra mazumdar , linux-kernel@vger.kernel.org, mingo@redhat.com, dhaval.giani@oracle.com Subject: Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance Message-ID: <20180202200401.GS2269@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> <20180202172153.GO2269@hirez.programming.kicks-ass.net> <5b9f0828-8d35-885b-3eba-d31ca46da642@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b9f0828-8d35-885b-3eba-d31ca46da642@oracle.com> 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 Fri, Feb 02, 2018 at 01:34:58PM -0500, Steven Sistare wrote: > Actually, I take back my take back. I suspect the primary benefit > of random selection is that it breaks up resonance states where > CPUs that are busy tend to stay busy, and CPUs that are idle tend > to stay idle, which is reinforced by starting the search at target = > last cpu ran. Which, according to there here patches: https://lkml.kernel.org/r/20180130104555.4125-1-mgorman@techsingularity.net is a good thing, because of power management.