Re: [PATCH 4/4] sched: Idle task shortcut optimization

From: Daniel Lezcano
Date: Fri Jan 17 2014 - 11:38:09 EST


On 01/17/2014 04:33 PM, Peter Zijlstra wrote:
On Fri, Jan 17, 2014 at 04:26:13PM +0100, Daniel Lezcano wrote:

Ah, ok. Let me try it.


http://programming.kicks-ass.net/sekrit/patches.tar.bz2

has a queue that applies to tip/master.

The patches as on lkml need a little help in applying.

They've not been near a compiler yet though :/


Here are the results:

Col1 : tip/sched/core
Col2 : the patchset above
Col3 : the patchset above + idle task shortcut

hackbench -s 4096 -l 1000 -g 10 -f 40 -T
33.306 32.720 31.902
32.344 32.139 32.214
33.342 33.281 33.056
33.319 33.421 31.789
32.325 32.540 31.941
33.701 32.978 32.229
34.981 32.418 30.218
32.379 31.656 31.717
32.135 32.241 32.812
32.531 32.790 31.967

avg:
33.036 32.618 31.984

hackbench -p -s 4096 -l 1000 -g 10 -f 40
27.595 27.601 26.331
25.192 29.336 30.222
26.057 28.579 28.351
28.397 29.419 28.554
27.628 25.045 30.470
28.976 28.027 29.823
28.764 29.361 26.902
27.632 30.101 26.285
29.129 29.248 26.975
26.020 25.047 29.324

avg:
27.539 28.176 28.324

hackbench -P -s 4096 -l 1000 -g 10 -f 40
32.788 32.057 30.691
33.158 33.251 34.315
32.713 33.076 32.880
32.488 32.878 32.792
31.240 33.003 32.958
32.493 33.096 32.244
33.940 33.660 31.550
34.733 33.777 31.829
32.598 34.117 33.714
34.091 33.196 31.336
avg:
33.024 33.211 32.431



--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

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