Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2627650ybc; Mon, 25 Nov 2019 01:18:45 -0800 (PST) X-Google-Smtp-Source: APXvYqyP+B4dIBHSF2KP0BjdhVlFgyPEkn+t+x5Vhv3IJGRv3w+GIzSLgwx7j78PB0wu90S+Fgre X-Received: by 2002:a17:906:404d:: with SMTP id y13mr36799647ejj.276.1574673525193; Mon, 25 Nov 2019 01:18:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574673525; cv=none; d=google.com; s=arc-20160816; b=Pks/up0pCcacx4yhUrdMeX8t7q3vUQ3ncrM5o2GzsMiL+ylmGQtx17XZ1Rxu2EZnUq 88Fq44AasgaHGWsi9UNeMAk/niw3EEbLWqQCj2azkUpUyJcWxZuvZ/38k4jp7sOQrjHQ gh7q2tcY76HwVkU9+EnHQaWdxCAdI+qVsrJfCKBBLuIKxXYvZYthdyo9lldOAD4RyIUI GncFQ2VZ1nWinyOXj7MJEgrFzTCY/ajFNik3M0pQ4c08MDViNYaif9HmeLktvRD4/aJx lMAQEzLN1/u4kAYOkJcmDbjZfDV6sCVHuCTmQTV/UIlft5/akWhR15aG+G5widpcC0iX /tDw== 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; bh=oL0yJanzbB0UA03FATI8f0X+ajIawad51hEEgXwlRlU=; b=yarwvt06dieHqTPenRuU7GbfmfdulVgeU82ASTeughMb/ytvhnca/KiTyhvw5nAB8+ ifRYt/h/xp9dnbv/VGNkA7UUB76BwK0qmhuQ9of2ANcZcbJ83sneHOzUozutVoLyYvxL CJHtKbVcgs2VLUjXuq1SF6Z9EKar8MGaYgJwlFh6co40XFV5T4NBrx8i5ZCa+sJDarL2 EPx4QSEz25Iea9B2ysQ8mHqXdvRvy+t+snMlLoskGVVaC55nXrkWJK4xfMe3PcWS+8Ig XTc9RKnk8Ija1yKo5FIEfDAZCqP6zBnczpwwbYfh8gsyUrqzgtLKhkVk36l4xmaxPtX+ AMFA== ARC-Authentication-Results: i=1; mx.google.com; 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 t12si5237070edc.171.2019.11.25.01.18.21; Mon, 25 Nov 2019 01:18:45 -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; 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 S1727176AbfKYJQm (ORCPT + 99 others); Mon, 25 Nov 2019 04:16:42 -0500 Received: from outbound-smtp30.blacknight.com ([81.17.249.61]:58909 "EHLO outbound-smtp30.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727051AbfKYJQm (ORCPT ); Mon, 25 Nov 2019 04:16:42 -0500 Received: from mail.blacknight.com (unknown [81.17.254.17]) by outbound-smtp30.blacknight.com (Postfix) with ESMTPS id E0CBFD072E for ; Mon, 25 Nov 2019 09:16:39 +0000 (GMT) Received: (qmail 28355 invoked from network); 25 Nov 2019 09:16:39 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.18.57]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 25 Nov 2019 09:16:39 -0000 Date: Mon, 25 Nov 2019 09:16:37 +0000 From: Mel Gorman To: Doug Smythies Cc: 'Giovanni Gherdovich' , 'Srinivas Pandruvada' , 'Thomas Gleixner' , 'Ingo Molnar' , 'Peter Zijlstra' , 'Borislav Petkov' , 'Len Brown' , "'Rafael J . Wysocki'" , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, 'Matt Fleming' , 'Viresh Kumar' , 'Juri Lelli' , 'Paul Turner' , 'Vincent Guittot' , 'Quentin Perret' , 'Dietmar Eggemann' Subject: Re: [PATCH v4 1/6] x86,sched: Add support for frequency invariance Message-ID: <20191125091637.GB3016@techsingularity.net> References: <20191113124654.18122-1-ggherdovich@suse.cz> <20191113124654.18122-2-ggherdovich@suse.cz> <000001d5a29b$c944fd70$5bcef850$@net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <000001d5a29b$c944fd70$5bcef850$@net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 23, 2019 at 11:49:57PM -0800, Doug Smythies wrote: > Hi all, > > The address list here is likely incorrect, > and this e-mail is really about a kernel 5.4 > bisected regression. > > It had been since mid September, and kernel 5.3-rc8 since > I had tried this, so I wanted to try it again. Call it due diligence. > I focused on my own version of the "gitsource" test. > > Kernel 5.4-rc8 (as a baseline reference). > > My results were extremely surprising. > > As it turns out, at least on my test computer, both the > acpi-cpufreq and intel_cpufreq CPU frequency scaling drivers > using the schedutil governor are broken. For the tests that > I ran, there is negligible difference between them and the > performance governor. So, one might argue that they are not > broken, but rather working incredibly well, which if true > then this patch is no longer needed. > I don't think that is necessarily fair. It still makes sense that the "size" of a task is independent of the frequency the CPU is running at for load balancing decisions and should be merged on that basis alone. If the scheduler made perfect decisions on task location then there would be negligible difference between ondemand (or powersave if intel_pstate) and performance governor too. cpufreq tends to be more noticable under the current implementation as tasks are a lot more mobile than they need to be for basic workloads. -- Mel Gorman SUSE Labs