(This topic relates to 18.06-rc1)
My old router, a Linksys EA8500 (ipq806x), was unable to shape 100Mbit, and topped out around 92 with 100% irq load on 1 core.
So, out with the old and in with the new, and I bought myself a Shuttle DS77U. It has the Celeron 3865U. It has dual intel gigabit, and I'm just using the simple WAN in one port, LAN in the other to a dumb switch.
I cannot for the life of me get SQM to work properly. The ingress and egress settings don't seem to have any effect and the dslreports speedtest shows full bufferbloat ~500ms.
ifconfig:
br-lan Link encap:Ethernet HWaddr 80:EE:73:D2:B9:55
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::82ee:73ff:fed2:b955/64 Scope:Link
inet6 addr: 2600:6c44:527f:e71f::1/64 Scope:Global
inet6 addr: fd8b:869f:3c13::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1298275 errors:0 dropped:0 overruns:0 frame:0
TX packets:2059444 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:164342284 (156.7 MiB) TX bytes:2429098283 (2.2 GiB)
eth0 Link encap:Ethernet HWaddr 80:EE:73:D2:B9:55
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1309532 errors:0 dropped:19 overruns:0 frame:0
TX packets:2589897 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:183226142 (174.7 MiB) TX bytes:2464354389 (2.2 GiB)
Memory:df000000-df01ffff
eth1 Link encap:Ethernet HWaddr 80:EE:73:D2:B9:54
inet addr:71.xx.xx.xxx Bcast:71.xx.xx.255 Mask:255.255.254.0
inet6 addr: fe80::82ee:73ff:fed2:b954/64 Scope:Link
inet6 addr: 2600:6c44:7004:100:xxxx:xxxx:xxxx:xxxx/128 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2181936 errors:0 dropped:0 overruns:0 frame:0
TX packets:1244996 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2270370957 (2.1 GiB) TX bytes:208018850 (198.3 MiB)
Interrupt:16 Memory:df100000-df120000
ifb4eth1 Link encap:Ethernet HWaddr 6A:7C:2E:73:95:EE
inet6 addr: fe80::687c:2eff:fe73:95ee/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:28768 errors:0 dropped:0 overruns:0 frame:0
TX packets:28768 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:33763959 (32.1 MiB) TX bytes:33763959 (32.1 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:5632 errors:0 dropped:0 overruns:0 frame:0
TX packets:5632 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:419158 (409.3 KiB) TX bytes:419158 (409.3 KiB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
inet6 addr: fe80::65e9:af65:a1ce:c360/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:28927 errors:0 dropped:0 overruns:0 frame:0
TX packets:34122 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3849635 (3.6 MiB) TX bytes:31900477 (30.4 MiB)
/etc/config/sqm:
config queue 'eth1'
option ingress_ecn 'ECN'
option itarget 'auto'
option etarget 'auto'
option upload '10800'
option debug_logging '0'
option qdisc 'cake'
option script 'piece_of_cake.qos'
option qdisc_advanced '1'
option squash_dscp '1'
option squash_ingress '1'
option egress_ecn 'NOECN'
option qdisc_really_really_advanced '1'
option iqdisc_opts 'mpu 64'
option eqdisc_opts 'mpu 64'
option linklayer 'ethernet'
option overhead '18'
option linklayer_advanced '1'
option tcMTU '2047'
option tcTSIZE '128'
option tcMPU '0'
option linklayer_adaptation_mechanism 'cake'
option interface 'eth1'
option enabled '1'
option verbosity '8'
option download '108300'
logread | grep SQM:
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: Stopping SQM on eth1
Thu Jul 12 14:53:57 2018 user.notice SQM: Starting SQM script: piece_of_cake.qos on eth1, in: 108300 Kbps, out: 10800 Kbps
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: Starting SQM script: piece_of_cake.qos on eth1, in: 108300 Kbps, out: 10800 Kbps
Thu Jul 12 14:53:57 2018 user.notice SQM: QDISC cake is useable.
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: QDISC cake is useable.
Thu Jul 12 14:53:57 2018 user.notice SQM: Starting piece_of_cake.qos
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: Starting piece_of_cake.qos
Thu Jul 12 14:53:57 2018 user.notice SQM: ifb associated with interface eth1:
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: ifb associated with interface eth1:
Thu Jul 12 14:53:57 2018 user.notice SQM: Currently no ifb is associated with eth1, this is normal during starting of the sqm system.
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: Currently no ifb is associated with eth1, this is normal during starting of the sqm system.
Thu Jul 12 14:53:57 2018 user.notice SQM: egress
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: egress
Thu Jul 12 14:53:57 2018 user.notice SQM: cake link layer adjustments: overhead 18 mpu 0
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: cake link layer adjustments: overhead 18 mpu 0
Thu Jul 12 14:53:57 2018 user.notice SQM: egress shaping activated
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: egress shaping activated
Thu Jul 12 14:53:57 2018 user.notice SQM: QDISC ingress is useable.
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: QDISC ingress is useable.
Thu Jul 12 14:53:57 2018 user.notice SQM: ingress
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: ingress
Thu Jul 12 14:53:57 2018 user.notice SQM: cake link layer adjustments: overhead 18 mpu 0
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: cake link layer adjustments: overhead 18 mpu 0
Thu Jul 12 14:53:57 2018 user.notice SQM: ingress shaping activated
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: ingress shaping activated
Thu Jul 12 14:53:57 2018 user.notice SQM: piece_of_cake.qos was started on eth1 successfully
Thu Jul 12 14:53:57 2018 daemon.err uhttpd[2118]: SQM: piece_of_cake.qos was started on eth1 successfully
tc -d qdisc:
qdisc noqueue 0: dev lo root refcnt 2
qdisc mq 0: dev eth0 root
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc cake 8028: dev eth1 root refcnt 2 besteffort flowblind rtt 5.0ms raw overhead 18 mpu 1
qdisc ingress ffff: dev eth1 parent ffff:fff1 ----------------
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc fq_codel 0: dev tun0 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc cake 8029: dev ifb4eth1 root refcnt 2 besteffort flowblind wash rtt 5.0ms raw overhead 18 mpu 1
Sorry for the information overload. It occurs to me that this could also be an issue with 18.06-rc1, as the upgrade to that and the new pc came at the same time, but perhaps it's just an issue with the interface names or something.