Budget router SQM settings for gaming: fix bufferbloat before you buy anything
90 percent. That is the setting this entire fix turns on: cap your router at about 90 percent of your measured line speed, and the lag spikes that appear whenever someone else in the house uploads or downloads mostly stop. The remaining 10 percent is not waste. It is the price of moving the queue out of your internet provider's equipment and into your router, where software you control decides which packet goes first. Everything below is the procedure, the two traps that make it fail on budget hardware, and the retest that tells you whether it worked.
Why the queue moves into your router
Bufferbloat is excessive delay caused by data waiting in oversized network queues. The diagnostic is simple: compare your latency while the connection is idle with your latency while a download or upload is running. If the second number balloons, a queue somewhere is filling up and game packets are standing in it behind bulk traffic. The queue that matters sits at the slowest link, which in most homes is the modem's upload side or the provider's side of the download.
Smart Queue Management, SQM, fixes the queue rather than avoiding it. A flow-queueing algorithm such as fq_codel or CAKE gives each connection its own short queue, so a game flow never waits behind a single bulk transfer. The catch is structural: SQM can only manage a queue it owns. Capping your router slightly below the real line rate, somewhere in the 85 to 95 percent band, makes your router the bottleneck on purpose. The queue forms there, under the algorithm, instead of upstream where nothing can reorder it.
The setup procedure, step by step
This procedure follows the OpenWrt SQM documentation summaries checked on 24 November 2026. If your current router already offers SQM, fq_codel or CAKE in its own menus, steps 1 and 3 to 6 apply with your router's labels; the OpenWrt install in step 2 is only for routers that lack the feature.
- Measure first, wired. Connect a computer to the router by Ethernet, pause other traffic, and run a speed test plus a bufferbloat test three times. Write down the lowest download and upload figures and your loaded latency. Those are the numbers every later step uses.
- Find or install the setting. On a stock router, log into the admin panel (typically 192.168.1.1 or 192.168.0.1) and look for SQM, fq_codel, CAKE, or a generic QoS or bandwidth control page. On OpenWrt, install the package from System, Software (update the lists, then install luci-app-sqm; from a shell,
opkg update && opkg install luci-app-sqm, or the apk equivalent on newer releases), then open Network, SQM QoS. - Enable it on the WAN interface and enter your speeds in kbit/s. OpenWrt wants kilobits: 100 Mbps is entered as 100000. Enter about 90 percent of your measured figures to start. A worked example from the setup guides: on a 300/50 Mbps cable plan, set the upload limit to 45 Mbps; on a 40/40 Mbps fibre plan, 36 Mbps up.
- Choose the queue discipline. Pick cake with the piece_of_cake.qos script where the router can run it. On slower hardware that cannot keep up with CAKE at your line speed, fq_codel with simple.qos is the documented fallback and uses less CPU.
- Set the link layer. On the Link Layer Adaptation tab, match your connection type: DSL uses ATM or Ethernet with the overhead your line uses; cable and fibre can stay at the default or use Ethernet with overhead 44.
- Turn off hardware flow offloading. SQM processes every packet on the router's CPU, and fixed-function offload silicon bypasses it entirely, so an offloading setting left on quietly disables the whole fix. On OpenWrt it sits under Network, Firewall, Routing/NAT Offloading.
- Save, apply, and retest under the same conditions. Run the same bufferbloat test from step 1. Success looks like this: your loaded latency stays close to your idle latency while a download and an upload run, and the test grade improves. If the grade is still B or worse, drop both limits to 85 percent, then 80 percent, retesting each time.
Two situational notes. If the bloat lives in an internet provider's combo modem that your router sits behind, ask the provider for bridge mode, also called modem-only mode, and let your SQM router own the queue; SQM still works without bridge mode as long as all gaming devices connect through the shaping router and its WAN rate is set below the real line rate. And wire the gaming machine or console where you can: even a good Wi-Fi 6 setup adds 1 to 3 ms of jitter that Ethernet does not, and no queue setting removes airtime jitter.
The two traps: router CPU ceilings and hardware revisions
Trap one is arithmetic. Because SQM runs on the router's processor with offloading disabled, the router's CPU sets a hard ceiling on the line speed it can shape. Setup documentation puts cheap routers at roughly 300 to 500 Mbps of shaping capacity. Chip-level figures are lower: dual-core MT7621 hardware shapes roughly 200 to 300 Mbps, and a single-core MT7628 tops out around 40 to 60 Mbps. On a gigabit plan, a budget router with SQM enabled will deliver far below your old speed test result, not because the setting is wrong but because the processor is saturated. The symptom to recognize is a speed test that collapses well below your 90 percent cap; the remedies are the lighter fq_codel discipline, a lower cap, or faster hardware, in that order.
Trap two is the box label. The same router model name ships with different chips in different hardware revisions, and OpenWrt support follows the chip, not the name. The documented example is the TP-Link Archer A6: version 2 uses a Qualcomm QCA9563 that runs OpenWrt but shapes slowly, version 3 uses the MediaTek MT7621 that SQM guides recommend, and version 4 uses a MediaTek chip OpenWrt does not support at all. All three boxes say Archer A6. Before buying any router for SQM, check the hardware version printed on the box label against the OpenWrt Table of Hardware. Routers with long-standing OpenWrt support named in the setup guides include the TP-Link Archer C7 v2 and v5, the Linksys WRT3200ACM, and the Netgear R7800, and even there the version suffix is doing the work.
Retest, then decide whether any purchase is justified
The order of operations is the budget advice. Run the free fix first: many routers already ship a QoS page, and the pause-or-schedule trick costs nothing either, since the biggest latency spikes usually come from one upload saturating the smaller upstream pipe, a cloud backup, a photo sync, or a console downloading a game. Schedule those for overnight and a share of the problem leaves before any setting changes. Then enable SQM on hardware you own and retest. A purchase is justified only when the retest shows one of two things: your router has no SQM or QoS at any menu depth, or its CPU ceiling sits below your line speed and fq_codel at a lower cap still grades poorly. At that point you are buying a processor and a revision number, not a gaming brand, and the label check above is the whole shopping skill.
— Dex Carter, Tech Writer