mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 14:04:05 +08:00
sched: tweak wakeup granularity
tweak wakeup granularity. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
1e81995066
commit
155bb293ae
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user