SMP-group balancer - take 3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest30 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/30 | sched: clean up some unused variableskernel/ | +0 | 0 replies | |
| 2/30 | sched: revert the revert of: weight calculationskernel/ kernel/ kernel/ | +76 | 2 replies | |
| 3/30 | sched: fix calc_delta_asym()kernel/ kernel/ | +28 | 0 replies | |
| 4/30 | sched: fix calc_delta_asymkernel/ | +6 | 0 replies | |
| 5/30 | sched: revert revert of: fair-group: SMP-nice for group schedulinginclude/ kernel/ kernel/ +2 more | +489 | 0 replies | |
| 6/30 | sched: sched_clock_cpu() based cpu_clock()kernel/ kernel/ | +12 | 0 replies | |
| 7/30 | sched: fix wakeup granularity and buddy granularitykernel/ kernel/ | +8 | 0 replies | |
| 8/30 | sched: add full schedstats to /proc/sched_debugkernel/ | +17 | 0 replies | |
| 9/30 | sched: fix sched_domain aggregationinclude/ kernel/ kernel/ | +60 | 0 replies | |
| 10/30 | sched: update aggregate when holding the RQskernel/ | +20 | 0 replies | |
| 11/30 | sched: kill task_group balancingkernel/ | +2 | 0 replies | |
| 12/30 | sched: dont micro manage share losseskernel/ | +3 | 0 replies | |
| 13/30 | sched: no need to aggregate task_weightkernel/ kernel/ | +2 | 0 replies | |
| 14/30 | sched: simplify the group load balancerkernel/ kernel/ | +72 | 0 replies | |
| 15/30 | sched: fix newidle smp group balancingkernel/ | +13 | 0 replies | |
| 16/30 | sched: fix sched_balance_self() smp group balancingkernel/ | +3 | 0 replies | |
| 17/30 | sched: persistent average load per taskkernel/ | +12 | 0 replies | |
| 18/30 | sched: hierarchical load vs affine wakeupskernel/ | +21 | 0 replies | |
| 19/30 | sched: hierarchical load vs find_busiest_groupkernel/ | +23 | 0 replies | |
| 20/30 | sched: fix load scaling in group balancingkernel/ | +6 | 0 replies | |
| 21/30 | sched: fix task_h_load()kernel/ | +40 | 0 replies | |
| 22/30 | sched: remove prio preference from balance decisionskernel/ | +3 | 0 replies | |
| 23/30 | sched: optimize effective_load()kernel/ | +4 | 0 replies | |
| 24/30 | sched: disable source/target_load biaskernel/ kernel/ | +3 | 0 replies | |
| 25/30 | sched: fix shares boost logickernel/ | +3 | 0 replies | |
| 26/30 | sched: update shares on wakeupinclude/ kernel/ kernel/ +1 more | +42 | 0 replies | |
| 27/30 | sched: fix mult overflowkernel/ | +4 | 0 replies | |
| 28/30 | sched: correct wakeup weight calculationskernel/ kernel/ | +30 | 0 replies | |
| 29/30 | sched: incremental effective_load()kernel/ kernel/ | +21 | 0 replies | |
| 30/30 | sched: bias effective_load() error towards failing wake_affine().kernel/ kernel/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/30] SMP-group balancer - take 3
Hi,
Another go at SMP fairness for group scheduling.
This code needs some serious testing,..
However on my system performance doesn't tank as much as it used to. I've ran sysbench and volanomark benchmarks.
The machine is a Quad core (Intel Q9450) with 4GB of RAM. Fedora9 - x86_64
sysbench-0.4.8 + postgresql-8.3.3
volanomark-2.5.0.9 + openjdk-1.6.0
I've used cgroup group scheduling.
cgroup:/ - means all tasks are in the root group
cgroup:/foo - means all tasks are in a subgroup
mkdir /cgroup/foo
for i in cat /cgroup/tasks; do
echo $i > /cgroup/foo/tasks
done
The patches are against: tip/auto-sched-next of a few days ago.
---
.25
[root@twins sysbench-0.4.8]# ./doit-psql-256-60sec
1: transactions: 50514 (841.90 per sec.) 2: transactions: 98745 (1645.73 per sec.) 4: transactions: 192682 (3211.31 per sec.) 8: transactions: 192082 (3201.26 per sec.) 16: transactions: 188891 (3147.95 per sec.) 32: transactions: 182364 (3039.12 per sec.) 64: transactions: 169412 (2822.94 per sec.) 128: transactions: 139505 (2323.95 per sec.) 256: transactions: 131516 (2188.98 per sec.)
[root@twins vmark]# LOOP_CLIENT_COUNT=1000 ./loopclient.sh 2>&1 | grep Average Average throughput = 113350 messages per second
Average throughput = 112230 messages per second
Average throughput = 113125 messages per second
.26-rc
cgroup:/
[root@twins sysbench-0.4.8]# ./doit-psql-256-60sec
1: transactions: 50553 (842.54 per sec.) 2: transactions: 98625 (1643.74 per sec.) 4: transactions: 191351 (3189.12 per sec.) 8: transactions: 193525 (3225.32 per sec.) 16: transactions: 190516 (3175.10 per sec.) 32: transactions: 186914 (3114.96 per sec.) 64: transactions: 178940 (2981.78 per sec.) 128: transactions: 156430 (2606.00 per sec.) 256: transactions: 134929 (2246.63 per sec.)
[root@twins vmark]# LOOP_CLIENT_COUNT=1000 ./loopclient.sh 2>&1 | grep Average Average throughput = 124089 messages per second
Average throughput = 121962 messages per second
Average throughput = 121223 messages per second
cgroup:/foo
[root@twins sysbench-0.4.8]# ./doit-psql-256-60sec
1: transactions: 50246 (837.43 per sec.) 2: transactions: 97466 (1624.41 per sec.) 4: transactions: 179609 (2993.43 per sec.) 8: transactions: 190931 (3182.07 per sec.) 16: transactions: 189882 (3164.50 per sec.) 32: transactions: 184649 (3077.14 per sec.) 64: transactions: 178200 (2969.46 per sec.) 128: transactions: 158835 (2646.14 per sec.) 256: transactions: 142100 (2366.51 per sec.)
[root@twins vmark]# LOOP_CLIENT_COUNT=1000 ./loopclient.sh 2>&1 | grep Average Average throughput = 117789 messages per second
Average throughput = 118154 messages per second
Average throughput = 118945 messages per second
.26-rc-smp-group
cgroup:/
[root@twins sysbench-0.4.8]# ./doit-psql-256-60sec
1: transactions: 50137 (835.61 per sec.) 2: transactions: 97406 (1623.41 per sec.) 4: transactions: 170755 (2845.88 per sec.) 8: transactions: 187406 (3123.35 per sec.) 16: transactions: 186865 (3114.18 per sec.) 32: transactions: 183559 (3059.03 per sec.) 64: transactions: 176834 (2946.70 per sec.) 128: transactions: 158882 (2647.04 per sec.) 256: transactions: 145081 (2415.81 per sec.)
[root@twins vmark]# LOOP_CLIENT_COUNT=1000 ./loopclient.sh 2>&1 | grep Average Average throughput = 121499 messages per second
Average throughput = 120181 messages per second
Average throughput = 119775 messages per second
cgroup:/foo
[root@twins sysbench-0.4.8]# ./doit-psql-256-60sec
1: transactions: 49564 (826.06 per sec.) 2: transactions: 96642 (1610.67 per sec.) 4: transactions: 183081 (3051.29 per sec.) 8: transactions: 187553 (3125.79 per sec.) 16: transactions: 185435 (3090.45 per sec.) 32: transactions: 182314 (3038.25 per sec.) 64: transactions: 174527 (2908.22 per sec.) 128: transactions: 159321 (2654.24 per sec.) 256: transactions: 140167 (2333.82 per sec.)
[root@twins vmark]# LOOP_CLIENT_COUNT=1000 ./loopclient.sh 2>&1 | grep Average Average throughput = 130208 messages per second
Average throughput = 129086 messages per second
Average throughput = 129362 messages per second