2012-07-21, 16:27
XBMC uses a lot of CPU when I play music. I have a Intel® Celeron® M processor 1.30GHz , 1 cores, a pretty old one I know. But still I hope I can run XBMC on it without overloading.
I suspect the excessive load has something to do with the underlying Login Manager. Here a top output when running with GDM:
I can see the same pattern when running on LightDM.
I tried SLiM, and had very nice CPU usage. But I couldn't here any sound and suspend didn't work either.
Idle CPU load is good, I enabled the dirtyregions setting.
My question:
How can I reduce the CPU load when playing music? Or how can I run SLiM Login Manager and get audio etc. to work?
I suspect the excessive load has something to do with the underlying Login Manager. Here a top output when running with GDM:
Code:
top - 16:10:45 up 1:01, 2 users, load average: 3.02, 1.74, 1.16
Tasks: 130 total, 2 running, 127 sleeping, 0 stopped, 1 zombie
Cpu(s): 50.0%us, 44.9%sy, 0.0%ni, 2.0%id, 0.0%wa, 0.0%hi, 3.1%si, 0.0%st
Mem: 500032k total, 484980k used, 15052k free, 11724k buffers
Swap: 524284k total, 42516k used, 481768k free, 259120k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14279 root 20 0 29700 8772 4436 S 30.1 1.8 1:02.21 Xorg
24086 root 20 0 0 0 0 S 17.9 0.0 0:11.66 kworker/0:1
31484 xbmc 20 0 437m 64m 13m R 13.2 13.2 0:42.20 xbmc.bin
9924 root 20 0 0 0 0 S 6.3 0.0 0:17.43 kworker/0:4
2096 deluge 20 0 120m 63m 5140 S 5.0 13.0 3:22.33 deluged
31447 xbmc 9 -11 162m 5808 4300 S 2.0 1.2 0:05.95 pulseaudio
20 root 20 0 0 0 0 S 0.3 0.0 0:02.54 kswapd0
36 root 20 0 0 0 0 S 0.3 0.0 0:01.66 scsi_eh_1
190 root 20 0 0 0 0 S 0.3 0.0 0:34.13 usb-storage
1 root 20 0 3764 1796 1108 S 0.0 0.4 0:01.04 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:04.04 ksoftirqd/0
5 root 20 0 0 0 0 S 0.0 0.0 0:01.61 kworker/u:0
6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
I tried SLiM, and had very nice CPU usage. But I couldn't here any sound and suspend didn't work either.
Idle CPU load is good, I enabled the dirtyregions setting.
My question:
How can I reduce the CPU load when playing music? Or how can I run SLiM Login Manager and get audio etc. to work?