[mythtv-users] Mythfrontend idle cpu consumption help

Dan dansto.well+myth at gmail.com
Tue Nov 17 10:25:24 UTC 2009

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'.

If it's the pulsation code that's causing the CPU hit, is there any
config setting to disable it (e.g. a theme setting to disable
animations)? That would be really helpful - please let us know if such
a setting exists.

Here's what I get from "strace -c -p<mythfrontend.real pid>":

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 99.89    0.012000           1     13712           poll
  0.11    0.000013           0      1428           stat64
  0.00    0.000000           0         1           restart_syscall
  0.00    0.000000           0     27426     27426 read
  0.00    0.000000           0      1390           gettimeofday
  0.00    0.000000           0     27426           clock_gettime

System details:

$ mythbackend --version
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

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 9.10
Release:        9.10
Codename:       karmic

$ uname -a
Linux namehasbeenchanged 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16
14:04:26 UTC 2009 i686 GNU/Linux

$ cat /proc/cpuinfo
model name      : Pentium(R) Dual-Core  CPU      E5400  @ 2.70GHz
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2
ssse3 cx16 xtpr pdcm xsave lahf_lm

More information about the mythtv-users mailing list