Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5791710pxu; Thu, 22 Oct 2020 11:07:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwH7RsbGYGdZwru05NY0A+dEL59YaTfXSBChceXWRzKZyzyZUKMsBNl1NqpjxZj3qPkGBt X-Received: by 2002:a17:906:3b8f:: with SMTP id u15mr1145526ejf.348.1603390023506; Thu, 22 Oct 2020 11:07:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603390023; cv=none; d=google.com; s=arc-20160816; b=Kfxq8EwiQjUvDBNSVTuAIVVmsY+wVUSQf5PJKkXKICgZJIyzb4XCJCMIXyzR2nzFu7 Q6//x7c73JBYCsfoyGrQ6gWMork2X1PGrvLGFZM8sH386lzfKjv3fYTs89zxyyQy+dcC vx5Zdh4HMswtdNhxsjDLhKa/vIfs/PEJD3zE+sbny+VaWbx/TTGPMi93d44apDawUYYm /b72I9eSH8BTaK0kT/XVD4eHijq2vBe+C4PX7/BgNidDdb106+0yZf19inJGIIq8ACWT d7pH+A/ffULt+YiL45zh1AeOMfU6nh0V8JlCUatlMrdOO7C97TwWCTPczLHn+hzKI63f Chhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:subject :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=XRec2U5eYGvILEmLb+y88PRCaN5teKnHukURga4/B+k=; b=Juzqfk5B25O4KiRaoqduzMqap1+zaLTv/IWwTrMaVCK8uuDaaei0vCHkzg2UxNTl92 HMBRXksJa2EzQnrcUhjsjpHfdQjqFn5Mhs/izoRJV0lK4sIK6Y0h2cKTJJvqBZ+CvN1F Xwv+sSHaDq9okWrzCF+fWVDeVxHVdC17MRo9EBYPeMmX1P+sRuLnocZn2lGFaEG6Bw9Y 2hsw6o0U65NYcgx6xdTni7bLfhPQstJClc94TMHEMkHEi4hMjk+uUutRljOsCo5eGVlS 6Co9bYyS/eqIiSjvaiNiyoAafya8El763Rv+qbgIHr/em8vFdtwoRkXnU7qkQ7JVExWS +utQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lechevalier.se header.s=20191106 header.b="Ao5/OEbE"; 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 bu23si1343206ejb.83.2020.10.22.11.06.41; Thu, 22 Oct 2020 11:07:03 -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; dkim=pass header.i=@lechevalier.se header.s=20191106 header.b="Ao5/OEbE"; 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 S2508876AbgJVQBX (ORCPT + 99 others); Thu, 22 Oct 2020 12:01:23 -0400 Received: from mailrelay4-3.pub.mailoutpod1-cph3.one.com ([46.30.212.13]:19403 "EHLO mailrelay4-3.pub.mailoutpod1-cph3.one.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2505808AbgJVQBX (ORCPT ); Thu, 22 Oct 2020 12:01:23 -0400 X-Greylist: delayed 963 seconds by postgrey-1.27 at vger.kernel.org; Thu, 22 Oct 2020 12:01:22 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lechevalier.se; s=20191106; h=content-transfer-encoding:content-type:mime-version:subject:references: in-reply-to:message-id:cc:to:from:date:from; bh=XRec2U5eYGvILEmLb+y88PRCaN5teKnHukURga4/B+k=; b=Ao5/OEbE7FDGb3RZCsiPIywHCoKzQuXvOsrjtf+kvGRB/VGJE7DuLjORhMGHnzCGIsPka3kvB7VLo kCTV1DkCXdNcH6y3M41jFA018P94ybVlpfHXkV047ShinzMGBKdBd2v8gmKBbCDenTIWuWArWIHevS 3pv+DjvhH4MO8H+iz3hJUipXYM7N6WaOVsi1rTOc77/+JTELtCpHeFdRd6XKQQCfokpp01iKkLgz5G ddiCqJ5TtFmscdACO7HZgY70It3M+Mu6UNbtKNw5ppGVOjCJkuGRyJ/1vMlgt7AaBFCGY6rvZ8PJb/ eDT75u4i4JAXDibrdjxTfnEBVPesOBw== X-HalOne-Cookie: 2816d18605ed82bcd4258802d7e8eb9d56193e05 X-HalOne-ID: 92fca5d1-147d-11eb-bb75-d0431ea8bb10 Received: from [192.168.0.126] (h-131-138.a357.priv.bahnhof.se [81.170.131.138]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 92fca5d1-147d-11eb-bb75-d0431ea8bb10; Thu, 22 Oct 2020 15:45:16 +0000 (UTC) Date: Thu, 22 Oct 2020 17:45:11 +0200 (GMT+02:00) From: A L 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 Message-ID: In-Reply-To: <20201022122949.GW2628@hirez.programming.kicks-ass.net> 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> Subject: Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Mailer: R2Mail2 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ---- From: Peter Zijlstra -- Sent: 2020-10-22 - 14:2= 9 ---- > 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. >>=20 >> I agree in general, but IMO it would not be prudent to do that without m= aking >> schedutil provide the same level of performance in all of the relevant u= se >> cases. >=20 > Agreed; I though to have understood we were there already. Hi,=20 Currently schedutil does not populate all stats like ondemand does, which c= an be a problem for some monitoring software.=20 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=20 I'd really like to have these stats populated with schedutil, if that's pos= sible. Thanks.=20