I'm using a DIR-860L B1 as a (smart) switch + AP and i wonder if that isn't good for my SQM setup.
My main router is a WRT3200ACM and responsible for my whole network (DHCP, DNS, PPPoE, SQM) but the clients which are connected over my DIR-860L (wired and wireless) seem to act normal...
I've tested my SQM setup with the "betterspeedtest" script while downloading three torrents over qbittorrent and i think the results are okay but when i download a game over steam i get bad ping times (not very stable) at my other clients (hopefully that can be fixed somehow?).
At the moment i'm using the latest build of davidc502: Lede SNAPSHOT r7829-42dc0e2594 / LuCI Master (git-18.222.53504-c2d36ba)
Result with almost no activity at my connection:
root@OpenWRT:/usr/lib/OpenWrtScripts# sh betterspeedtest.sh
2018-08-14 19:13:52 Testing against netperf.bufferbloat.net (ipv4) with 5 simultaneous sessions while pinging gstatic.com (60 seconds in each direction)
.............................................................
Download: 80.69 Mbps
Latency: (in msec, 61 pings, 0.00% packet loss)
Min: 26.149
10pct: 26.399
Median: 26.699
Avg: 26.992
90pct: 28.360
Max: 29.080
.............................................................
Upload: 33.19 Mbps
Latency: (in msec, 61 pings, 0.00% packet loss)
Min: 26.188
10pct: 26.280
Median: 26.662
Avg: 26.723
90pct: 27.012
Max: 29.384
While downloading 3 torrents (~500 connections):
root@OpenWRT:/usr/lib/OpenWrtScripts# sh betterspeedtest.sh
2018-08-14 19:54:23 Testing against netperf.bufferbloat.net (ipv4) with 5 simultaneous sessions while pinging gstatic.com (60 seconds in each direction)
.............................................................
Download: 33.85 Mbps
Latency: (in msec, 61 pings, 0.00% packet loss)
Min: 26.284
10pct: 26.633
Median: 27.092
Avg: 28.503
90pct: 32.465
Max: 41.846
..............................................................
Upload: 26.97 Mbps
Latency: (in msec, 62 pings, 0.00% packet loss)
Min: 26.401
10pct: 26.959
Median: 27.660
Avg: 28.393
90pct: 30.645
Max: 39.011
When downloading a game over steam client (this really bothers me!):
root@OpenWRT:/usr/lib/OpenWrtScripts# sh betterspeedtest.sh
2018-08-14 20:25:02 Testing against netperf.bufferbloat.net (ipv4) with 5 simultaneous sessions while pinging gstatic.com (60 seconds in each direction)
.............................................................
Download: 41.32 Mbps
Latency: (in msec, 61 pings, 0.00% packet loss)
Min: 26.402
10pct: 26.613
Median: 27.757
Avg: 29.787
90pct: 33.192
Max: 53.241
.............................................................
Upload: 28.28 Mbps
Latency: (in msec, 60 pings, 0.00% packet loss)
Min: 26.641
10pct: 27.020
Median: 29.391
Avg: 34.662
90pct: 51.482
Max: 76.017
SQM config:
Another thing that i'm confused about is that my config queue = 'eth1', i guess it should be wan or eth1.2 (my wan interface)... imho very strange.
config queue 'eth1'
option ingress_ecn 'ECN'
option egress_ecn 'ECN'
option itarget 'auto'
option etarget 'auto'
option interface 'pppoe-wan'
option debug_logging '0'
option verbosity '5'
option qdisc 'cake'
option qdisc_advanced '1'
option squash_dscp '1'
option squash_ingress '1'
option qdisc_really_really_advanced '1'
option iqdisc_opts 'nat dual-dsthost ingress'
option eqdisc_opts 'nat dual-srchost'
option linklayer 'ethernet'
option overhead '34'
option linklayer_advanced '1'
option tcMTU '2047'
option tcTSIZE '128'
option tcMPU '64'
option linklayer_adaptation_mechanism 'default'
option download '90000'
option upload '35200'
option enabled '1'
option script 'layer_cake.qos'
And right now i'm trying to figure out how to make SQM @layer_cake work with DSCP markings to put my steam downloads into the bulk class so my ping will stay low while someone on my network is downloading something over the steam client.