Skip to contentSkip to conversation

sched/Documentation: Modify the knob to base_slice_ns

PATCH Applied Shrikanth Hegde 2 participants 2 messages Aug 24, 2023 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/Documentation: Modify the knob to base_slice_ns

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")
---
 Documentation/scheduler/sched-design-CFS.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/scheduler/sched-design-CFS.rst +1 -1
index 03db55504515..f68919800f05 100644
@@ -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

#1 lore raw

[tip: sched/core] sched/eevdf/doc: Modify the documented knob to base_slice_ns as well

The following commit has been merged into the sched/core branch of tip:

The following commit has been merged into the sched/core branch of tip:

Commit-ID:     2f88c8e802c8b128a155976631f4eb2ce4f3c805
Gitweb:        https://git.kernel.org/tip/2f88c8e802c8b128a155976631f4eb2ce4f3c805
Author:        Shrikanth Hegde <[email protected]>
AuthorDate:    Thu, 24 Aug 2023 13:33:42 +05:30
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Thu, 24 Aug 2023 21:31:57 +02:00

sched/eevdf/doc: Modify the documented knob to base_slice_ns as well

After committing the scheduler to EEVDF, we renamed the 'min_granularity_ns' sysctl to 'base_slice_ns':

e4ec3318a17f ("sched/debug: Rename sysctl_sched_min_granularity to sysctl_sched_base_slice")

... but we forgot to rename it in the documentation. Do that now.

Fixes e4ec3318a17f ("sched/debug: Rename sysctl_sched_min_granularity to sysctl_sched_base_slice")
Cc Peter Zijlstra <[email protected]>
---
 Documentation/scheduler/sched-design-CFS.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/scheduler/sched-design-CFS.rst +1 -1
index 03db555..f689198 100644
@@ -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