[PATCH] sched/Documentation: Modify the knob to base_slice_ns

From: Shrikanth Hegde
Date: Thu Aug 24 2023 - 04:06:34 EST


After committing scheduler to EEVDF, since
commit e4ec3318a17f ("sched/debug: Rename sysctl_sched_min_granularity
to sysctl_sched_base_slice") sysctl has been changed. In the documentation
its mentioned that its one of the central tunable available for feed into
the scheduler. This changes the doc as well.

Fixes: e4ec3318a17f ("sched/debug: Rename sysctl_sched_min_granularity to sysctl_sched_base_slice")
Signed-off-by: Shrikanth Hegde <sshegde@xxxxxxxxxxxxxxxxxx>
---
Documentation/scheduler/sched-design-CFS.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/scheduler/sched-design-CFS.rst b/Documentation/scheduler/sched-design-CFS.rst
index 03db55504515..f68919800f05 100644
--- a/Documentation/scheduler/sched-design-CFS.rst
+++ b/Documentation/scheduler/sched-design-CFS.rst
@@ -94,7 +94,7 @@ other HZ detail. Thus the CFS scheduler has no notion of "timeslices" in the
way the previous scheduler had, and has no heuristics whatsoever. There is
only one central tunable (you have to switch on CONFIG_SCHED_DEBUG):

- /sys/kernel/debug/sched/min_granularity_ns
+ /sys/kernel/debug/sched/base_slice_ns

which can be used to tune the scheduler from "desktop" (i.e., low latencies) to
"server" (i.e., good batching) workloads. It defaults to a setting suitable
--
2.31.1