diff options
author | Joonwoo Park <joonwoop@codeaurora.org> | 2016-03-04 17:15:04 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:25:23 -0700 |
commit | 16ecb20600bd0aa0037217fa3033e9a03a3f3c69 (patch) | |
tree | abb69e563a8cae6c2e513aa6cc9cb194e1c23687 /Documentation/scheduler/sched-zone.txt | |
parent | 616e04a51cf13b46cbe635a1d74996b596ccb736 (diff) |
sched: restrict sync wakee placement bias with waker's demand
Biasing sync wakee task towards waker CPU's cluster makes sense when the
waker's demand is high enough so the wakee also can take advantage
of high CPU frequency voted because of waker's load. Placing sync wakee
on the low demand waker's CPU can lead placement imbalance which can
lead unnecessary migration.
Introduce a new tunable "sched_big_waker_task_load" that defines the big
waker so scheduler avoid wakee on waker's cluster bias when the waker's
load is below the tunable.
CRs-fixed: 971295
Change-Id: I1550ede0a71ac8c9be74a7daabe164c6a269a3fb
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
[joonwoop@codeaurora.org: fixed a minor conflict in
include/linux/sched/sysctl.h.]
Diffstat (limited to 'Documentation/scheduler/sched-zone.txt')
-rw-r--r-- | Documentation/scheduler/sched-zone.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/scheduler/sched-zone.txt b/Documentation/scheduler/sched-zone.txt index 54aad99d79c9..253391be357c 100644 --- a/Documentation/scheduler/sched-zone.txt +++ b/Documentation/scheduler/sched-zone.txt @@ -1292,6 +1292,17 @@ Sync wakee tasks which have demand less than sched_small_wakee_task_load are categorized as small wakee tasks. Scheduler places small wakee tasks on the waker's cluster. + +*** 7.26 sched_big_waker_task_load + +Appears at: /proc/sys/kernel/sched_big_waker_task_load + +Default value: 25 + +This tunable is a percentage. Configure the minimum demand of big sync waker +task. Scheduler places small wakee tasks woken up by big sync waker on the +waker's cluster. + ========================= 8. HMP SCHEDULER TRACE POINTS ========================= |