浏览代码

sched: tweak wakeup granularity

tweak wakeup granularity.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 18 年之前
父节点
当前提交
155bb293ae
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      kernel/sched_fair.c

+ 4 - 4
kernel/sched_fair.c

@@ -58,23 +58,23 @@ unsigned int __read_mostly sysctl_sched_compat_yield;
 
 
 /*
 /*
  * SCHED_BATCH wake-up granularity.
  * SCHED_BATCH wake-up granularity.
- * (default: 25 msec, units: nanoseconds)
+ * (default: 10 msec, units: nanoseconds)
  *
  *
  * This option delays the preemption effects of decoupled workloads
  * This option delays the preemption effects of decoupled workloads
  * and reduces their over-scheduling. Synchronous workloads will still
  * and reduces their over-scheduling. Synchronous workloads will still
  * have immediate wakeup/sleep latencies.
  * have immediate wakeup/sleep latencies.
  */
  */
-const_debug unsigned int sysctl_sched_batch_wakeup_granularity = 25000000UL;
+const_debug unsigned int sysctl_sched_batch_wakeup_granularity = 10000000UL;
 
 
 /*
 /*
  * SCHED_OTHER wake-up granularity.
  * SCHED_OTHER wake-up granularity.
- * (default: 1 msec, units: nanoseconds)
+ * (default: 10 msec, units: nanoseconds)
  *
  *
  * This option delays the preemption effects of decoupled workloads
  * This option delays the preemption effects of decoupled workloads
  * and reduces their over-scheduling. Synchronous workloads will still
  * and reduces their over-scheduling. Synchronous workloads will still
  * have immediate wakeup/sleep latencies.
  * have immediate wakeup/sleep latencies.
  */
  */
-const_debug unsigned int sysctl_sched_wakeup_granularity = 2000000UL;
+const_debug unsigned int sysctl_sched_wakeup_granularity = 10000000UL;
 
 
 /**************************************************************
 /**************************************************************
  * CFS operations on generic schedulable entities:
  * CFS operations on generic schedulable entities: