summaryrefslogtreecommitdiff
path: root/Documentation/scheduler
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-02-03 14:52:23 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:25:22 -0700
commit616e04a51cf13b46cbe635a1d74996b596ccb736 (patch)
tree761d16dbae445cd7a7c0e2d9947d577ad9c628f0 /Documentation/scheduler
parentb29f9a7a8403e7245ed9f939da67caa3fae7dce9 (diff)
sched: add preference for waker cluster CPU in wakee task placement
If sync wakee task's demand is small it's worth to place the wakee task on waker's cluster for better performance in the sense that waker and wakee are corelated so the wakee should take advantage of waker cluster's frequency which is voted by the waker along with cache locality benefit. While biasing towards the waker's cluster we want to avoid the waker CPU as much as possible as placing the wakee on the waker's CPU can make the waker got preempted and migrated by load balancer. Introduce a new tunable 'sched_small_wakee_task_load' that differentiates eligible small wakee task and place the small wakee tasks on the waker's cluster. CRs-fixed: 971295 Change-Id: I96897d9a72a6f63dca4986d9219c2058cd5a7916 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')
-rw-r--r--Documentation/scheduler/sched-zone.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/scheduler/sched-zone.txt b/Documentation/scheduler/sched-zone.txt
index 0af33595508d..54aad99d79c9 100644
--- a/Documentation/scheduler/sched-zone.txt
+++ b/Documentation/scheduler/sched-zone.txt
@@ -1280,6 +1280,18 @@ power-efficient cpu. We don't let it come back to a power-efficient cpu until
its demand *in reference to the power-efficient cpu* drops less than 60%
(sched_downmigrate).
+
+*** 7.26 sched_small_wakee_task_load
+
+Appears at: /proc/sys/kernel/sched_small_wakee_task_load
+
+Default value: 10
+
+This tunable is a percentage. Configure the maximum demand of small wakee task.
+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.
+
=========================
8. HMP SCHEDULER TRACE POINTS
=========================