[mythtv-users] High CPU Utilisation

Matthew Anderson muss3000 at gmail.com
Fri Jan 21 10:08:37 UTC 2011


Hi All,

 

You may (or may not) recall me sending an email earlier on questioning why
the mythfrontend took up so much resources when watching tv, recordings and
videos. I currently run a few frontend on a 1.7Ghz processor which for so
long as been more than sufficient and my backend was a beefy machine (I7
CPU) with lots of disks. I have spent the last 3 weeks trying various
settings in an effort to try and find why new version (0.24) mythfrontend is
so cpu intensive now. However much to my disappointment I am not able to
resolve it and I have resigned that I have to reinstall my old version
(0.21) as at the moment I can't afford to upgrade my mythfrontends around
the house.

 

I tried various setting changes including disabling commercial detection,
transcoding, audio and video with no success.

 

I will pose the question again and maybe someone can point out my
incompetence or perhaps advise if something been introduced that requires
more powerful hardware in the previous few releases (see my illustrations of
cpu usage below)? Has anyone else experienced this issue? I was really
excited to read the new features but unfortunately unless I can resolve this
problem I will have to settle with the version 0.21.

 

This is the CPU usage under 0.24 when watching TV/Recordings/Video: -

matt at mythbackend-test:/root$ mythfrontend --version Please attach all output
as a file in bug reports.

MythTV Version   : v0.24-97-g3ec48f2

MythTV Branch    : fixes/0.24

Network Protocol : 63

Library API      : 0.24.20101129-1

QT Version       : 4.7.0

Options compiled in:

linux release using_alsa using_jack using_oss using_pulse using_pulseoutput
using_backend using_bindings_perl using_bindings_python using_dvb
using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv
using_joystick_menu using_lirc using_mheg using_opengl_video
using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11
using_xrandr using_xv using_bindings_perl using_bindings_python
using_mythtranscode using_opengl using_ffmpeg_threads using_live using_mheg

 

This is the output from top (when watching tv): -

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

8101 matt      20   0  432m 107m  49m R 94.8 22.0   8:23.51 mythfrontend

  978 root      20   0 82344  31m  25m S  1.9  6.5   5:16.78 Xorg

    1 root      20   0  3288  720  452 S  0.0  0.1   0:00.95 init

 

This is the output from iostat (when watching tv): -

avg-cpu:  %user   %nice %system %iowait  %steal   %idle

          82.59    0.00   17.41    0.00    0.00    0.00

 

 

 

This is the CPU usage under 0.21 when watching TV/Recordings/Video: -

MythTV Version   : 19961

MythTV Branch    : branches/release-0-21-fixes

Library API      : 0.21.20080304-1

Network Protocol : 40

Options compiled in:

linux profile using_oss using_alsa using_jack using_backend using_dbox2
using_dvb using_firewire using_frontend using_hdhomerun using_iptv
using_ivtv using_joystick_menu using_libfftw3 using_lirc using_opengl_vsync
using_opengl_video using_v4l using_x11 using_xrandr using_xv using_xvmc
using_xvmcw using_xvmc_vld using_glx_proc_addr_arb using_bindings_perl
using_bindings_python using_opengl using_ffmpeg_threads using_libavc_5_3
using_live

 

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

2839 root      20   0  355m  24m  20m S 15.6  5.0 214:56.21 Xorg

3555 root      20   0  337m  42m  22m S 15.3  8.7 336:19.32 mythfrontend.re

3358 matt      20   0  160m  14m  13m S  8.0  2.9 239:48.84 pulseaudio

  731 root      15  -5     0    0    0 D  0.7  0.0   6:19.05 kjournald

 

avg-cpu:  %user   %nice %system %iowait  %steal   %idle

          10.50    0.00    5.00    1.00    0.00   83.50

 

With Regards,

Matt

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110121/aa385588/attachment.htm>


More information about the mythtv-users mailing list