lkml.org 
[lkml]   [2012]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sched: Avoid SMT siblings in select_idle_sibling() if possible
* Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> [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



\
 
 \ /
  Last update: 2012-02-23 12:23    [W:0.127 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site