Kodi Community Forum
Cpu usage when idling - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Kodi related discussions (https://forum.kodi.tv/forumdisplay.php?fid=6)
+--- Thread: Cpu usage when idling (/showthread.php?tid=191412)



Cpu usage when idling - d80tb7 - 2014-04-05

Hi,

I have an atv1 running crystalbuntu and notice that xbmc is using a constant ~40% cpu when just sitting on the home screen. I know the pentium m in the apple tv isn't particularly powerful, but I'm still suprised that cpu usage is so high given that ostensibly there is so little going one.

I was wondering if one of the developers could comment as to why this might be. Note I'm not complaining- more that I'm genuinely curious as to why it's spinning cpu cycles.

thanks,

Chris


RE: Cpu usage when idling - davilla - 2014-04-05

~40% cpu at what clock percent ?


RE: Cpu usage when idling - d80tb7 - 2014-04-05

(2014-04-05, 18:56)davilla Wrote: ~40% cpu at what clock percent ?

hmm fair point, using:

Code:
sudo watch -n 1  cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq

it looks like cpu frequency is alternating between 600MHz and 1GHZ. However at the former xbmc.bin is reported as using 55% of cpu and atvclient 4%. At the latter it's more like 38%.

I suppose from my, probably naive, point of view I'm just surprised that it's even using this when just displaying the home screen.


RE: Cpu usage when idling - davilla - 2014-04-05

The home page is not a static picture, it's being drawn over and over. We call that being rendered as it is composed of many sink elements.


RE: Cpu usage when idling - Ned Scott - 2014-04-06

What skin are you using? My ATV1 + Crystalbuntu shows about 5% or less CPU usage for XBMC when on the home screen of Amber or Confluence (RSS feed off, no skin widgets/shelf items being refreshed, etc).