mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] CFS: comment update: default latency and granularity
@ 2010-10-14  7:09 Takuya Yoshikawa
  2010-10-14  7:42 ` [tip:sched/core] sched: Comment updates: fix default latency and granularity numbers tip-bot for Takuya Yoshikawa
  0 siblings, 1 reply; 2+ messages in thread
From: Takuya Yoshikawa @ 2010-10-14  7:09 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

Hi, Ingo

Please update the comments about default values of CFS parameters.

Thanks,
  Takuya

===
Targeted preemption latency and minimal preemption granularity for CPU-bound
tasks have already changed.

This patch updates the comments about these values.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
---
 kernel/sched_fair.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index db3f674..4183f41 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -25,7 +25,7 @@
 
 /*
  * Targeted preemption latency for CPU-bound tasks:
- * (default: 5ms * (1 + ilog(ncpus)), units: nanoseconds)
+ * (default: 6ms * (1 + ilog(ncpus)), units: nanoseconds)
  *
  * NOTE: this latency value is not the same as the concept of
  * 'timeslice length' - timeslices in CFS are of variable length
@@ -52,7 +52,7 @@ enum sched_tunable_scaling sysctl_sched_tunable_scaling
 
 /*
  * Minimal preemption granularity for CPU-bound tasks:
- * (default: 2 msec * (1 + ilog(ncpus)), units: nanoseconds)
+ * (default: 0.75 msec * (1 + ilog(ncpus)), units: nanoseconds)
  */
 unsigned int sysctl_sched_min_granularity = 750000ULL;
 unsigned int normalized_sysctl_sched_min_granularity = 750000ULL;
-- 
1.7.0.4


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

end of thread, other threads:[~2010-10-14  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-14  7:09 [PATCH] CFS: comment update: default latency and granularity Takuya Yoshikawa
2010-10-14  7:42 ` [tip:sched/core] sched: Comment updates: fix default latency and granularity numbers tip-bot for Takuya Yoshikawa

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

Powered by JetHome