diff options
author | Patrick Bellasi <patrick.bellasi@arm.com> | 2015-06-22 18:11:44 +0100 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2015-08-10 17:56:59 +0200 |
commit | c0a8cef6c3d8cab6c569fa7649c8fad804bb7b9c (patch) | |
tree | 1ee482dcb34f79394918023a876a3e93eaece38d /samples | |
parent | 8d7f38ce66b2bf51d478c4e3dd2141c88fdd1c8a (diff) |
WIP: sched/tune: add sysctl interface to define a boost value
The energy-aware scheduler extension has been designed to exploit an
energy model to support an energy efficient allocation of tasks on available
CPUs. The main goal of the current implementation is to schedule
tasks in such a way to minimise the expected system energy while still
meeting the requirements of tasks in terms of computational demand.
Thus, the current implementation does not allow "to boost" tasks performances,
for example by running them at an higher OPP (or a more capable CPU), even
if that could require a "reasonable" increase in energy consumption.
To support tasks performance boosting, while still operating in energy-aware
mode, the scheduler should to provide a "knob" which allows to tune how
much the system is going to be optimised for energy efficiency vs performances.
This patch is the first of a series which provides a simple sysctl based
interface to define an EAS tuning knob.
For the time being, just one system-wide "boost" tunable is exposed via:
/proc/sys/kernel/sched_cfs_boost
which can be configured in the range [0..100], to define a percentage
where:
- 0% boost requires to operate in "standard" EAS mode by scheduling
tasks at the minimum capacities required by the workload demand
- 100% boost requires to push at maximum the task performances,
"regardless" of the incurred energy consumption
A boost value in between these two boundaries is used to bias the
power/performance trade-off, the higher the boost value the more the
EAS scheduler is biased toward performance boosting instead of energy
efficiency.
Change-Id: I1fb22390aee04e8f1a55a9f30db505d9040ec693
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions