[PATCH 0/3] CPU frequency scaling addon

Bastien Nocera hadess at hadess.net
Tue Aug 15 03:40:06 PDT 2006


On Tue, 2006-08-15 at 12:24 +0200, Holger Macht wrote:
> On Mon 14. Aug - 23:50:44, Richard Hughes wrote:
<snip>
> > On a related note, shouldn't the addon emit signals when the cpu speed
> > changes? This would mean stuff like the cpu scaling applet in GNOME
> > could be patched to use the new HAL interface (as it shows the current
> > frequency updated in real time in the toolbar).
> 
> The addon would only be able to send such signals if the userspace
> governor is active. And there would be really frequent signals, up to a
> maximum of three per second. So I'm not sure if it would make sence from a
> performance point of view.

3 a second isn't really that much, but, in the worst case, it should be
possible to rate-limit the outgoing signals (making sure that the last
frequency change is communicated at some point...).

-- 
Bastien Nocera <hadess at hadess.net> 
"The Derby players have seen more of his balls than the one they're
meant to be playing with" - Brian Clough, on a streaker who once
interrupted a Derby County-Manchester United match.



More information about the hal mailing list