[mythtv-users] BE 2 – Remote Frontends Sluggish on FF

Mike Bibbings mike.bibbings at gmail.com
Wed Nov 1 19:47:40 UTC 2017


On 01/11/17 19:01, Barry Martin wrote:
>
> Hi Folks!
>
>
> First, thanks for the assistance in the past; has resolved a lot of 
> issues. Hopefully can get this one resolved also, probably just 
> something simple I don’t understand while trying to do my own 
> troubleshooting.
>
>
> Have two Backends – separate IPs and passwords. Wanting to switch to 
> the “new and improved” Backend with better specs and before the old 
> Backend’s motherboard fails. The old system is “BE1” and the 
> new/replacement is “BE2”. So when a (remote) Frontend looks at BE1 
> (old) it plays nice, Fast Forward through commercials is snappy, all 
> is well. Same Frontend on BE2 (new), playback is fine but when hit FF 
> it sits at 3x for a second or two (same frame), then (say) 20 or 30x 
> and the frame is jump-pause-jump-pause – probably takes two or three 
> times as long to get through commercials with the new system as the 
> old, which has a lot faster processor: BE2: AMD Athlon II X2 250 
> Processor – dual core @ 3010.387 MHz, Mythbuntu 64 bit. Did the add 
> ppa for 0.28/ update/upgrade/reboot steps this morning; didn’t help 
> the FF sluggishness problem.
>
>
> On the System Information page with the BE Status:
>
>     Machine Status (@ BE2) (while two shows recoding):
>
>     RAM: 15 GB total, 5.8 GB used, 9.6 (or 62%) free.
>
>     Swap: 3.7 GB, 0 KB used, 3.7 GB (or 100%) free.
>
>
> What may be a little odd is exit and look at System Monitor (at 
> Desktop) it’s graph barely indicates any RAM usage: around 1.0 GiB of 
> 15.4 GiB. Running SysMon, load mythfrontend via Terminal … exit, so 
> SysMon still running. (Swap is 0 bytes at 3.7 GiB.) Both cores show I 
> guess lowish use: right now something is recording and both cores 
> ‘wobbling’ about 15-20% usage. (Later: Recording finished: now both 
> cores idling 0 – 4%.)
>
>
> Both Backends connect to the LAN via the same switch, both are 
> gigabyte LANs. Have tested with four Frontends (one a Raspberry Pi 3 
> I’m working on): BE1, no problem, nice and smooth; BE2, playback is 
> fine but FF, Rewind, and Commercial Rewind (title?) is jumpy/staccato 
> and sluggish.
>
>
> Miscellaneous thoughts:
>
>
> (1) Found how to test the NIC speed:
>
> |||sudo ethtool ||enp4s0||| grep -i speed|    ==> Speed: 1000Mb/s
>
>
> (2) Also found this webpage: 
> https://www.mythtv.org/wiki/Troubleshooting:Prebuffering_pause – uhhh, 
> no idea. Rather ask than screw something up.
>
>
> (3) Also had tried turning off the Frontend portion on the Backend 
> (BE2) – saw comments in the above webpage about a misconfiguration.
>
>
> ...OK, enough of my trying to give you folks enough information to 
> make informed suggestions. TIA!
>
>
> Barry
>
>
For the NIC speed it only shows what it  is capable of running at.

You could try running iperf utility to see what transfer rate you are 
getting from a Frontend to each of your the backends, e.g.

on backend in a terminal run iperf -s (if not installed install it with 
sudo apt install iperf) this sets up iperf  as a server.

on frontend in a terminal run iperf -c <ip address of backend>  after a 
few seconds you should see something like
mike at mike-GL62-7QF:~$ iperf -c 192.168.1.22
------------------------------------------------------------
Client connecting to 192.168.1.22, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.4 port 56566 connected with 192.168.1.22 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   302 MBytes   252 Mbits/sec

In this  case this is a result from my laptop  over wifi to a backend 
connected via gigabit to my router.

mike at mike-GL62-7QF:~$ iperf -c 192.168.1.22
------------------------------------------------------------
Client connecting to 192.168.1.22, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.2 port 57816 connected with 192.168.1.22 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.09 GBytes   933 Mbits/sec

This one is via gigabit interface on my laptop to a backend connected 
via gigabit to my router.

Note there is also a later version of iperf iperf3 just make sure you 
use the same one at both ends.

Mike




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20171101/1e8c8f46/attachment.html>


More information about the mythtv-users mailing list