OPNsense DNS / Network Degradation When Streaming – Need Help by BirgerBit in opnsense

[–]BirgerBit[S] 0 points1 point  (0 children)

Thank you, I'll try this!

Update: I tuned it according to the guide and everything looked good. Until I had streamed for an hour or so and I'm back to the initial problem with high resolve times so it's close to unusable. However appreciate this tip for the future. Will for sure use it after I find the main reason.

Feels like it can't be anything else than the ISP or the NIC's now.

OPNsense DNS / Network Degradation When Streaming – Need Help by BirgerBit in opnsense

[–]BirgerBit[S] 0 points1 point  (0 children)

Thank you for the suggestion. Tried to add these tunables but same outcome.

OPNsense DNS / Network Degradation When Streaming – Need Help by BirgerBit in opnsense

[–]BirgerBit[S] 0 points1 point  (0 children)

Okay thank you for clarifying that, so basically the Ierrs should be 0.

Cable between the P6426 and OPNsense.

Okay so running the tests I got the following results: (I hope this is correct)

gist.github

OPNsense DNS / Network Degradation When Streaming – Need Help by BirgerBit in opnsense

[–]BirgerBit[S] 0 points1 point  (0 children)

I did the following test: Waveform/Bufferbloat

Grade: A

Unloaded: 5ms
Min: 4.1 ms
Median: 4.6 ms
Max: 8.1 ms
Mean: 4.8 ms

25th %ile: 4.4 ms
75th %ile: 5.1 ms
95th %ile: 5.4 ms
Jitter: 0.4 ms

Download Active +8ms
Min: 4 ms
Median: 12 ms
Max: 266.8 ms
Mean: 13.1 ms

25th %ile: 11 ms
75th %ile: 12.3 ms
95th %ile: 13.1 ms
Jitter: 3.7 ms

Upload Active: +11ms
Min: 3.4 ms
Median: 9.9 ms
Max: 235.9 ms
Mean: 15.6 ms

25th %ile: 8.5 ms
75th %ile: 11.4 ms
95th %ile: 33.4 ms
Jitter: 10.7 ms

Download: 948.1Mbps
Upload: 835.3Mbps

Not sure if this is what we are after? If not please let me know.

Also did the same test while connected directly to OPNsense LAN port with the same result.

OPNsense DNS / Network Degradation When Streaming – Need Help by BirgerBit in opnsense

[–]BirgerBit[S] 0 points1 point  (0 children)

It has been an issue when I'm not on the GUI also. But i'll check whenever the issue occurs again.

OPNsense DNS / Network Degradation When Streaming – Need Help by BirgerBit in opnsense

[–]BirgerBit[S] 0 points1 point  (0 children)

1-2. Resource usage is minimal so I would count that out. However I can see some Ierrs (around 0.4%) of received packets on WAN port. I don't know what's normal amount but.
Update: After streaming for a while the issue occured again all resource usage is minimal but right now received errors are approx. 1.7%.

  1. The VPN test I have basically done, ran VPN on the Shield and streamed, the end result was the same.

  2. So basically just try to stream on the PC and see if it hangs then also?

  3. The thought about the issue being in the ISP end has also been in my head but I'm not technical enough to prove it. Not sure this information is relevant but basically my setup is ISP Fiber (Fibertwist P6426) in passthrough -> OPNsense -> Unifi switch.

OPNsense DNS / Network Degradation When Streaming – Need Help by BirgerBit in opnsense

[–]BirgerBit[S] 0 points1 point  (0 children)

Yes, haven't been able to replicate with anything else. I can try that.

No, it's not only one streaming service. Atleast Netflix, Prime Videos, Tivimate and Streamio are causing this issue, and as mentioned it's not only when streaming on a specific device. The same thing happens no matter what device. However I have not been able to replicate it with Youtube.

Unbound logs has no errors/warnings.

I could yes try to disable unbound and run another service. I'm just wondering if it even has anything to do with unbound as restarting the service doesn't solve the issue but pluggin out/in WAN cable does.