• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7
Linux excessive CPU usage on Eden
#16
I had the same issue. For me the resolution was to disable the common data cache addon. After that my CPU went back to normal.
Reply
#17
(2012-04-10, 18:15)prae5 Wrote: 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.

I think it's something in Eden final because I'm not running xbmcbuntu - running xbmc on full ubuntu 12.04.
(2012-04-10, 16:16)FernetMenta Wrote: 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.

Sync to vblank is set in the nvidia settings.
(2012-04-11, 02:06)DecK Wrote: I had the same issue. For me the resolution was to disable the common data cache addon. After that my CPU went back to normal.

Holy crap that fixed it! Cool
I was able to set the Vertical Blank Sync back to always enabled and now my cpu is at 2%. How did you discover that addon was causing it? I saw nothing in the logs.
EDIT - Well it sort of fixed it.....CPU usage is still high when at the main menu at idle, but not in the library at idle.
Reply
#18
(2012-04-11, 03:05)Aenima99x Wrote: Holy crap that fixed it! Cool
I was able to set the Vertical Blank Sync back to always enabled and now my cpu is at 2%. How did you discover that addon was causing it? I saw nothing in the logs.
EDIT - Well it sort of fixed it.....CPU usage is still high when at the main menu at idle, but not in the library at idle.

When I had the issue, I found this thread, which pointed me towards the script.common.plugin.cache. Since then I have had no CPU issues and no lost in performance (which one might expect from turning off a caching feature).
Reply
#19
I too am having this issue. My system went from next to no CPU use at idle to ~100%. I have tried enabling dirtyregions and removing script.common.plugin.cache to no avail. If I'm not at the main menu the usage drops to ~70%, and if I play a movie it drops to next to nothing.

I build XBMC from GIT about once a week and this bug crept in about 10-12 days ago. I have been pulling and rebuilding daily to see if the bug gets worked out. Whenever I pull from GIT I do a 'make clean, make distclean, ./configure, make, sudo make install' in that order to make sure not bugs creep in during the build process.

Code:
top - 09:03:16 up 8 days, 18:27,  4 users,  load average: 0.81, 0.87, 0.97
Tasks: 158 total,   2 running, 156 sleeping,   0 stopped,   0 zombie
Cpu(s): 16.6%us,  7.6%sy,  0.0%ni, 75.8%id,  0.0%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   4123080k total,  3902696k used,   220384k free,   212012k buffers
Swap:  1606496k total,     3816k used,  1602680k free,  3107560k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
3455  xbmc      20   0  452m 154m  41m R   95  3.8   4:53.88 xbmc.bin
32694 root      20   0     0    0    0 S    0  0.0   0:03.13 kworker/u:2
    1 root      20   0  3336 1808 1212 S    0  0.0   0:01.05 init
    2 root      20   0     0    0    0 S    0  0.0   0:00.01 kthreadd
    3 root      20   0     0    0    0 S    0  0.0   0:50.61 ksoftirqd/0
    6 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0
    7 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1
    9 root      20   0     0    0    0 S    0  0.0   0:13.12 ksoftirqd/1
   11 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/2
   13 root      20   0     0    0    0 S    0  0.0   0:32.48 ksoftirqd/2
   14 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/3
   15 root      20   0     0    0    0 S    0  0.0   0:02.30 kworker/3:0
   16 root      20   0     0    0    0 S    0  0.0   0:17.91 ksoftirqd/3
   17 root       0 -20     0    0    0 S    0  0.0   0:00.00 cpuset
   18 root       0 -20     0    0    0 S    0  0.0   0:00.00 khelper
   19 root       0 -20     0    0    0 S    0  0.0   0:00.00 netns
Reply
#20
Quote:I build XBMC from GIT about once a week and this bug crept in about 10-12 days ago
This means post-Eden, but the issue is reported with Eden release.

I would like to duplicate this problem on my system. Does this happen with a plain install, no additional add-ons, default skin?
Reply
#21
(2012-04-12, 15:52)FernetMenta Wrote:
Quote:I build XBMC from GIT about once a week and this bug crept in about 10-12 days ago
This means post-Eden, but the issue is reported with Eden release.

I would like to duplicate this problem on my system. Does this happen with a plain install, no additional add-ons, default skin?

Sorry Eden in the post title didn't click in my head since I run GIT, I'll PM you so we don't clog up this thread.
Reply
#22
(2012-04-12, 15:52)FernetMenta Wrote: I would like to duplicate this problem on my system. Does this happen with a plain install, no additional add-ons, default skin?

I am using Arch Linux with the xbmc packages from the official repo running lxdm. Should be easy for you to reproduce using these packages. I have confirm this now on 5 systems.

http://trac.xbmc.org/ticket/12888

EDIT: I just build xbmc from git and can confirm that this is still present there as well as in Eden.
Need help programming a Streamzap remote?
Reply
#23
nvm
Reply
#24
Try disabling RSS feeds in the settings. It was hogging 100% on one of my cores (AMD e350+NVIDIA 6300+8GB DDR3). Now it idles great!
Reply
#25
@Jahon - not rss for me. idle is constant 24 %.

12888 is still the active bug report for this.
Need help programming a Streamzap remote?
Reply
#26
I just noticed this problem:
Right after starting the system xbmc.bin uses around ~3% CPU when idle. This slowly increases to ~30% in a few minutes (still idle in the home menu without having pressed a single button). It's not skin related: I tried with Confluence, Aeon Nox and Quartz. I get the problem with any one of those.
When xbmc is restarted the idle CPU usage goes to ~3% again and this process repeats itself. Also, the CPU usage stays at ~30% even if the `Black' screensaver is enabled.
I'm using this Xvba build on an A4-3400 with fglrx 8.911. RSS is disabled, Dirty Regions and vsync are enabled.
Here is a debug log:
http://pastebin.com/WJcxEV7M
A strace on the process looks like what's posted here: http://forum.xbmc.org/showthread.php?tid...pid1103934
Reply
#27
@Snippo - please post to the bug report where the devs will be sure to see your data.

http://trac.xbmc.org/ticket/12888
Need help programming a Streamzap remote?
Reply
#28
I also noticed another strange bug:
In the home menu the CPU usage is pretty 'normal' (~30%), but when I open any menu (music, videos, tv shows etc) it jumps to 100% right away. Back in the home menu it drops again.
I noticed I'm using Frodo now and not Eden. I'm going to try to downgrade the fglrx version to 11.12 now and see if it helps.

I can't seem to find a way to reply to the bug report and this isn't really helpful either.
Reply
#29
I've been noticing this also. I've been trying to run XBMC Eden on an old P4 system clocked at 2.2 GHz. All my content is 720P and at first I thought maybe the integrated graphics couldn't handle it so I bought an Nvidia 6200 and it would definitely render the skin/menus/backgrounds faster but the video is still choppy. I decided to give XBMCbuntu a try since I figured XP had too much running in the background but it's still choppy. Stuff only plays at about 15-20 FPS and the CPU usage maxes out at 100% while playing, and stays that high after the video is done playing. I've messed around with a lot of the playback settings and enabling Sync to VBlank and others seemed to help on some shows, but when I tried another it was choppy again, I went back to the one that played well and it was choppy. This is really screwing with me because IDK what's causing it, it's not a network problem because the choppyness occurs both when streaming or playing locally. Also it's definitely an XBMC problem because stuff plays flawlessly in VLC.

Here's a few relevant config files: GUIsettings.xml xbmc.log xorg.conf

Edit: tested XBMC that was running on my father's HP with an AMD x2 clocked at 2.6 GHz and an ATI Radeon HD 4200, with a 720P episode I was getting 24.0 FPS with between 17-20% CPU usage. He's also running Windows 7 x64 though. XBMC idles at about 30%. I tested XBMC out on my Intel Quad Core i7 @ 3.2 GHz with an Nvidia 8600 GTS running Chakra Linux (it's the machine that acts as my server for the media) and it uses about 11% running 720P @ 24.0 FPS
Reply
#30
My 2 cents :
I noticed the CPU usage was high in idle but only in the main "videos" page.
Disabling the "recently added videos" in the skin settings did the trick : from 40% to 4%
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7

Logout Mark Read Team Forum Stats Members Help
excessive CPU usage on Eden0