mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched/Documentation: Modify the knob to base_slice_ns
@ 2023-08-24  8:03 Shrikanth Hegde
  2023-08-24 20:12 ` [tip: sched/core] sched/eevdf/doc: Modify the documented knob to base_slice_ns as well tip-bot2 for Shrikanth Hegde
  0 siblings, 1 reply; 2+ messages in thread
From: Shrikanth Hegde @ 2023-08-24  8:03 UTC (permalink / raw)
  To: peterz, vincent.guittot, mingo
  Cc: sshegde, srikar, linux-kernel, dietmar.eggemann, mingo,
	lukasz.luba, claudio

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@linux.vnet.ibm.com>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: sched/core] sched/eevdf/doc: Modify the documented knob to base_slice_ns as well
  2023-08-24  8:03 [PATCH] sched/Documentation: Modify the knob to base_slice_ns Shrikanth Hegde
@ 2023-08-24 20:12 ` tip-bot2 for Shrikanth Hegde
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Shrikanth Hegde @ 2023-08-24 20:12 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Shrikanth Hegde, Ingo Molnar, Peter Zijlstra, x86, linux-kernel

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 <sshegde@linux.vnet.ibm.com>
AuthorDate:    Thu, 24 Aug 2023 13:33:42 +05:30
Committer:     Ingo Molnar <mingo@kernel.org>
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")
Signed-off-by: Shrikanth Hegde <sshegde@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230824080342.543396-1-sshegde@linux.vnet.ibm.com
---
 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 03db555..f689198 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-24 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-24  8:03 [PATCH] sched/Documentation: Modify the knob to base_slice_ns Shrikanth Hegde
2023-08-24 20:12 ` [tip: sched/core] sched/eevdf/doc: Modify the documented knob to base_slice_ns as well tip-bot2 for Shrikanth Hegde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®