Kodi Community Forum
Buffering ONLY when Kodi's MythTV Addon is behind a Router! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: MythTV (https://forum.kodi.tv/forumdisplay.php?fid=170)
+---- Thread: Buffering ONLY when Kodi's MythTV Addon is behind a Router! (/showthread.php?tid=358238)



Buffering ONLY when Kodi's MythTV Addon is behind a Router! - LHoust - 2020-11-07

Currently I am performing some short term testing with a Second Router behind my Internet Router and I was curious to see whether Kodi could stream MythTV Recordings when connecting through a Router.  Although with my current configuration of Gargoyle 1.12.0, Local Hostnames on the LAN closest to my Internet Router will NOT Resolve, if the MythTV Addon is configured with the IP Address of the MythTV Host on the LAN closest to my Internet Router, I am able to Stream from Kodi Clients connected to the LAN behind the Router furthest from my Internet Router!

Then curiously I noticed one Kodi Client on the LAN furthest from my Internet Router would sometimes experience some Buffering Issues (when that same Kodi Client has experienced none previously).  With further investigation: I noticed the CPU Load of the Kodi Client Machine on the LAN furthest from the Internet Router will be Double or even Triple when streaming from the MythTV Server on the LAN closest to the Internet Router (compared to when that same Kodi Client Machine was connected to the same LAN as the MythTV Server).  Additionally artificially dropping a 1 Gbit Kodi Client's connection to the Router furthest from the Internet Router down to 100 Mbit, increases its likelihood of experiencing Buffering Issues?

My testing with this Second Router is only Temporary and my iperf3 results demonstrate there is 5 times the bandwidth available for 100 Mbit Kodi Clients than should be required to avoid Buffering, when a Kodi Client is NOT connected on the same LAN as the MythTV Server...  I am curious to understand why Kodi's MythTV Addon might be performing so much more poorly when its connection to the MythTV Server is through a Router (TP-Link Archer C7 V5.0)?


RE: Buffering ONLY when Kodi's MythTV Addon is behind a Router! - jmgibson1981 - 2020-11-16

Ok simple problem first. Why a second router? Just to test or experiment? Or using just for more ethernet ports?

Is there a way you can do a simple diagram explaining this a bit more clearly?


RE: Buffering ONLY when Kodi's MythTV Addon is behind a Router! - LHoust - 2020-11-17

(2020-11-16, 17:19)jmgibson1981 Wrote: Ok simple problem first. Why a second router? Just to test or experiment? Or using just for more ethernet ports?

Is there a way you can do a simple diagram explaining this a bit more clearly?
Correct, adding the Second Router was Testing 3rd Party Firmware on the Second Router (the NETGEAR Router in the following diagram), with follow up measurements of throughput with Home "Type" NAT Routers!
NOTE: All Traffic was Local between the two Local Subnets!

Here is a Netgear Network Diagram showing what a Double NAT Router Setup looks like: There are two Local Subnets (one upstream of the other), and both Subnets are located behind the Internet Router.
Referring to Netgear's Diagram: When Kodi with the MythTV Addon is connected to the Netgear Router and the MythTV Server is connected to the non-Netgear Router, I sometime experience Buffering Issues, even though iperf3 measurements demonstrated that I have much more "Raw" Bandwidth than Streaming of MythTV Recording should require!

Image