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

From: Ingo Molnar
Date: Thu Feb 23 2012 - 06:26:58 EST



* Srivatsa Vaddagiri <vatsa@xxxxxxxxxxxxxxxxxx> wrote:

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

pro perf tip of the day: did you know that it's possible to run:

perf stat --repeat 10 --null perf bench sched pipe

and get meaningful, normalized stddev calculations for free:

5.486491487 seconds time elapsed ( +- 5.50% )

the percentage at the end shows the level of standard deviation.

You can add "--sync" as well, which will cause perf stat to call
sync() - this gives extra stability of individual iterations and
makes sure all IO cost is accounted to the right run.

Thanks,

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