View Full Version : xbmc cpu utilisation doing nothing
can anyone tell me why xbmc, after a fresh reboot, and a couple of minutes after it has finished scanning my library shows the following under 'ps aux':
htpc 5207 17.2 4.8 560028 75288 ? SLl 23:22 0:42 /usr/local/share/xbmc/xbmc.bin
i'm not doing anything with xbmc except looking at it's menu screen with the mediastream skin.
i know the cpu reading of 17.2 is not very accurate, it it's about 15 more than i would expect! tops shows similar values on my 2.8ghz intel e7400.
i'm running off 64-bit ubuntu 8.1 with svn r19803.
jmarshall
2009-04-29, 09:41
Guess it's not doing nothing then, huh? It's rendering the screen (updating control conditionals etc.) multiple times a second for a start.
Guess it's not doing nothing then, huh? It's rendering the screen (updating control conditionals etc.) multiple times a second for a start.
but at ~15% cpu? any chance of getting that offloaded onto vdpau? ;)
jmarshall
2009-04-29, 10:33
How would that help exactly? VDPAU is for decoding video streams. Not for running a process loop, updating controls and rendering a user interface.
How would that help exactly? VDPAU is for decoding video streams. Not for running a process loop, updating controls and rendering a user interface.
i'm sorry, i should have made the smiley more apparent.
not sure if this is related; but i did notice a few builds back that xbmc started up with 100%, but that cleared up after a few revisions later.
althekiller
2009-04-29, 18:49
What is your hardware? My system idles at ~20%, but that's with the CPU scaled back to 800MHz. With scaling disabled (2.5GHz) it's only 2%, which is quite respectable for an application using a game loop architecture. I'm saving far more power with 20%@800MHz than I am with 2%@2.5GHz. For some perspective, load up your favorite 3d video game and see how much CPU it's using idling at the main menu. Patches for event based rendering are quite welcome, but we have bigger fish to fry at the moment.
What is your hardware?
ah... that's a good point. i'm running an e7400 (2.8ghz/3mb cache) - but i recently started using powernowd. so as you mentioned, it is most likely due to the intel speedstep thingy. :) thanks!