Re: sched: tweak select_idle_sibling to look for idle threads

From: Mike Galbraith
Date: Mon May 09 2016 - 04:56:16 EST


On Mon, 2016-05-09 at 10:33 +0200, Peter Zijlstra wrote:
> On Fri, May 06, 2016 at 08:54:38PM +0200, Mike Galbraith wrote:
> > master
> > Throughput 2722.43 MB/sec 4 clients 4 procs max_latency=2.400 ms
>
> > echo NO_IDLE_SIBLING > /sys/kernel/debug/sched_features
> > Throughput 3484.18 MB/sec 4 clients 4 procs max_latency=3.430 ms
>
> Yeah, I know about that bump, I just haven't managed to find a way to
> preserve that and keep all the other benchmarks ticking along :/

Yup, L3 ain't L2. I haven't come up with a good metric either. Poo.
Until that comes along, microbenchmarks can bugger off, real boxen
don't just play high speed ping-pong with themselves for a living ;-)

-Mike