Re: [RFC PATCH v2 0/1] cpuidle: teo: Introduce optional util-awareness
From: Doug Smythies
Date: Thu Oct 06 2022 - 20:07:15 EST
On Mon, Oct 3, 2022 at 7:49 AM Kajetan Puchalski
<kajetan.puchalski@xxxxxxx> wrote:
>
> Hi,
>
> At the moment, all the available idle governors operate mainly based on their own past performance
> without taking into account any scheduling information.
...
I tried V2 on my Intel i5-10600K, but there was little difference when
compared to V1 in terms of enormous increase in processor power
consumption for the periodic type tests I ran. However, sometimes the
power use would drop down to comparable to the normal teo or menu
governors for a short time, which V1 didn't do.
I would suggest a completely new governor for your
only 2 idle states, and of similar power use, scenario.
Incredibly simple:
If CPU utilization >= threshold
select idle state 0
Else
Select idle state 1
Endif
As previously mentioned, you are overriding
everything that teo does anyhow.
Note to other readers: I also sent Kajetan an off-list email with more
tests descriptions and web links to results graphs and such.
... Doug