I'm kicking off this topic specifically for discussion around AQL and other wireless latency points. This is not meant to be another topic for discussing SQM on the ethernet side of the device.
Having been inspired by this, myself, I wonder if I might entice anyone to join with me in experimenting a little. I interested to see if anyone is willing to run the following and do some buffer bloat tests (of your choosing).
For 2.4ghz radio:
22.03.x: for ac in 0 1 2 3; do echo $ac 1500 1500 > /sys/kernel/debug/ieee80211/phy0/aql_txq_limit; done
Snapshot: for ac in 0 1 2 3; do echo $ac 1500 1500 > /sys/kernel/debug/ieee80211/wl0/aql_txq_limit; done
For 5ghz radio:
22.03.x: for ac in 0 1 2 3; do echo $ac 1500 1500 > /sys/kernel/debug/ieee80211/phy1/aql_txq_limit; done
Snapshot: for ac in 0 1 2 3; do echo $ac 1500 1500 > /sys/kernel/debug/ieee80211/wl1/aql_txq_limit; done
You can confirm the settings applied by checking the following:
For 22.03.x: cat /sys/kernel/debug/ieee80211/phy*/aql_txq_limit
For Snapshot: cat /sys/kernel/debug/ieee80211/wl*/aql_txq_limit
It should look something like this:
root@AP:~# cat /sys/kernel/debug/ieee80211/wl*/aql_txq_limit
AC AQL limit low AQL limit high
VO 1500 1500
VI 1500 1500
BE 1500 1500
BK 1500 1500
AC AQL limit low AQL limit high
VO 1500 1500
VI 1500 1500
BE 1500 1500
BK 1500 1500
If you do test, some before and after buffer bloat results would be most interesting. Thanks!
I'm sure @dtaht will be interested in joining in here, as well.
Update 05/14/2024:
@tohojo Provides a great explanation of these settings here:
Soapbox moment... it's generally believed that "fast" WiFi means "high bandwidth". Every wireless device maker proves this by advertising fancy model names with BIG numbers (e.g. AX3200 or AX11000) that people will think are impressive. Yet, how many of them publish latency reduction (AQL, BQL, Airtime Fairness, etc.) figures?
The majority of consumers don't realize that the "fast" they feel is more a product of lower latency than higher bandwidth. That's my ultimate hope of this thread, and the numerous other threads like this one. Just want to help people FEEL the difference for themselves and start demanding better of manufacturers.