Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2454195pxu; Mon, 14 Dec 2020 02:46:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwg0KHbF6im37M8me3tu50F8lhRkBN1oJCxdXcxZYPNMkSbjBNnhWcBPWqjNkayyXTs9sGw X-Received: by 2002:a50:b5c5:: with SMTP id a63mr9404468ede.227.1607942772861; Mon, 14 Dec 2020 02:46:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607942772; cv=none; d=google.com; s=arc-20160816; b=kK9NYFaWi4gGJYjlmAnWFhdQTS9k4DpqDjN06UZT5AB6YJBj9RQ6wEHMbeSm4LTmCo CyEYv3ONlWAGAvVxdt9bfG/U4J5MGMKWFM8lDFUvW+UG5nGc3usR1t3hDvt3kMOBhPVx L/TCOL7oFf2RJRdV2EezH8G3e+MyIAwDbZVh6UxuJQGZUKAQujGqG0JHcs3gOlSClbXZ FmU/WyxT9ziG6vR6m2VaamVZixcg8Xkj60VHmNpPb5Ju76rF0DseZVm6tjxm4vw3OT+i baNmOVHaqN93gacu38tD8/8Vh5jMTx4iIH9Vso5AjAXlGpHoGyz978MEH/c1jrPvk6QI L5fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YUoipkrrpYhnigWXpgpKxtM4aoanwWNczHgeVzWov4I=; b=V8OaF0QGyyS/CGNppWh+gAH8LhkbmBuKkEb3+8rXb2gqFEUI+y/5942/CFvVGvMt9k fOtAMZUKZCoawkWlw/rJT7uPvc03Wc34F02tBOTdnjSGWNxO8yMiFNr9lMkQ/AjawUKF nlKFc8pEcEfLXr6f1rol/aWZgKeKYGUo7iMgqrCh8wHoMUz+vnbO0RqANd+Qvpq1MGdo Rh6JN++8/6NfrPYuICuRSg72YHuESTuTUgFOq9hVVsT7y1SHVp9VH5sdA3kWA9yHscHM /kQw/kYqOfSNsLyWu97BK9bcxDDZnhlFCjSoyyXHKSG0T1EnVyCe3epoSrSwnsFj+Qtp Imcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HZPzONId; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si8700089edt.452.2020.12.14.02.45.49; Mon, 14 Dec 2020 02:46:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HZPzONId; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731396AbgLNJdN (ORCPT + 99 others); Mon, 14 Dec 2020 04:33:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726876AbgLNJc7 (ORCPT ); Mon, 14 Dec 2020 04:32:59 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A73CC0613D3 for ; Mon, 14 Dec 2020 01:32:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=YUoipkrrpYhnigWXpgpKxtM4aoanwWNczHgeVzWov4I=; b=HZPzONIdrjODcOlP/tE5pkCK+D UzcL1hrOa9yeBRpou0ey8eMYH2AfpNVHgk50HNm3VyM++4M2zYPtaSW0B3DdEC2kmzNGDyT16+cgM 8ViyrOpZNnJY8WHvgcP9LSTGeWwD7u0Mm30NDgJRB908oJh2FAjdNTf+rxaFNID3crCiPzRi37L0/ KGv6ctfhLYucXLd33gwcYrHlzfRO10Ri4k2LDwqUXPKvoVftD+RCoW8KgOxmIGtvcuhM77lPhxbUL YuyzTGQGcqoI65W1CUVZJjLhEJ1KSxTXeC9FH7bvQpPG4hMo5cWmWAX1PsEbf2HFNdSZFOUe6WjzL okq87/ag==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kokDA-0005i3-IN; Mon, 14 Dec 2020 09:32:08 +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 E5C7D3059C6; Mon, 14 Dec 2020 10:32:07 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D74802BA1531B; Mon, 14 Dec 2020 10:32:07 +0100 (CET) Date: Mon, 14 Dec 2020 10:32:07 +0100 From: Peter Zijlstra To: Mel Gorman Cc: "Li, Aubrey" , mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, valentin.schneider@arm.com, qais.yousef@arm.com, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, tim.c.chen@linux.intel.com, linux-kernel@vger.kernel.org, Mel Gorman , Jiang Biao Subject: Re: [RFC PATCH v7] sched/fair: select idle cpu from idle cpumask for task wakeup Message-ID: <20201214093207.GY3040@hirez.programming.kicks-ass.net> References: <20201209062404.175565-1-aubrey.li@linux.intel.com> <20201209143510.GO3371@techsingularity.net> <3802e27a-56ed-9495-21b9-7c4277065155@linux.intel.com> <20201210113441.GS3371@techsingularity.net> <31308700-aa28-b1f7-398e-ee76772b6b87@linux.intel.com> <20201210125833.GT3371@techsingularity.net> <20201211174442.GU3040@hirez.programming.kicks-ass.net> <20201211204337.GX3371@techsingularity.net> <20201211221905.GV3040@hirez.programming.kicks-ass.net> <20201211225002.GY3371@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201211225002.GY3371@techsingularity.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 11, 2020 at 10:50:02PM +0000, Mel Gorman wrote: > > > The third potential downside is that the SMT sibling is not guaranteed to > > > be checked due to SIS_PROP throttling but in the old code, that would have > > > been checked by select_idle_smt(). That might result in premature stacking > > > of runnable tasks on the same CPU. Similarly, as __select_idle_core may > > > find multiple idle candidates, it will not pick the targets SMT sibling > > > if it is idle like select_idle_smt would have. > > > > > > That said, I am skeptical that select_idle_smt() matters all that often. > > > > This, I didn't really believe in it either. > > > > Good because I think any benefit from select_idle_smt is so marginal > that it should be ignored if the full scan is simpler overall. Perhaps we should start out with a simple patch removing that pass.. That should show, what, if anything, the effect of it is.