[mythtv-users] Crippling load spike on FE/BE - cause unknown?
Anthony Messina
amessina at messinet.com
Mon Dec 8 17:21:34 UTC 2008
I've been having difficulty with my freshly build F10 x86_64 (using a previous
mythconverg db that I was using in F9, F8, F7 ...) MythTV FE/BE box and CPU
load issues for a few months. I've so far, been unsuccessful at getting the
cause nailed down on my own. The issue was happening with F9 as well as F10.
I am using mythtv-0.21-fixes from livna (though the same happened with atrpms)
and I do use the nvidia-rpms from livna.
The basic problem is that for some unknown reason, the load spikes WAY up, the
display freezes, refuses to accept lirc/kb/mouse input, but I am able to SSH
in and do whatever I want without any delay--basically, it doesn't act
sluggish via ssh.
Also, during the "lockups", no errors are reported to /var/log/messages,
dmesg, or the myth logs. No kerneloops messages. It does not happen during
playback or any interactive usage--only when no one is using it interactively.
The backend continues to record, and function properly during the lockups. I
can access mythweb from other boxes without issue. I can access and stream
shows (even HD) to another FE without issue.
I've tried various things: disabling as many extra services as possible,
switching irqpoll on/off, XvMC on/off, switching the recording filesystems
from jfs back to ext3 with slow delete, changing the commflag cpu usage from
high to med to low (low actually seemed to make it worse), not using
mythwelcome/using mythwelcome, selinux on/off. i do not transcode and i do not
have "realtime priority enabled" as i run the FE under a user accoutn just for
myth.
The load does not spike in relationship to a mythfilldatabase run or a
commflag, or the start of the recording. it "seems" totally random. In order
to restore the system to a workable state, I must restart it, then it's fine
for a while, then the load shoots up again.
In short, I would appreciate any kind of pointers on where to go--the WAF is
dropping very quickly.
I have the following tuners:
PVR-350
HDHomeRun
HD-5500
My "top" output now stops at 4.00 across the board, but that was not
consistent in the past:
top - 10:58:45 up 2:03, 2 users, load average: 4.00, 4.00, 4.00
Tasks: 119 total, 1 running, 118 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2058468k total, 1978236k used, 80232k free, 17744k buffers
Swap: 2032212k total, 112k used, 2032100k free, 1580268k cached
The cacti graph of what happens is here:
http://messinet.com/~amessina/mythtv_load.png
system:
Dell XPS 410
Intel 64-bit dual core 2.4GHz Core2Duo processor
2GB RAM
750GB SATA-2 drive space
selected cpuinfo:
Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
lspci:
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev
02)
00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev
02)
00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network
Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1
(rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5
(rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HH (ICH8DH) LPC Interface
Controller (rev 02)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev
02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev
02)
01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE]
(rev a1)
04:03.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and
Audio Decoder (rev 05)
04:03.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio
Decoder [Audio Port] (rev 05)
04:03.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio
Decoder [MPEG Port] (rev 05)
04:03.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio
Decoder [IR Port] (rev 05)
04:04.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2
Encoder (rev 01)
relavent xorg.conf (which i've used for 1.5 years without issue):
Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 LE"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
Option "NoLogo" "TRUE"
Option "UseEvents" "TRUE"
Option "UseEDIDDpi" "FALSE"
Option "UseEDIDFreqs" "FALSE"
Option "DPI" "96 x 96"
Option "TwinView" "TRUE"
Option "TwinViewOrientation" "Clone"
Option "NoTwinViewXineramaInfo" "TRUE"
Option "ConnectedMonitor" "TV-0, DFP-0"
Option "UseDisplayDevice" "TV-0, DFP-0"
# Start with the DPF at 1024x768 with the TV off (XRandR mode 0)
# Allow switch to the TV (component fed projector) at 1920x1080 with
the DFP off (XRandR mode 1)
Option "MetaModes" "TV-0: NULL, DFP-0: 1024x768; TV-0: 1920x1080,
DFP-0: NULL"
Option "HorizSync" "TV-0: 30-60; DFP-0: 48.4"
Option "VertRefresh" "TV-0: 60; DFP-0: 60"
Option "TVStandard" "HD1080i"
Option "DPMS"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Thank you very much for any help you can provide.
--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20081208/5411371d/attachment.pgp
More information about the mythtv-users
mailing list