Commit 505c0efd authored by Ingo Molnar's avatar Ingo Molnar

sched: tweak the sched_runtime_limit tunable

Michael Gerdau reported reniced task CPU usage weirdnesses.
Such symptoms can be caused by limit underruns so double the
sched_runtime_limit.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f549da84
...@@ -4923,7 +4923,7 @@ static inline void sched_init_granularity(void) ...@@ -4923,7 +4923,7 @@ static inline void sched_init_granularity(void)
if (sysctl_sched_granularity > gran_limit) if (sysctl_sched_granularity > gran_limit)
sysctl_sched_granularity = gran_limit; sysctl_sched_granularity = gran_limit;
sysctl_sched_runtime_limit = sysctl_sched_granularity * 4; sysctl_sched_runtime_limit = sysctl_sched_granularity * 8;
sysctl_sched_wakeup_granularity = sysctl_sched_granularity / 2; sysctl_sched_wakeup_granularity = sysctl_sched_granularity / 2;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment