Re: [PATCH] cpuidle: menu: use nr_running instead of cpuload forcalculating perf mult

From: Arjan van de Ven
Date: Mon Jun 04 2012 - 16:45:15 EST


On 6/4/2012 1:31 PM, Peter Zijlstra wrote:
>
> And like I said many times now, if you inflate some of the idle periods,
> the work shifts (it doesn't become less) and a next idle period will be
> smaller -- since we'll only become idle again once all work is done.

this is what is not really correct.

you can be idle for many reasons, not just because you have no work
left. most common is waiting for a disk IO. the idle period for that
will not get shorter just because the previous one took more time.


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