Re: [RFC PATCHC 3/3] sched/fair: use the idle state info to choose the idlest cpu

From: Ingo Molnar
Date: Fri Apr 18 2014 - 04:10:53 EST



* Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/