Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1213980pxb; Fri, 6 Nov 2020 04:08:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpM3D5i8INRwAcdbN0EtclftVe4bj1y/1i9V+Y+Lc6VeJzCaHpFsBsQgSRzxbiLiNJ63gA X-Received: by 2002:a17:906:1458:: with SMTP id q24mr1760367ejc.541.1604664504836; Fri, 06 Nov 2020 04:08:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604664504; cv=none; d=google.com; s=arc-20160816; b=YGBjTrIS0rOrL8nCqBf1dwelQ6L5afBKNK6MVIifp4k6JTnCTCY4HyryJXRyRo6Djr xz5lHzZapR4B9zCNbPDd3qmA8NQ70Hm82veM/eb1rLzK6nOq+piC8+6Ppz+BTe0LKVAh bjxHaD7ZCuEDU6CB7rXP/Zc6ixk1aA056dxnME7TKTnIB58wvwCU+tf6rdIHu0kxdBXP 6+aYlAs2I0MbH4G0rIqqf9rXtTD5ZWb7rIx9GxoVn1c/52dYnw1NYBoShh4ANk43R33l 28WxmHberPoROquYJWGxcfG/zymxoq1xA8xCdrh9e7Z+xYH80EBiKqNzZ+zuvh4qnBVK gNkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4M0UVegGsO+SqD6X9CrMNRLCN+cZ79d06+Lx0dloEQI=; b=dUQbG+X3q1NchtCLSV5Sz2BGeU2tc+Q1BIlzc4s3yLCkSD4/+/cySHYKtD0/rk4HqH mfxaBuSAShCRsfST+trq/XH47V5vgXX6crGdykVNQZQSFLS/9/LHBfBPjSew1H1A1Vad KU/EjSjTTN7ROfppzd2yoDAxrZIctyj8EKRmNZCCklFyiR5XsMnEGPfHrcRRgf7w087e X9Up1Sp2LDOvJRfTBqg7zO8YpM1tTMv1vqABr83XyS1Y/Zt27Mm2b48Z42/FizptkTTZ Y7Tj9ttFFN8x+DIFzC8Gvnu9bNKMaTCEjuHNaCWAiouKtPz53YH3vUFOtxZ8oBk/BQCu zcLw== ARC-Authentication-Results: i=1; mx.google.com; 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 d2si807083ejm.262.2020.11.06.04.07.39; Fri, 06 Nov 2020 04:08:24 -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; 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 S1726954AbgKFMDL (ORCPT + 99 others); Fri, 6 Nov 2020 07:03:11 -0500 Received: from outbound-smtp53.blacknight.com ([46.22.136.237]:41143 "EHLO outbound-smtp53.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbgKFMDL (ORCPT ); Fri, 6 Nov 2020 07:03:11 -0500 Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp53.blacknight.com (Postfix) with ESMTPS id 24FE964034 for ; Fri, 6 Nov 2020 12:03:06 +0000 (GMT) Received: (qmail 27144 invoked from network); 6 Nov 2020 12:03:06 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.22.4]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 6 Nov 2020 12:03:05 -0000 Date: Fri, 6 Nov 2020 12:03:03 +0000 From: Mel Gorman To: Phil Auld Cc: Vincent Guittot , Peter Puhov , linux-kernel , Robert Foley , Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Jirka Hladky Subject: Re: [PATCH v1] sched/fair: update_pick_idlest() Select group with lowest group_util when idle_cpus are equal Message-ID: <20201106120303.GE3371@techsingularity.net> References: <20200714125941.4174-1-peter.puhov@linaro.org> <20201102105043.GB3371@techsingularity.net> <20201102144418.GB154641@lorien.usersys.redhat.com> <20201104094205.GI3306@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20201104094205.GI3306@suse.de> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 04, 2020 at 09:42:05AM +0000, Mel Gorman wrote: > While it's possible that some other factor masked the impact of the patch, > the fact it's neutral for two workloads in 5.10-rc2 is suspicious as it > indicates that if the patch was implemented against 5.10-rc2, it would > likely not have been merged. I've queued the tests on the remaining > machines to see if something more conclusive falls out. > It's not as conclusive as I would like. fork_test generally benefits across the board but I do not put much weight in that. Otherwise, it's workload and machine-specific. schbench: (wakeup latency sensitive), all machines benefitted from the revert at the low utilisation except one 2-socket haswell machine which showed higher variability when the machine was fully utilised. hackbench: Neutral except for the same 2-socket Haswell machine which took an 8% performance penalty of 8% for smaller number of groups and 4% for higher number of groups. pipetest: Mostly neutral except for the *same* machine showing an 18% performance gain by reverting. kernbench: Shows small gains at low job counts across the board -- 0.84% lowest gain up to 5.93% depending on the machine gitsource: low utilisation execution of the git test suite. This was mostly a win for the revert. For the list of machines tested it was 14.48% gain (2 socket but SNC enabled to 4 NUMA nodes) neutral (2 socket broadwell) 36.37% gain (1 socket skylake machine) 3.18% gain (2 socket broadwell) 4.4% (2 socket EPYC 2) 1.85% gain (2 socket EPYC 1) While it was clear-cut for 5.9, it's less clear-cut for 5.10-rc2 although the gitsource shows some severe differences depending on the machine that is worth being extremely cautious about. I would still prefer a revert but I'm also extremely biased and I know there are other patches in the pipeline that may change the picture. A wider battery of tests might paint a clearer picture but may not be worth the time investment. So maybe lets just keep an eye on this one. When the scheduler pipeline dies down a bit (does that happen?), we should at least revisit it. -- Mel Gorman SUSE Labs