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

From: Arjan van de Ven
Date: Thu Sep 17 2009 - 09:39:21 EST


On Tue, 15 Sep 2009 16:23:06 -0700
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Tue, 15 Sep 2009 05:42:59 +0200
> Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
>
> > Fix the menu idle governor which balances power savings, energy
> > efficiency and performance impact.
>
> This patch clashes a bit with
> cpuidle-menu-governor-reduce-latency-on-exit.patch (which was sent to
> the ACPI maintainers a month ago and ignored).
>
> <im-fed-up-with-this-crap-ill-just-merge-it-and-if-it-breaks-dont-blame-me>
>
>
> I restaged cpuidle-menu-governor-reduce-latency-on-exit.patch so it
> goes after
> cpuidle-fix-the-menu-governor-to-boost-io-performance.patch. perhaps
> you could take a look at Corrado's change?
>
>
>
> From: Corrado Zoccolo <czoccolo@xxxxxxxxx>
>
> Move the state residency accounting and statistics computation off
> the hot exit path.
>
> On exit, the need to recompute statistics is recorded, and new
> statistics will be computed when menu_select is called again.
>
> The expected effect is to reduce processor wakeup latency from sleep
> (C-states). We are speaking of few hundreds of cycles reduction out
> of a several microseconds latency (determined by the hardware
> transition), so it is difficult to measure.
>
> Signed-off-by: Corrado Zoccolo <czoccolo@xxxxxxxxx>
> Cc: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx>
> Cc: Len Brown <len.brown@xxxxxxxxx>
> Cc: Adam Belay <abelay@xxxxxxxxxx
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

I checked the last residency thing... and it's fine

Acked-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>



--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/