Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp132766pxx; Wed, 28 Oct 2020 00:05:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8TeyiWQ6Dk/cfI+7TAZBZoV3EKhxHFCEcXxKYLBhOBiuQ2yxvCyjhnpb+hjZeZZH8Intl X-Received: by 2002:a50:8a88:: with SMTP id j8mr6295300edj.179.1603868729740; Wed, 28 Oct 2020 00:05:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603868729; cv=none; d=google.com; s=arc-20160816; b=epB4p1kRhGoAFqbLuVo8DvU+N2V1674c0L+0CYp8QKW9XvlqjZRbFJh96iU6pgJDDa USCDSsQ5yAlouLqMWMTL7togWnmC0/1x4DwbZUAZl3udpUZqIy7YTrlCer1ILZ7PkqP2 RpgG4foZbWKUpgcyEqLxh8K/unmN3mNKIGIM0q7oD5iSwsk+FO+V4CpZ7QZ7WmlYnOFu tz5pUQ33WC5SAkej2gIj11ngyr/Ao2N5U+Raf8/auoSJsyxKxoEYE78lSrcus76KtkNq iemZ6IpizDrdtFN9POu17c+VTek3S/e93BktdjMfKdbJOWCS6YVusOSHDYwtT3zlqzOO peFQ== 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; bh=wKmpcPumdt7a9kxRlyHVk+UV21AjLbNZsyjlPQt4hqI=; b=mus5oLB6NUcKJIwg5FDuaZqBXswFga1VyC4QWCBrcr993s7L7Q2NIzvhw2b5ZaK/Wy 21vWLmRNbIK65t7CxByzQTLNR2l0u0wPoJJTHOTemtrwjL1Iufy9LBEad9L00D4dVmcZ NZ/MsvZXbo4gQXhK8lNhZW68J37uxqffHOtvc7LFCXxXNmxRIUnlpcDj80G60fzcJT6w r76vbV6ME4gqHUXWn+CRtmK8Wz9/bo4Np0VIKgsh+tJp+96QCnjCErEQxTZJDYFQ9Ws/ b0EvarfzVJDttRjjSK1NRLHPb1PAyc4vUsSVt/JgVowoUGa9z8IfbMZUyVUSOScBCLsM zcaw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lg21si2721924ejb.136.2020.10.28.00.05.07; Wed, 28 Oct 2020 00:05:29 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2899028AbgJ0LLi (ORCPT + 99 others); Tue, 27 Oct 2020 07:11:38 -0400 Received: from foss.arm.com ([217.140.110.172]:38390 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2896957AbgJ0LLi (ORCPT ); Tue, 27 Oct 2020 07:11:38 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9C9AB30E; Tue, 27 Oct 2020 04:11:37 -0700 (PDT) Received: from e107158-lin (e107158-lin.cambridge.arm.com [10.1.194.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 81D973F66E; Tue, 27 Oct 2020 04:11:35 -0700 (PDT) Date: Tue, 27 Oct 2020 11:11:33 +0000 From: Qais Yousef To: Peter Zijlstra Cc: "Rafael J. Wysocki" , Viresh Kumar , Julia Lawall , Mel Gorman , Ingo Molnar , kernel-janitors@vger.kernel.org, Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, Valentin Schneider , Gilles Muller , srinivas.pandruvada@linux.intel.com Subject: Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core Message-ID: <20201027111133.ajlxn5lbnfeocfgb@e107158-lin> References: <1603211879-1064-1-git-send-email-Julia.Lawall@inria.fr> <20201022071145.GM2628@hirez.programming.kicks-ass.net> <20201022104703.nw45dwor6wfn4ity@vireshk-i7> <34115486.YmRjPRKJaA@kreacher> <20201022120213.GG2611@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201022120213.GG2611@hirez.programming.kicks-ass.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/22/20 14:02, Peter Zijlstra wrote: > On Thu, Oct 22, 2020 at 01:45:25PM +0200, Rafael J. Wysocki wrote: > > On Thursday, October 22, 2020 12:47:03 PM CEST Viresh Kumar wrote: > > > On 22-10-20, 09:11, Peter Zijlstra wrote: > > > > Well, but we need to do something to force people onto schedutil, > > > > otherwise we'll get more crap like this thread. > > > > > > > > Can we take the choice away? Only let Kconfig select which governors are > > > > available and then set the default ourselves? I mean, the end goal being > > > > to not have selectable governors at all, this seems like a good step > > > > anyway. > > > > > > Just to clarify and complete the point a bit here, the users can still > > > pass the default governor from cmdline using > > > cpufreq.default_governor=, which will take precedence over the one the > > > below code is playing with. And later once the kernel is up, they can > > > still choose a different governor from userspace. > > > > Right. > > > > Also some people simply set "performance" as the default governor and then > > don't touch cpufreq otherwise (the idea is to get everything to the max > > freq right away and stay in that mode forever). This still needs to be > > possible IMO. > > Performance/powersave make sense to keep. > > However I do want to retire ondemand, conservative and also very much > intel_pstate/active mode. I also have very little sympathy for > userspace. Userspace is useful for testing and sanity checking. Not sure if people use it to measure voltage/current at each frequency to generate dynamic-power-coefficient for their platform. Lukasz, Dietmar? Thanks -- Qais Yousef > > We should start by making it hard to use them and eventually just delete > them outright. >