ANDROID: Combined EAS Load Balance Tweaks
Contains: ANDROID: sched/fair: Reduce balance interval to 1 jiffy if we have a misfit task It is quite a common occurrence that we have a misfit task (a task running on a CPU which is close to the capacity limit of that CPU) in the system AND we have recently done a load balance operation. Normal load-balance rate limiting means we can leave those tasks on the restrictive CPU for a few hundred ms before we move them. Inspired by the work Leo Yan did on balancing misfits. This patch reduces the balance interval to one jiffy when there are such tasks running. There appears to be no impact on interactive performance from this patch. ANDROID: sched/fair: kick nohz idle balance for misfit task If there have misfit task on one CPU, current code does not handle this situation for nohz idle balance. As result, we can see the misfit task stays run on little core for long time. So this patch check if the CPU has misfit task or not. If has misfit task then kick nohz idle balance so finally can execute active balance. Change-Id: I117d3b7404296f8de11cb960a87a6b9a54a9f348 Signed-off-by: Leo Yan <leo.yan at linaro.org> [taken from https://lists.linaro.org/pipermail/eas-dev/2016-September/000551.html ] Signed-off-by:Chris Redpath <chris.redpath@arm.com> Signed-off-by:
Patrick Bellasi <patrick.bellasi@arm.com> ANDROID: sched: EAS: kill incorrect nohz idle cpu kick EAS won't allow NOHZ idle balancer until CPU's over utilized. However nohz_kick_needed() can return true. This causes idle CPU wake up for nothing. Change-Id: I6e548442e29e4f85cda695e4c7101dd591b12fe6 Signed-off-by:
Joonwoo Park <joonwoop@codeaurora.org> (merge conflicts) Signed-off-by:
Chris Redpath <chris.redpath@arm.com> Change-Id: I71d74734d3bd6bca80476c0f466ba48914b7ac02 Signed-off-by:
Chris Redpath <chris.redpath@arm.com>
Loading
Please register or sign in to comment