On Wed, 3 Nov 2021, Stuart Henderson wrote:

> > See also https://en.wikichip.org/wiki/race-to-sleep - it's generally
> > more energy efficient to run the CPU at full speed so it can finish its
> > work faster and get back to a low-power state sooner
> 
> So there's not really any point in doing this scaling on laptops either
> then, and it could be counterproductive? Would it actually be better for
> the decision to be "has mwait or an alternative mechanism on other arches"
> and only if that's absent consider whether it has ac power?

It really depends on the workload. If you're compiling something then
going full tilt and then sleeping would probably be better, if you've
got a web browser running JS in the background then maybe cpufreq
scaling will win...

-d

Reply via email to