Linux excessive CPU usage on Eden - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux excessive CPU usage on Eden (/showthread.php?tid=128343) |
excessive CPU usage on Eden - asymptote - 2012-04-09 Running Eden on Arch Linux i686 using an old Athlon XP chip. Since updating from Dharma, idle CPU usage is 25-30 %. I tried using the dirty regions modification and after reloading xbmc, I see no change in htop CPU usage. Suggestions are welcome. Code: $ cat advancedsettings.xml I should note that as a test case, I moved my "old" ~/.xbmc to ~/.xbmc-old and allowed xbmc to create one fresh. After disabling RSS feeds, I found exactly the same CPU usage while idle. RE: excessive CPU usage on Eden - Chris! - 2012-04-09 What CPU level wouldn't be excessive? I'm assuming XBMC is working well for you otherwise RE: excessive CPU usage on Eden - graysky - 2012-04-09 This is effecting my system too (C2D @ 3.33 GHz) so it's not just lower powered CPUs. With the GUI running idle is 6-8 % on BOTH cores. If I exit xbmc, the CPU usage drops down to 0-1 %. I can also confirm this problem on a low powered Atom-330 based system at a friend's house. There the idle is 23-25 % on one core while idle. I also applied the dirty regions settings but found no change. RE: excessive CPU usage on Eden - asymptote - 2012-04-09 (2012-04-09, 22:39)pseudo7 Wrote: What CPU level wouldn't be excessive? If I downgrade the package to Dharma, I get 1-2 % while xbmc is idle so something is definitively different in Eden. It is working well for me otherwise. I opened a bug report: http://trac.xbmc.org/ticket/12909 but am still willing to try suggestions and thank you! RE: excessive CPU usage on Eden - wiz561 - 2012-04-10 Thanks for doing that bug report. I had the same problem on my atom, where it was averaging about 30% at idle. When playing videos, it went to 1 to 2%, if that. I added the dirtyregion thing and it helped out, but I somehow feel iffy about it because when playback of videos, there's some pixelation. I don't know why this is happening, as the dirty region should only affect the gui. It could very well be another issue; it's too early to tell. RE: excessive CPU usage on Eden - Aenima99x - 2012-04-10 Having similar issue here too. I'll open another thread if the issue isn't the same as OP. Ubuntu 12.04 Linux htpc 3.2.0-22-generic-pae #35-Ubuntu SMP Tue Apr 3 20:37:36 UTC 2012 i686 i686 i386 GNU/Linux Intel® Core i3 CPU 550 @ 3.20GHz Nvidia GT520 (295.33 drivers) When XBMC is not running - CPU usage is less than 5% When XBMC is open, fullscreen and idle at menu - CPU usage averages 90% for Xorg and 10% for xbmc.bin When XBMC is open, windowed and idle at menu - CPU usage averages 65% for Xorg and 10% for xbmc.bin When XBMC is open, fullscreen and video playing - CPU usage averages 10% for Xorg and 10% for xbmc.bin Removing the modelines from xorg.conf fixes the high cpu in Xorg, but is not a viable solution due to EDID info not reporting properly for my plasma. Have tried changing various settings in the Nvidia config, but none make a noticeable difference. Have tired enabling dirty regions in advancedsettings.xml, but only a small improvement. Changing the "Vertical blank sync" in System/Settings in XBMC to "Disabled" or "Enabled during video playback" immediately drops the high cpu in xorg. Setting it back to "Always enabled" or "Let driver choose" makes xorg cpu usage jump right back up Any ideas on what can be done? I can post a log if needed. RE: excessive CPU usage on Eden - cowfodder - 2012-04-10 (2012-04-10, 03:04)Aenima99x Wrote: Changing the "Vertical blank sync" in System/Settings in XBMC to "Disabled" or "Enabled during video playback" immediately drops the high cpu in xorg. Setting it back to "Always enabled" or "Let driver choose" makes xorg cpu usage jump right back up Any reason you can't set "Vertical blank sync" to "Enabled during video playback"? If I remember correctly, XBMC doesn't use hardware acceleration to render the menus, which explains the CPU usage stats you posted. RE: excessive CPU usage on Eden - Aenima99x - 2012-04-10 (2012-04-10, 06:33)cowfodder Wrote:(2012-04-10, 03:04)Aenima99x Wrote: Changing the "Vertical blank sync" in System/Settings in XBMC to "Disabled" or "Enabled during video playback" immediately drops the high cpu in xorg. Setting it back to "Always enabled" or "Let driver choose" makes xorg cpu usage jump right back up That's what I have it at right now. Just wondering why the high cpu in Xorg with it set to always enabled when that setting was always fine before Eden. RE: excessive CPU usage on Eden - FernetMenta - 2012-04-10 Don't use any window manager with composite extension when running XBMC. Have you tried e.g. Fluxbox? Make sure you have enabled "sync to vblank" in 3D settings of driver. On NVIdia systems you should run nvidia-settings -l in startup of window manager. RE: excessive CPU usage on Eden - prae5 - 2012-04-10 I've noticed this too, I haven't had a chance to look much at it yet but there is a significant jump in cpu use on my system. My usage is somewhat nonstandard, which is part of the reason I've not posted until I've looked into it more. On my Dharma virtual machine running, it idles at between 200MHz cpu usage and sits there quite happily running library updates. My recently deployed Eden virtual machine based of xbmcbuntu idles a about 2000-2300MHz cpu usage. As I mentioned, my usage is far from standard so may or may not be relevant - but certainly it seems to be eating cpu resources where previous release didn't. RE: excessive CPU usage on Eden - FernetMenta - 2012-04-10 That's XBMC in main menu on a Zotac ID80. RSS feed disabled. Code: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND With RSS feed enabled xbmc uses approx. 14%. I have algorithmdirtyregions set to 3. That means the entire gui gets rendered because of RSS feed. RE: excessive CPU usage on Eden - prae5 - 2012-04-10 Eden - xbmcbuntu installation - idle Code: top - 17:04:15 up 2 days, 17:10, 1 user, load average: 1.12, 1.07, 1.06 Dharma Install (whilst doing library update) Code: top - 17:06:35 up 1 day, 6:17, 1 user, load average: 0.18, 0.06, 0.06 Dharma - idling Code: top - 17:11:46 up 1 day, 6:22, 1 user, load average: 0.06, 0.19, 0.13 RE: excessive CPU usage on Eden - prae5 - 2012-04-10 Just spent a little time looking at this and it may not be Dharma to Eden related. I just started up a Eden BETA2 virtual machine and it runs and idles similar to the Dharma machine. I wonder if it is something specific to the xbmcbuntu install or the eden final release that is causing it. I'll do an update on the beta2 machine to final and see if it jumps in cpu usage. RE: excessive CPU usage on Eden - graysky - 2012-04-10 Guys - please keep this thread on topic: if your problem does not related to high CPU usage on idle then don't post here. Start your own thread. RE: excessive CPU usage on Eden - prae5 - 2012-04-10 (2012-04-10, 20:56)graysky Wrote: Guys - please keep this thread on topic: if your problem does not related to high CPU usage on idle then don't post here. Start your own thread. Everyone is talking about idle issues..... |