Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp247065pxu; Thu, 22 Oct 2020 22:33:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxj/woAcB2mR7Rkr858dXETbp4FU1pzvp0nglPuGUzj9AH9jZ4eh8TEvtfM3+sVbV1SOfWg X-Received: by 2002:aa7:cb1a:: with SMTP id s26mr597797edt.219.1603431206627; Thu, 22 Oct 2020 22:33:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603431206; cv=none; d=google.com; s=arc-20160816; b=ZRQd4A3eVQeatCvwb8oK3hoFaScAJf9ljSyOqhU0s3emBbXdJj6fpGpN9o4EcNXmY0 G2qBMH3CnhI9m9JJvOOTEf/YHBbRj/MrZn7HAe8kmbCm7Av/XZWFEAZjCmKeVNzJxg3N m/40BgdmVcJxYWqAIHbdfbxR/ObheQGvoQyCbm3SVtWszVkG1RCDErhDpiKbQmaFwBkD qu8X+YzER8wHBFilinlWLHoov8kiVRJo63BIZ6BOzh2xdl3uTC1HIucoGo3OXL5kXIAl lamscYkjnrCbrWUgwU3Rgsbsv9hrbGaP9Qmf7hHAez0kymmpPTfm/dTSQfctZuWzvzyc Oksg== 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=jK093jSMkEOw23Kyr2rbWivTXqEeW9ScPtBSkl20Dq0=; b=IOoABIJm23FSjBxUMBZi1VxVHilWNamgKZgIn68+kqqCgReIOVoIHSnhVA6m69cLfr KQL1ADintKOLeN1BViD+iayG+Z39ut3ihHpjVfHz8whqnd/J68jOzNR3qsrLddhfugFM 9+l7+YqrK/k8AFUw5llSngDk71jGr9jnvkNXDgBEP6gyS24s6aktGlXScWgZ+TmiEkqj b5+MpRx7tcoYeRLlJl8sC9O8lbE6zIIcaIZLW0KXSnLVjc99WMDODL/hio+duwQOUWrc +T8g0pczaTNhBcnUZpm0eBryGTCZ1uKeyWEPyinF/eEepp0xw7pS7/nPF/1MXP32FpUn ns5w== 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 bx3si174576ejb.709.2020.10.22.22.33.04; Thu, 22 Oct 2020 22:33:26 -0700 (PDT) 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 S371737AbgJVUdB (ORCPT + 99 others); Thu, 22 Oct 2020 16:33:01 -0400 Received: from mx2.suse.de ([195.135.220.15]:56600 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S368681AbgJVUdB (ORCPT ); Thu, 22 Oct 2020 16:33:01 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 60F36AE39; Thu, 22 Oct 2020 20:32:58 +0000 (UTC) Date: Thu, 22 Oct 2020 21:32:55 +0100 From: Mel Gorman To: "Rafael J. Wysocki" Cc: Phil Auld , Colin Ian King , Peter Zijlstra , "Rafael J. Wysocki" , Giovanni Gherdovich , Viresh Kumar , Julia Lawall , Ingo Molnar , kernel-janitors@vger.kernel.org, Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Daniel Bristot de Oliveira , Linux Kernel Mailing List , Valentin Schneider , Gilles Muller , Srinivas Pandruvada , Linux PM , Len Brown Subject: Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core Message-ID: <20201022203255.GN32041@suse.de> References: <1603211879-1064-1-git-send-email-Julia.Lawall@inria.fr> <34115486.YmRjPRKJaA@kreacher> <20201022120213.GG2611@hirez.programming.kicks-ass.net> <1790766.jaFeG3T87Z@kreacher> <20201022122949.GW2628@hirez.programming.kicks-ass.net> <20201022145250.GK32041@suse.de> <6606e5f4-3f66-5844-da02-5b11e1464be6@canonical.com> <20201022151200.GC92942@lorien.usersys.redhat.com> <20201022163509.GM32041@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 22, 2020 at 07:59:43PM +0200, Rafael J. Wysocki wrote: > > > Agreed. I'd like the option to switch back if we make the default change. > > > It's on the table and I'd like to be able to go that way. > > > > > > > Yep. It sounds chicken, but it's a useful safety net and a reasonable > > way to deprecate a feature. It's also useful for bug creation -- User X > > running whatever found that schedutil is worse than the old governor and > > had to temporarily switch back. Repeat until complaining stops and then > > tear out the old stuff. > > > > When/if there is a patch setting schedutil as the default, cc suitable > > distro people (Giovanni and myself for openSUSE). > > So for the record, Giovanni was on the CC list of the "cpufreq: > intel_pstate: Use passive mode by default without HWP" patch that this > discussion resulted from (and which kind of belongs to the above > category). > Oh I know, I did not mean to suggest that you did not. He made people aware that this was going to be coming down the line and has been looking into the "what if schedutil was the default" question. AFAIK, it's still a work-in-progress and I don't know all the specifics but he knows more than I do on the topic. I only know enough that if we flipped the switch tomorrow that we could be plagued with google searches suggesting it be turned off again just like there is still broken advice out there about disabling intel_pstate for usually the wrong reasons. The passive patch was a clear flag that the intent is that schedutil will be the default at some unknown point in the future. That point is now a bit closer and this thread could have encouraged a premature change of the default resulting in unfair finger pointing at one company's test team. If at least two distos check it out and it still goes wrong, at least there will be shared blame :/ > > Other distros assuming they're watching can nominate their own victim. > > But no other victims had been nominated at that time. We have one, possibly two if Phil agrees. That's better than zero or unfairly placing the full responsibility on the Intel guys that have been testing it out. -- Mel Gorman SUSE Labs