* 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.)