xfmedia: wakeups per second in idle, play time

Kok, Auke sofar at foo-projects.org
Thu May 31 19:39:41 CEST 2007


I started looking with powertop at some multimedia apps, which is highly 
interesting since those generally need to poll to keep buffers filled and thus 
are suspect of having lots of wakeup events.

xfmedia is doing rather poorly at 200 wps in idle mode. I suspect this is due to 
a gfx/display update ticker. When not playing songs this can be completely 
eliminated...

During songplay (audio only) the wps rises to 2000 per second. That's just way 
too much :)

Audacious isn't much better, at 200wps in idle - it always polls even if you 
turn off the 'song title scroll' because of the visualization stuff. songplay is 
much better, it only adds another 50-100 wps.

mplayer (playing songs) is far better, doing only 90 wps, but of course that's 
without a GUI.

Then ogg123/mpg123 kick everyones butt, getting down to about 40 wps during 
songplay. I suspect that even that is really a lot higher than needed, as 
generally you can buffer more than a second or two before needing to refill it, 
so technically we should be able to listen to audio with 1wps :)

I've pinged the audacious folk and they might look at it. perhaps Brian or 
someone else interested can look at xfmedia.

Cheers,

Auke



More information about the Xfce4-dev mailing list