diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-05-05 15:50:21 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-05 18:07:57 (GMT) |
commit | 60aa605dfce2976e54fa76e805ab0f221372d4d9 (patch) | |
tree | 097a6ddd4127039f79e36a2e9100b653551d997d /Documentation/scheduler/sched-rt-group.txt | |
parent | 6e29ec5701e9d44fa02b96c1c5c45f7516182b65 (diff) | |
download | linux-60aa605dfce2976e54fa76e805ab0f221372d4d9.tar.xz |
sched: rt: document the risk of small values in the bandwidth settings
Thomas noted that we should disallow sysctl_sched_rt_runtime == 0 for
(!RT_GROUP) since the root group always has some RT tasks in it.
Further, update the documentation to inspire clue.
[ Impact: exclude corner-case sysctl_sched_rt_runtime value ]
Reported-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090505155436.863098054@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/scheduler/sched-rt-group.txt')
-rw-r--r-- | Documentation/scheduler/sched-rt-group.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/scheduler/sched-rt-group.txt b/Documentation/scheduler/sched-rt-group.txt index 5ba4d3f..eb74b01 100644 --- a/Documentation/scheduler/sched-rt-group.txt +++ b/Documentation/scheduler/sched-rt-group.txt @@ -4,6 +4,7 @@ CONTENTS ======== +0. WARNING 1. Overview 1.1 The problem 1.2 The solution @@ -14,6 +15,23 @@ CONTENTS 3. Future plans +0. WARNING +========== + + Fiddling with these settings can result in an unstable system, the knobs are + root only and assumes root knows what he is doing. + +Most notable: + + * very small values in sched_rt_period_us can result in an unstable + system when the period is smaller than either the available hrtimer + resolution, or the time it takes to handle the budget refresh itself. + + * very small values in sched_rt_runtime_us can result in an unstable + system when the runtime is so small the system has difficulty making + forward progress (NOTE: the migration thread and kstopmachine both + are real-time processes). + 1. Overview =========== |