Re: [PATCH v2] cpuidle: Fix the menu governor to boost IO performance

From: Corrado Zoccolo
Date: Mon Nov 09 2009 - 08:29:23 EST


On Sun, Nov 8, 2009 at 11:30 PM, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> On Sun, 8 Nov 2009 22:59:43 +0100
> I think we all agree that long term polling is bad ;-)
> (even though we use rep nop in the polling loop which is also a HT
> yield).
>
> There's just the very short sleeps (where short is "single digit usecs")
> where the rules are slightly different.
>
>> > this check is supposed to catch the known timer cases; those
>> > are rather accurate in prediction
>>
>> Unfortunately, I have seen polling residency times > 1ms, so it must
>> not be so accurate.
>
> well the question is... is this a measurement error or an error in
> when polling is chosen.
> We obviously need to fix it whatever it is, but... first need to chase
> down really which it is.

Any suggestion on how to check?
Clocksource is hpet, and I have CONFIG_SCHED_HRTICK=y, so the
granularity should not be a problem.

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