Sched load balance backport
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | sched: restore __cpu_power to a straight sum of powerkernel/ | +12 | 0 replies | |
| 2/17 | sched: SD_PREFER_SIBLINGinclude/ kernel/ | +28 | 0 replies | |
| 3/17 | sched: update the cpu_power sum during load-balancekernel/ | +29 | 0 replies | |
| 4/17 | sched: add smt_gaininclude/ include/ kernel/ | +9 | 0 replies | |
| 5/17 | sched: dynamic cpu_powerkernel/ | +35 | 0 replies | |
| 6/17 | sched: scale down cpu_power due to RT tasksinclude/ kernel/ kernel/ +1 more | +72 | 0 replies | |
| 7/17 | sched: try to deal with low capacitykernel/ | +29 | 0 replies | |
| 8/17 | sched: remove reciprocal for cpu_powerinclude/ kernel/ | +36 | 0 replies | |
| 9/17 | x86: move APERF/MPERF into a X86_FEATUREarch/ arch/ arch/ | +9 | 0 replies | |
| 10/17 | x86: Add generic aperf/mperf codearch/ arch/ | +39 | 0 replies | |
| 11/17 | Provide an arch specific hook for cpufreq based scaling of cpu_power.kernel/ | +19 | 0 replies | |
| 12/17 | x86: sched: provide arch implementations using aperf/mperfarch/ arch/ include/ | +63 | 0 replies | |
| 13/17 | sched: cleanup wake_idle power savingkernel/ | +39 | 0 replies | |
| 14/17 | sched: cleanup wake_idlekernel/ | +29 | 0 replies | |
| 15/17 | sched: Add a missing =kernel/ | +1 | 0 replies | |
| 16/17 | sched: Deal with low-load in wake_affine()kernel/ | +11 | 0 replies | |
| 17/17 | sched: Fix dynamic power-balancing crashkernel/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch -rt 00/17] [patch -rt] Sched load balance backport
Problem: The current -rt, 2.6.31.4-rt14, has several load balancing issues. It can easily be seen with dbench running with the same number of processes as the number of cpus on a SMP system. The dbench threads are running as SCHED_OTHER processes. Several threads end up running on the same cpu even though other cpus are idling. This results in severe throughput regression.
Peter Zijlstra posted several load balance patches meant for mainline a while ago. The following patch series is a backport of the same to 2.6.31.4-rt14. Peter's original patches can be found at
http://marc.info/?l=linux-kernel&m=125198436208787&w=2
Patches 1 through 14 are backports of the original patches except patch 10 which has the original code + bug fixes. Patches 15 - 17 are various relevant fixes that have gone on top of the original patches.
With these patches, load balancing improves considerably on -rt. However it does not completely resolve the problem. This is still under investigation.
This has been stress tested on x86_64 and i686
-Dinakar
--