Messages in this thread | | | Date | Fri, 18 Apr 2014 10:09:51 +0200 | From | Ingo Molnar <> | Subject | Re: [RFC PATCHC 3/3] sched/fair: use the idle state info to choose the idlest cpu |
| |
* Daniel Lezcano <daniel.lezcano@linaro.org> wrote:
> On 04/17/2014 04:47 PM, Peter Zijlstra wrote: > >On Thu, Apr 17, 2014 at 03:53:32PM +0200, Daniel Lezcano wrote: > >>Concerning the policy, I would suggest to create an entry in > >>/proc/sys/kernel/sched_power, where a couple of values could be performance > >>- power saving (0 / 1). > > > >Ingo wanted a sched_balance_policy file with 3 values: > > "performance, power, auto" > > > >Where the auto thing switches between them, initially based off of > >having AC or not. > > oh, good. Thanks !
Also, 'auto' should be the default, because the kernel doing TRT is really what users want.
Userspace can sill tweak it all and make it all user-space controlled, by flipping between 'performance' and 'power'. (and those modes are also helpful for development and debugging.)
Thanks,
Ingo
| |