ANDROID: sched/fair: Attempt to improve throughput for asym cap systems
In some systems the capacity and group weights line up to defeat all the small imbalance correction conditions in fix_small_imbalance, which can cause bad task placement. Add a new condition if the existing code can't see anything to fix: If we have asymmetric capacity, and there are more tasks than CPUs in the busiest group *and* there are less tasks than CPUs in the local group then we try to pull something. There could be transient small tasks which prevent this from working, but on the whole it is beneficial for those systems with inconvenient capacity/cluster size relationships. Change-Id: Icf81cde215c082a61f816534b7990ccb70aee409 Signed-off-by:Chris Redpath <chris.redpath@arm.com> Git-commit: 92f1c4fa958a0f01dd35408c08b489f046e8b68c Git-repo: https://android.googlesource.com/kernel/common/ Signed-off-by:
Runmin Wang <runminw@codeaurora.org>
Loading
Please register or sign in to comment