Re: [PATCH v10 10/15] sched: Introduce a sysctl for Energy Aware Scheduling
From: Peter Zijlstra
Date: Thu Dec 13 2018 - 09:04:32 EST
On Tue, Dec 11, 2018 at 02:49:01PM +0000, Quentin Perret wrote:
> Hi Ingo,
>
> On Tuesday 11 Dec 2018 at 15:15:09 (+0100), Ingo Molnar wrote:
> >
> > * Quentin Perret <quentin.perret@xxxxxxx> wrote:
> >
> > > In its current state, Energy Aware Scheduling (EAS) starts automatically
> > > on asymmetric platforms having an Energy Model (EM). However, there are
> > > users who want to have an EM (for thermal management for example), but
> > > don't want EAS with it.
> >
> > Well, then introduce a new Kconfig variant for EAS, if it's super
> > important to allow this to be disabled.
> >
> > Why do we want to disable it - is it not reliable in some circumstances?
>
> There are people out there using big.little systems who do not care
> about energy. Not very many of them, that is true, but they exist. And
> those people can be interested in having an Energy Model for
> IPA/thermal but also want to spread tasks to minimize latency for
> example. So those guys will appreciate a knob, I think. Otherwise EAS
> gets enabled/disabled only by side effects (by enabling/disabling
> schedutil for example).
Right, also we have a sysctl for numa-balancing, I figured having one
for eas would not be weird.