diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2013-07-23 11:15:06 +0200 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2013-10-17 22:11:03 +0200 |
commit | 6cd288fa2f4ca4887705fbf48718f12d09a4ac5d (patch) | |
tree | 8d284b5306f61f20571d018f18bee85cea08a2e3 /lib/decompress_bunzip2.c | |
parent | aff0c477fde9e6a3db6a3fdeb861b165e9595929 (diff) |
sched: differantiate idle cpu
The cost for waking up of a core varies according to its current idle state.
This includes C-state and intermediate state when some sync between cores is
required to reach a deep C-state.
Waking up a CPU in a deep C-state for running a short task is not efficient
from both a power and a performance point of view. We should take into account
the wake up latency of an idle CPU when the scheduler looks for the best CPU
to use for a waking task.
The wake up latency of a CPU is computed into a load that can be directly
compared with task load and other CPUs load.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'lib/decompress_bunzip2.c')
0 files changed, 0 insertions, 0 deletions