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

From: Srivatsa Vaddagiri
Date: Thu Feb 23 2012 - 06:20:43 EST


* Srivatsa Vaddagiri <vatsa@xxxxxxxxxxxxxxxxxx> [2012-02-23 16:19:59]:

> > Enabling SD_BALANCE_WAKE used to be decidedly too expensive to consider.
> > Maybe that has changed, but I doubt it. (general aside: testing with a
> > bloated distro config is a big mistake)
>
> I am seeing 2.6% _improvement_ in volanomark score by enabling SD_BALANCE_WAKE
> at SMT/MC domains.

Ditto with pipe benchmark.

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

"perf bench sched pipe" was run 10 times and average ops/sec score
alongwith std. dev is noted as below.


SD_BALANCE_WAKE SD_BALANCE_WAKE
disabled enabled

Avg. score 108984.900 111844.300 (+2.6%)
std dev 20383.457 21668.604

Note:

SD_BALANCE_WAKE for SMT/MC domain was enabled by writing into appropriate
flags file present in /proc:

# cd /proc/sys/kernel/sched_domain/
# for i in `find . -name flags | grep domain1`; do echo 4671 > $i; done
# for i in `find . -name flags | grep domain0`; do echo 703 > $i; done

- 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/