sched: remove HZ dependency from the granularity default
remove HZ dependency from the granularity default. Use 10 msec for the base granularity, 1 msec for wakeup granularity and 25 msec for batch wakeup granularity. (These defaults are close to the values that the default HZ=250 setting got previously, and thus it's the most common setting.) Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -4923,7 +4923,7 @@ static inline void sched_init_granularity(void)
|
||||
if (sysctl_sched_granularity > gran_limit)
|
||||
sysctl_sched_granularity = gran_limit;
|
||||
|
||||
sysctl_sched_runtime_limit = sysctl_sched_granularity * 8;
|
||||
sysctl_sched_runtime_limit = sysctl_sched_granularity * 5;
|
||||
sysctl_sched_wakeup_granularity = sysctl_sched_granularity / 2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user