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

From: Srivatsa Vaddagiri
Date: Thu Feb 23 2012 - 06:54:29 EST


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

> pro perf tip of the day: did you know that it's possible to run:
>
> perf stat --repeat 10 --null perf bench sched pipe

Ah yes ..had forgotten that! What is the recommended # of iterations
to run?

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

Ok ..thanks for the 'pro' tip!! Will use it in my subsequent runs!

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