Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core
From: Valentin Schneider
Date: Tue Oct 27 2020 - 07:26:54 EST
On 27/10/20 11:11, Qais Yousef wrote:
> On 10/22/20 14:02, Peter Zijlstra wrote:
>> 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?
>
It's valuable even just for cpufreq sanity checking - we have that test
that goes through increasing frequencies and asserts the work done is
monotonically increasing. This has been quite useful in the past to detect
broken bits.
That *should* still be totally doable with any other governor by using the
scaling_{min, max}_freq sysfs interface.
> Thanks