Diagnosing poor video streaming WNDR3800

Hello all,

I've been having problems streaming games from my wired connection to my WNDR3800 (OpenWrt 19.07.4) on a 1Gbps up/down fiber connection. At first I was blaming Discord but testing twitch and then control testing by USB tetherining to my phone I finally have concluded it's something with the router itself.

when testing with Twitch the broadcast software will complain about upload being limited to about 160 kbps.

Normal bandwidth speedtesting of the router is as follows:

Here's some results from running ./netperfrunner.sh and ./betterspeedtest.sh

root@LEDE:~# ./netperfrunner.sh
2020-12-10 07:25:31 Testing netperf.bufferbloat.net (ipv4) with 4 streams down and up while pinging gstatic.com. Takes about 60 seconds.
 Download:  60.81 Mbps
   Upload:  68.42 Mbps
  Latency: (in msec, 61 pings, 0.00% packet loss)
      Min: 36.246
    10pct: 36.276
   Median: 36.449
      Avg: 37.312
    90pct: 38.415
      Max: 63.358




root@LEDE:~# ./betterspeedtest.sh
2020-12-28 05:14:08 Testing against netperf.bufferbloat.net (ipv4) with 5 

simultaneous sessions while pinging gstatic.com (60 seconds in each 

direction)
............................................................
 Download: 143.01 Mbps
  Latency: (in msec, 61 pings, 0.00% packet loss)
      Min: 36.319
    10pct: 36.575
   Median: 38.007
      Avg: 39.216
    90pct: 42.060
      Max: 55.020
...........................................................
   Upload: 78.52 Mbps
  Latency: (in msec, 61 pings, 0.00% packet loss)
      Min: 36.394
    10pct: 36.471
   Median: 36.794
      Avg: 38.643
    90pct: 37.658
      Max: 77.529

Is software offloading enabled?

It is currently not enabled, I have SQM configured. Shall I disable SQM, enable software offloading and re-run tests?

I also re-ran betterspeedtest.sh and updated OP

Software offloading is compatible with SQM.

But I don't think your router's CPU can handle 1Gbps with SQM, even with offloading enabled.

1 Like

okay, I willing to accept it might be the router itself.

Is there any way to test for certain however?

What is it about video streaming (upload) that this router is failing at?
As downloading performance in general seems fine.

root@LEDE:~# ./betterspeedtest.sh
2020-12-28 05:27:16 Testing against netperf.bufferbloat.net (ipv4) with 5 simultaneous sessions while pinging gstatic.com (60 seconds in each direction)
............................................................
 Download: 145.29 Mbps
  Latency: (in msec, 61 pings, 0.00% packet loss)
      Min: 36.072
    10pct: 36.417
   Median: 37.889
      Avg: 38.856
    90pct: 41.010
      Max: 69.028
...........................................................
   Upload: 85.18 Mbps
  Latency: (in msec, 61 pings, 0.00% packet loss)
      Min: 36.099
    10pct: 36.253
   Median: 36.659
      Avg: 40.902
    90pct: 52.556
      Max: 99.672
root@LEDE:~# ./netperfrunner.sh
2020-12-28 05:29:30 Testing netperf.bufferbloat.net (ipv4) with 4 streams down and up while pinging gstatic.com. Takes about 60 seconds.
 Download:  53.82 Mbps
   Upload:  71.99 Mbps
  Latency: (in msec, 60 pings, 0.00% packet loss)
      Min: 36.182
    10pct: 36.620
   Median: 40.087
      Avg: 48.146
    90pct: 70.838
      Max: 128.872

Don't run speed test scripts directly on the router, it may starve your router's CPU.
Run it on a PC.

dslreports gigabit fiber test

My original post also has metrics from this test too.

So I just fired up twitch and tested and it reported 1500 kbps upload now, I think that may have fixed it!

I'll turn it off/on a few times to test with/without again.
Can you tell me exactly what this feature does?