On Mon, 25 Oct 2010, Auke Kok wrote:
hehe, yikes!
as Arjan already said, that's terrible from a power consumption perspective.
What you are doing is keeping the CPU out of any C-states whatsoever (by
scheduling to run ever 5ms). Even though you're not making the CPU busy,
you're preventing it from optimally using the C-states available.
A better algorithm would strike a balance between long sleeps (seconds...)
and short bursts of work (even if it runs for quite a while).
This isn't an option for me. PM isn't a top priority for this
application.
However, low-latency audio processing /is/ a top priority.
Being able to switch profiles would give us the best of both
worlds.
-gabriel
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev