Network Performance
QoS and SQM: the under-used fix for home network lag
A modern home network rarely fails because of bandwidth. It fails because one flow — a backup, an OS update, a single 4K stream — monopolizes the queue and everything else waits. QoS and SQM are the answers most users have never been told about.
The bufferbloat problem
Network devices buffer packets when the link is full, hoping the receiver catches up. Big buffers trade a tiny bit of throughput for huge latency spikes — packets sit in queues for hundreds of milliseconds. This is bufferbloat, and it's why your ping jumps from 20 ms to 800 ms the moment a download starts.
Traditional QoS
Manual classification: 'this traffic is voice — priority high', 'this is bulk download — priority low'. Effective when properly configured but fragile (rules go stale as apps change ports, encrypted traffic is hard to classify).
Smart Queue Management (SQM)
Modern alternative. Algorithms like fq_codel and CAKE automatically detect which flows are interactive vs bulk by their behavior, and fairly schedule airtime/bandwidth. No per-application configuration required.
Result: a saturated link keeps gaming pings stable, call quality clean, and web pages responsive — while bulk transfers still get the bandwidth they need.
How to enable it
- OpenWrt routers — install the
sqmpackage, set link speeds to ~85–95% of your real upload/download. - Asus, Netgear, TP-Link mid-range and above — look for 'Adaptive QoS', 'Dynamic QoS', or 'Smart Queue' in the admin panel.
- Ubiquiti / EdgeRouter — Smart Queue in the QoS section.
- Eero, Google Wi-Fi, Nest Wi-Fi — auto-managed; no user toggle but reasonable defaults.
Tuning tips
- Set bandwidth caps slightly below your real measured throughput — the router needs headroom to manage queues effectively.
- Verify the result by running a bufferbloat test (loaded vs unloaded latency).
- Re-measure after any plan change — caps need to track your line speed.