Re: 2.6.8-rc2-mm2 performance improvements (scheduler?)

From: Martin J. Bligh
Date: Wed Aug 04 2004 - 19:01:29 EST


--On Thursday, August 05, 2004 09:44:06 +1000 Peter Williams <pwil3058@xxxxxxxxxxxxxx> wrote:

> Andrew Morton wrote:
>> "Martin J. Bligh" <mbligh@xxxxxxxxxxx> wrote:
>>
>>> SDET 8 (see disclaimer)
>>> Throughput Std. Dev
>>> 2.6.7 100.0% 0.2%
>>> 2.6.8-rc2 100.2% 1.0%
>>> 2.6.8-rc2-mm2 117.4% 0.9%
>>>
>>> SDET 16 (see disclaimer)
>>> Throughput Std. Dev
>>> 2.6.7 100.0% 0.3%
>>> 2.6.8-rc2 99.5% 0.3%
>>> 2.6.8-rc2-mm2 118.5% 0.6%
>>
>>
>> hum, interesting. Can Con's changes affect the inter-node and inter-cpu
>> balancing decisions, or is this all due to caching effects, reduced context
>> switching etc?
>
> One candidate for the cause of this improvement is the replacement of the active/expired array mechanism with a single array. I believe that one of the short comings of the active/expired array mechanism is that it can lead to excessive queuing (possibly even starvation) of tasks that aren't considered "interactive".

Rick showed me schedstats graphs of the two ... it seems to have lower
latency, does less rebalancing, fewer pull_tasks, etc, etc. Everything
looks better ... he'll send them out soon, I think (hint, hint).

M.

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