[mythtv-users] Mythfrontend idle cpu consumption help

Ben ben.carlisle at gmail.com
Mon Jan 18 16:03:19 UTC 2010


On Tue, Nov 17, 2009 at 5:25 AM, Dan <dansto.well+myth at gmail.com> wrote:
> 2009/11/11 jansenj <jansenj+myth at gmail.com>:
>> I guess I should ask, are there any unbuntu users with 0.22 that are NOT
>> having this problem as described in the original post? Or is it just the
>> select few on this thread?  I would assume this would be getting more
>> attention if it were every ubuntu user.
>
> I've just upgraded to mythbuntu 9.10 and yes I'm seeing *much* higher
> CPU usage with the frontend just sat there idle on the home page -
> around 7% on my system (details below). I've got the new mythbuntu
> theme selected, which doesn't seem to show any visible 'pulse'.

As another datapoint, I just upgraded to Mythbuntu 9.10 myself and am
experiencing the same.

Roughly 14% constant CPU usage when the box is being unused - along
with what I describe as 'general UI slowness(1)' when it is being used
(Mythbuntu theme).  Interestingly I get lower CPU usage when playing
back HD (using VDPAU).

One thing that I've noticed is every 10 minutes or so it drops to 1-2%
CPU usage for about 1 minute.  Using the Mythbuntu theme.

strace output (about 10 seconds of capture):
$ sudo strace -c -p 2223
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 43.01    0.000886           0      5478           clock_gettime
 33.74    0.000695           0      5478      5478 read
 23.25    0.000479           0      2738           poll
  0.00    0.000000           0         1           restart_syscall
  0.00    0.000000           0       795           gettimeofday
  0.00    0.000000           0       817           stat64
------ ----------- ----------- --------- --------- ----------------
100.00    0.002060                 15307      5478 total

$ uname -a
Linux hostname 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31
UTC 2009 i686 GNU/Linux

$ mythbackend --version
Please include all output in bug reports.
MythTV Version   : 22594
MythTV Branch    : branches/release-0-22-fixes
Network Protocol : 50
Library API      : 0.22.20091023-1
QT Version       : 4.5.2
Options compiled in:
 linux profile using_oss using_alsa using_pulse using_jack
using_backend using_dvb using_firewire using_frontend
using_glx_proc_addr_arb using_hdhomerun using_hdpvr using_iptv
using_ivtv using_joystick_menu using_libfftw3 using_lirc using_mheg
using_opengl_video using_opengl_vsync using_qtwebkit using_v4l
using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw
using_bindings_perl using_bindings_python using_opengl using_vdpau
using_ffmpeg_threads using_libavc_5_3 using_live using_mheg

$ cat /proc/cpuinfo|grep model
model           : 107
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4000+

(1) This includes 0.5 - 1.0 sec response delays on UI menu selections,
2-3 sec fanart display, and other WAF-limiting symptoms.


More information about the mythtv-users mailing list