Re: sched: Avoid SMT siblings in select_idle_sibling() if possible

From: Srivatsa Vaddagiri
Date: Thu Feb 23 2012 - 07:18:49 EST


* Ingo Molnar <mingo@xxxxxxx> [2012-02-23 12:19:29]:

> sysbench is one of the best ones punishing bad scheduler
> balancing mistakes.

Here are the sysbench oltp score on same machine i.e:

Machine : 2 Quad-core Intel X5570 CPU (H/T enabled)
Kernel : tip (HEAD at 6241cc8)
sysbench : 0.4.12

sysbench was run with 16 threads as:

./sysbench --num-threads=16 --max-requests=100000 --test=oltp --oltp-table-size=500000 --mysql-socket=/var/lib/mysql/mysql.sock --oltp-read-only --mysql-user=root --mysql-password=blah run

sysbench was run 5 times with fs-cache being purged before each run
(echo 3 > /proc/sys/vm/drop_caches).

Average of 5 runs alongwith % std. dev. is noted for various OLTP stats

SD_BALANCE_WAKE SD_BALANCE_WAKE
disabled enabled

transactions (per sec) 4833.826 (+- 0.75%) 4837.354 (+- 1%)
read/write requests (per sec) 67673.580 (+- 0.75%) 67722.960 (+- 1%)
other ops (per sec) 9667.654 (+- 0.75%) 9674.710 (+- 1%)

There is minor improvement seen when SD_BALANCE_WAKE is enabled at SMT/MC
domains, but no degradation observed with it enabled.

- vatsa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/