From: Ingo Molnar Date: Mon, 15 Oct 2007 15:00:13 +0000 (+0200) Subject: sched: tweak wakeup granularity X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=155bb293ae8387526e6e07d42b1691104e55d9a2;p=deliverable%2Flinux.git sched: tweak wakeup granularity tweak wakeup granularity. Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index fa78686ec227..0856701db14e 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c @@ -58,23 +58,23 @@ unsigned int __read_mostly sysctl_sched_compat_yield; /* * SCHED_BATCH wake-up granularity. - * (default: 25 msec, units: nanoseconds) + * (default: 10 msec, units: nanoseconds) * * This option delays the preemption effects of decoupled workloads * and reduces their over-scheduling. Synchronous workloads will still * 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. - * (default: 1 msec, units: nanoseconds) + * (default: 10 msec, units: nanoseconds) * * This option delays the preemption effects of decoupled workloads * and reduces their over-scheduling. Synchronous workloads will still * 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: