Hey All,
I am having trouble with SQM in the download direction:
I recently setup a new linksys e8450 in a location with very low bandwidth, 1.5Mb down, 0.5Mb up. I discovered SQM does not keep the download throughput below what is configured, which causes latency to spike. Even if I configure SQM for very low download, say 0.75Mb down, download speed still reaches 1.5Mb and latency spikes.
I am now testing this from my office with a high speed network on the WAN side. I have also tested an OpenWRT One and an X86 based router, the results are the same.
I have tried several 24.10 builds including an older one from back in March 2025.
I have all offloading and WED disabled.
For testing, I have SQM configured like this (this is mostly the default config):
config queue 'eth1'
option enabled '1'
option interface 'wan'
option download '10240'
option upload '10240'
option qdisc 'cake'
option script 'piece_of_cake.qos'
option qdisc_advanced '0'
option ingress_ecn 'ECN'
option egress_ecn 'ECN'
option qdisc_really_really_advanced '0'
option itarget 'auto'
option etarget 'auto'
option linklayer 'none'
When using bwm-ng, it is easy to see that the download speed is not being restricted by the IFB like it should be, causing the modem’s buffer to fill and latency to spike:
bwm-ng v0.6.3 (delay 1.000s);
input: /proc/net/dev; press 'ctrl-c' to end this
\ iface Rx Tx Total
==============================================================================
wan: 1471.85 KB/s 58.85 KB/s 1530.69 KB/s
br-lan: 47.05 KB/s 1250.20 KB/s 1297.25 KB/s
ifb4wan: 1251.76 KB/s 1251.76 KB/s 2503.52 KB/s
------------------------------------------------------------------------------
total: 2769.40 KB/s 2559.56 KB/s 5328.96 KB/s
Download speed should never go over 1280KB/s.
Note how the wan speed is higher than the ifb4wan speed, they should be nearly identical right? The ifb4wan speed is correct, but the wan speed is too high. I’ve seen wan speed run 2X the ifb4wan speed.
I have spent hours trying various SQM and network options… I am at a loss, hopefully someone can give me a suggestion or pointer?
This is a low speed connection so I understand this configuration is probably not used much anymore, so perhaps nobody else has noticed this issue?
Thanks!