cpu core 100% on idle - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Kodi General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: cpu core 100% on idle (/showthread.php?tid=126182)
cpu core 100% on idle - bilbonvidia - 2012-03-22 01:37
With debugging enabled, once the library update has run there is nothing untoward being reported in the log. It is the xbmc-bin process at 100% The strange thing is when xbmc is doing anything the reading comes down, eg whilst doing the startup scan, it is whilst it is idle that the one core goes to 100%. wtf. Can the reading have been inversed somehow?
Is it normal, if not any ideas what to check?
RE: cpu core 100% on idle - ericab - 2012-03-22 02:36
same issue here; and im running openelec.
/usr/lib/xbmc/xbmc.bin --standalone -fs --lircdev /var/run/lirc/lircd
is constantly at 49% cpu; and when looking at the rendering statistics when watching a film, core 1, and core 2 are at 99%
video card: nvidia using vdpau
cpu = celeron g530
RE: cpu core 100% on idle - DDDamian - 2012-03-22 03:48
XBMC, due to a quirk of it's beginnings, often uses higher CPU cycles when idle. Search the forum or Wiki for Dirty Regions and you'll find how to reduce that by adding a couple of lines to advancedsettings.xml
RE: cpu core 100% on idle - ericab - 2012-03-22 04:11
i should have said in my first post that this is new behavior.
its been so for the past week and a half .... 2 weeks
RE: cpu core 100% on idle - DDDamian - 2012-03-22 04:14
Hmmm, yeah that changes things then. Can you post a Debug Log here? Might give some hint. Just to keep things sane too, are you using the dirtyregions option?
Only other thing I can think of - if you recently updated your nVidia drivers there was a bug in them which may cause you issues as well.
RE: cpu core 100% on idle - ericab - 2012-03-22 04:51
here is the logfile; ive enabled level 2 logging.
please pardon my uh... video catalog... i paid for all of those
ill scan it for issues
previously i had dirty-regions disabled; still cpu isues;
the log file above was after dirtyregions were set to 1...still no change.
my nas is off; hence the numerous ERROR: GetDirectory - Error getting /storage/videos/Movie-Catalog_****** errors.
after looking over it, the interesting stuff starts at line 1550.
looks like im getting:
"DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive" hundreds and hundreds of times.
could this be the cause ? --- also; Qlock .. wtf is this ? delaying 240 seconds ?
RE: cpu core 100% on idle - DDDamian - 2012-03-22 05:02
A couple of issues: you need to clean your library (minor) and you are running into the pvr spam bug. Have a look at this thread: http://forum.xbmc.org/showthread.php?tid=114383&highlight=pvrmanager.enabled
RE: cpu core 100% on idle - DDDamian - 2012-03-22 05:03
Ah okay - explains the library missing items issue. Check the thread I linked for the real issue
RE: cpu core 100% on idle - ericab - 2012-03-22 05:06
so bilbonvidia and are issues might have to do with the skin ?
RE: cpu core 100% on idle - DDDamian - 2012-03-22 05:06
RE: cpu core 100% on idle - DDDamian - 2012-03-22 05:08
QLock is nothing to worry about - unfortunately if you've disabled it a recent update re-enables it, It applies more to Transparancy skin - you can disable or uninstall under Addons - Skins I think it was
RE: cpu core 100% on idle - ericab - 2012-03-22 05:16
i switched to confluence, and checked top/htop... xbmc is still @ ~~ 47-49% cpu constantly O___o
here is an htop screenshot: http://dl.dropbox.com/u/66962/Misc/Untitled.png[hr]
here is top --> http://dl.dropbox.com/u/66962/Misc/Untitled2.png
and whats weird is when playing back a video, core 1 & 2 say 99-100% usage (render stats window), yet top reports 50% usage
RE: cpu core 100% on idle - DDDamian - 2012-03-22 05:18
Still getting a messed-up log?
RE: cpu core 100% on idle - ericab - 2012-03-22 05:26
still flooded with the empty directory error; looks similar:
this is with confluence...
RE: cpu core 100% on idle - DDDamian - 2012-03-22 05:32
Well, the pvr error is gone, and that was jamming up CPU usage. Can you turn your NAS on (if that's why it can't find those directories) as we're just getting clutter and not the full log.
Also, the advancedsettings.xml file has some odd entries in it (see where I mean? the strange numbers) so I can't be sure it's using the dirtyregions settings. Might want to fix that up.
Do that and then check your CPU usage. If still high re-post the log - it'll be cleaner and we might get the whole thing. Note that on a Celeron processor I would expect fairly high CPU usage at idle anyways, just not very gutsy, but at idle it doesn't matter much.