[mythtv-users] Sluggish Video

mike at grounded.net mike at grounded.net
Sat Nov 27 22:15:30 UTC 2010


I build a mythdora box using a dual XEON 2.8Ghz, 4GB RAM box with 15K RPM drives. The hardware isn't the most modern but it usually kicks a** running anything linux. However, with myth, the video is less than good, it's very sluggish for lack of better term.

Looking at the load on the server, it's not very high on average, does go high and I'm not quite sure why.
For example, at the moment, it's over 3.3. If you'll notice, pulseaudio is high, always seems to be as well. 
Sure seems to be using up a lot of memory but I'm not sure if that's normal? Lot's of apps use up what ever it can, releasing as needed by the OS, then taking it up again.

Any ideas? What else should I be looking at for leads?

[root at fe10 ~]# cat /proc/meminfo
MemTotal:        2061720 kB
MemFree:           47636 kB
Buffers:            9452 kB
Cached:          1604024 kB
SwapCached:          892 kB
Active:           981420 kB
Inactive:         909808 kB
Active(anon):     215040 kB
Inactive(anon):   167812 kB
Active(file):     766380 kB
Inactive(file):   741996 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:       1189872 kB
HighFree:           1668 kB
LowTotal:         871848 kB
LowFree:           45968 kB
SwapTotal:       2097144 kB
SwapFree:        2041456 kB
Dirty:              1212 kB
Writeback:            56 kB
AnonPages:        277044 kB
Mapped:           121088 kB
Shmem:            105068 kB
Slab:              58756 kB
SReclaimable:      42712 kB
SUnreclaim:        16044 kB
KernelStack:        3112 kB
PageTables:        12044 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     3128004 kB
Committed_AS:    1672500 kB
VmallocTotal:     122880 kB
VmallocUsed:       89620 kB
VmallocChunk:      13220 kB
HardwareCorrupted:     0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        8184 kB
DirectMap2M:      899072 kB

# top
top - 16:12:29 up 1 day, 18:50,  2 users,  load average: 3.32, 2.07, 1.60
Tasks: 245 total,   2 running, 243 sleeping,   0 stopped,   0 zombie
Cpu(s): 38.3%us, 30.9%sy,  0.8%ni, 27.8%id,  2.2%wa,  0.1%hi,  0.0%si,  0.0%st
Mem:   2061720k total,  2013004k used,    48716k free,     9376k buffers
Swap:  2097144k total,    55688k used,  2041456k free,  1596264k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1504 mysql     20   0  141m  15m 3160 S 90.4  0.8  23:21.11 mysqld
 1612 root      20   0  170m  74m  71m S 86.8  3.7   1380:58 Xorg
 4656 mythtv    20   0  724m 183m 103m S 79.0  9.1   1043:03 mythfrontend
 4485 root      20   0  369m  26m 4180 S  5.9  1.3 109:51.31 mythbackend
 1783 mythtv     9 -11  163m 3240 2544 S  4.2  0.2  86:52.34 pulseaudio
21275 root      39  19  101m  16m  11m R  3.9  0.8   0:26.49 mythfilldatabas
 1849 root      20   0  5384  448  400 S  2.6  0.0  39:30.31 devkit-disks-da
 1321 root      20   0  3764  876  796 S  2.3  0.0   4:53.96 hald-addon-stor
 1324 root      20   0  3764  876  796 S  1.3  0.0   2:08.45 hald-addon-stor
21332 root      20   0  2584 1164  836 R  1.3  0.1   0:00.14 top
  569 root      20   0     0    0    0 S  1.0  0.0  22:35.80 cx18-0-in
 1357 root      20   0  3880  368  300 S  1.0  0.0  18:37.66 lircd
   50 root      20   0     0    0    0 S  0.3  0.0   2:51.66 kswapd0
 1750 mythtv    20   0  6964 1524 1396 S  0.3  0.1   0:01.14 gvfsd
    1 root      20   0  2048  540  484 S  0.0  0.0   0:02.25 init
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.41 migration/0
    4 root      20   0     0    0    0 S  0.0  0.0   0:02.69 ksoftirqd/0
    5 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.41 migration/1
    7 root      20   0     0    0    0 S  0.0  0.0   0:03.13 ksoftirqd/1
    8 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/1
    9 root      RT   0     0    0    0 S  0.0  0.0   0:00.37 migration/2
   10 root      20   0     0    0    0 S  0.0  0.0   0:04.63 ksoftirqd/2
   11 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/2
   12 root      RT   0     0    0    0 S  0.0  0.0   0:00.31 migration/3




More information about the mythtv-users mailing list