Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
troubleshooting:network_packet_loss [2019/06/13 01:21]
neds [Network loss due to the PC network card]
troubleshooting:network_packet_loss [2023/11/13 01:43] (current)
neds
Line 1: Line 1:
 ====== Troubleshooting network packet loss ====== ====== Troubleshooting network packet loss ======
 +<btn type="​success"​ size="​xs"​ icon="​fa fa-chevron-left">​[[:​Troubleshooting|Go back to all troubleshooting topics]]</​btn>​
 +
 +===== Testing for packet loss =====
 +<WRAP indent>
 +
 +==== Low level test for network packet loss - Windows ====
 +<WRAP indent>
 +
 +From a cmd prompt run: <​code>​
 +"​C:​\Program Files\Silicondust\HDHomeRun\hdhomerun_config"​ FFFFFFFF set /​tuner0/​vchannel <channel number>
 +"​C:​\Program Files\Silicondust\HDHomeRun\hdhomerun_config"​ FFFFFFFF save /tuner0 null</​code>​
 +
 +Replace "<​channel number>"​ with one of your HD channels. For HDHomeRun PRIME, make sure that it is a non-DRM channel.
 +
 +If you have more than one HDHomeRun unit then replace "​FFFFFFFF"​ with the device ID of the desired unit.
 +
 +You should see a series of dots. "​n"​ indicates network packet loss. "​t"​ indicates a reception error. "​s"​ is informational.
 +
 +</​WRAP>​
 +
 +==== Low level test for network packet loss - Mac/Linux ====
 +<WRAP indent>
 +
 +From Terminal (Mac) or a shell on Linux, run: <​code>​
 +hdhomerun_config FFFFFFFF set /​tuner0/​vchannel <channel number>
 +hdhomerun_config FFFFFFFF save /tuner0 null</​code>​
 +
 +Replace "<​channel number>"​ with one of your HD channels. For HDHomeRun PRIME, make sure that it is a non-DRM channel.
 +
 +If you have more than one HDHomeRun unit then replace "​FFFFFFFF"​ with the device ID of the desired unit.
 +
 +You should see a series of dots. "​n"​ indicates network packet loss. "​t"​ indicates a reception error. "​s"​ is informational.
 +
 +</​WRAP>​
 +
 +==== Low level test for network packet loss - Legacy devices ====
 +<WRAP indent>
 +
 +1) Run HDHomeRun Setup and go into the channel editor. Choose a physical channel number (for example CH45). This is the number before the - in the Tune column.
 +
 +2) From a cmd prompt run: <​code>​
 +"​C:​\Program Files\Silicondust\HDHomeRun\hdhomerun_config"​ FFFFFFFF set /​tuner0/​channel auto:<​channel number>
 +"​C:​\Program Files\Silicondust\HDHomeRun\hdhomerun_config"​ FFFFFFFF save /tuner0 null</​code>​
 +
 +Replace "<​channel number>"​ with the physical channel number from HDHomeRun Setup (e.g. 45).
 +
 +If you have more than one HDHomeRun unit then replace "​FFFFFFFF"​ with the device ID of the desired unit.
 +
 +You should see a series of dots. "​n"​ indicates network packet loss. "​t"​ indicates a reception error. "​s"​ is informational.
 +
 +</​WRAP>​
 +</​WRAP>​
 +
 +===== Common issues and solutions =====
 +<WRAP indent>
  
 ==== Network loss due to wireless ==== ==== Network loss due to wireless ====
 +<WRAP indent>
 +
 We recommend using a wired network for streaming high-definition video. We recommend using a wired network for streaming high-definition video.
  
Line 15: Line 72:
 If the router permits limiting the network speed to something below its theoretical max, try utilizing that. For example, eather than the typical 108Mb/s max for 802.11n, try limiting it to 72 or 54Mb/s operation. While in theory this will limit the maximum performance of the network, in practice the network will operate more reliably at the lower speed, minimizing speed fluctuations that can cause packet loss. If the router permits limiting the network speed to something below its theoretical max, try utilizing that. For example, eather than the typical 108Mb/s max for 802.11n, try limiting it to 72 or 54Mb/s operation. While in theory this will limit the maximum performance of the network, in practice the network will operate more reliably at the lower speed, minimizing speed fluctuations that can cause packet loss.
  
 +</​WRAP>​
  
 ==== Network loss due to Windows network throttling ==== ==== Network loss due to Windows network throttling ====
 +
 +<WRAP indent>
 +
 http://​support.microsoft.com/​kb/​948066 http://​support.microsoft.com/​kb/​948066
  
Line 26: Line 87:
 You will need to reboot after making this change. You will need to reboot after making this change.
  
 +</​WRAP>​
  
 ==== Network loss due to the PC network card ==== ==== Network loss due to the PC network card ====
 +<WRAP indent>
 +
   - <​wrapper>​Open network settings\\   - <​wrapper>​Open network settings\\
 (Win7/8) Go into Control Panel, View network status and tasks, Change adapter settings\\ (Win7/8) Go into Control Panel, View network status and tasks, Change adapter settings\\
Line 37: Line 101:
     - Intel based interface: Click Configure and switch to the Advanced tab. Test with alternative Interrupt Mitigation settings.     - Intel based interface: Click Configure and switch to the Advanced tab. Test with alternative Interrupt Mitigation settings.
     - All interfaces: Click Configure are switch to the Advanced tab. Increase the Receive Buffer size (if this option is present). Test with the Interrupt Mitigation/​Moderation setting both On and Off (if this option is present). If the issues persist after adjusting these settings, try disabling all options referencing "​offload"​.     - All interfaces: Click Configure are switch to the Advanced tab. Increase the Receive Buffer size (if this option is present). Test with the Interrupt Mitigation/​Moderation setting both On and Off (if this option is present). If the issues persist after adjusting these settings, try disabling all options referencing "​offload"​.
 +
 +</​WRAP>​
  
 ==== Network loss due to a 3rd party software firewall ==== ==== Network loss due to a 3rd party software firewall ====
 +<WRAP indent>
 +
 We have seen instances where some 3rd party firewall drivers fail to keep up with streaming HD video over RTP. We have seen instances where some 3rd party firewall drivers fail to keep up with streaming HD video over RTP.
  
Line 45: Line 113:
 If uninstalling the 3rd party firewall fixes the problem then 1) Try upgrading to the latest version, or 2) contact the firewall vendor, or 3) consider using an alternative firewall such as Windows Firewall. If uninstalling the 3rd party firewall fixes the problem then 1) Try upgrading to the latest version, or 2) contact the firewall vendor, or 3) consider using an alternative firewall such as Windows Firewall.
  
-==== Network loss in macOS ==== +</WRAP
-Create a file called sysctl.conf in /etc (this must be done as root or using sudo) and add the following lines:<​code>kern.ipc.maxsockbuf=2097152 +</WRAP>
-net.inet.tcp.sendspace=1048576 +
-net.inet.tcp.recvspace=1048576 +
-net.inet.udp.recvspace=81920 +
-net.inet.udp.maxdgram=65535</code>+
  
-Save the file and then reboot the computer.+{{tag>​troubleshooting}}
  • Last modified: 2019/06/13 01:21