提交 505c0efd 编写于 作者: I 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: NIngo Molnar <mingo@elte.hu>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册