aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 11:00:13 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:13 -0400
commit155bb293ae8387526e6e07d42b1691104e55d9a2 (patch)
treedefc638aae11c729d4ffe53b7a56d242bd54ff80 /kernel/sched_fair.c
parent1e819950660e6a811b549422ffb652273257e45e (diff)
sched: tweak wakeup granularity
tweak wakeup granularity. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c8
1 files changed, 4 insertions, 4 deletions
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;
58 58
59/* 59/*
60 * SCHED_BATCH wake-up granularity. 60 * SCHED_BATCH wake-up granularity.
61 * (default: 25 msec, units: nanoseconds) 61 * (default: 10 msec, units: nanoseconds)
62 * 62 *
63 * This option delays the preemption effects of decoupled workloads 63 * This option delays the preemption effects of decoupled workloads
64 * and reduces their over-scheduling. Synchronous workloads will still 64 * and reduces their over-scheduling. Synchronous workloads will still
65 * have immediate wakeup/sleep latencies. 65 * have immediate wakeup/sleep latencies.
66 */ 66 */
67const_debug unsigned int sysctl_sched_batch_wakeup_granularity = 25000000UL; 67const_debug unsigned int sysctl_sched_batch_wakeup_granularity = 10000000UL;
68 68
69/* 69/*
70 * SCHED_OTHER wake-up granularity. 70 * SCHED_OTHER wake-up granularity.
71 * (default: 1 msec, units: nanoseconds) 71 * (default: 10 msec, units: nanoseconds)
72 * 72 *
73 * This option delays the preemption effects of decoupled workloads 73 * This option delays the preemption effects of decoupled workloads
74 * and reduces their over-scheduling. Synchronous workloads will still 74 * and reduces their over-scheduling. Synchronous workloads will still
75 * have immediate wakeup/sleep latencies. 75 * have immediate wakeup/sleep latencies.
76 */ 76 */
77const_debug unsigned int sysctl_sched_wakeup_granularity = 2000000UL; 77const_debug unsigned int sysctl_sched_wakeup_granularity = 10000000UL;
78 78
79/************************************************************** 79/**************************************************************
80 * CFS operations on generic schedulable entities: 80 * CFS operations on generic schedulable entities: