Skip to content

Commit

Permalink
sched: tweak wakeup granularity
Browse files Browse the repository at this point in the history
tweak wakeup granularity.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Oct 15, 2007
1 parent 1e81995 commit 155bb29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 155bb29

Please sign in to comment.