From mboxrd@z Thu Jan 1 00:00:00 1970 From: A L Date: Thu, 22 Oct 2020 15:45:11 +0000 Subject: Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core Message-Id: List-Id: 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> In-Reply-To: <20201022122949.GW2628@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Peter Zijlstra , "Rafael J. Wysocki" Cc: 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, Linux PM , Len Brown ---- From: Peter Zijlstra -- Sent: 2020-10-22 - 14:29 ---- > On Thu, Oct 22, 2020 at 02:19:29PM +0200, Rafael J. Wysocki wrote: >> > However I do want to retire ondemand, conservative and also very much >> > intel_pstate/active mode. >> >> I agree in general, but IMO it would not be prudent to do that without making >> schedutil provide the same level of performance in all of the relevant use >> cases. > > Agreed; I though to have understood we were there already. Hi, Currently schedutil does not populate all stats like ondemand does, which can be a problem for some monitoring software. On my AMD 3000G CPU with kernel-5.9.1: grep. /sys/devices/system/cpu/cpufreq/policy0/stats/* With ondemand: time_in_state:3900000 145179 time_in_state:1600000 9588482 total_trans:177565 trans_table: From : To trans_table: : 3900000 1600000 trans_table: 3900000: 0 88783 trans_table: 1600000: 88782 0 With schedutil only two file exists: reset: total_trans:216609 I'd really like to have these stats populated with schedutil, if that's possible. Thanks.