How to fix bufferbloat
If your bufferbloat grade is C or worse, turn on smart queue management (SQM) in your router. It keeps a download or upload from filling the queue that your game and call packets wait in. Where the setting asks for your speed, start just below what you measured, then test again. If your router has no such setting, a router that has one is the fix.
What causes it
Your router and modem hold packets in a queue when the line is full. When those queues are too big, every packet waits behind a backlog of download or upload data, so ping jumps the moment someone starts a download, a cloud backup or a video upload. bufferbloat.net calls it the delay that comes from a router or other equipment buffering too much data.
That's what your grade measures: how much ping rises while our test fills the line.
| Grade | Ping rise under load | What it means |
|---|---|---|
| A | Under 20 ms | Ping barely rises under load. |
| B | 20 to 49 ms | A small rise; most people won't notice. |
| C | 50 to 99 ms | Noticeable lag while something else downloads or uploads. |
| D | 100 to 199 ms | Games and calls suffer whenever the line is busy. |
| F | 200 ms or more | Any download or upload makes everything lag. |
For example, an idle ping of 18 ms that climbs to 240 ms during the download test is a rise of 222 ms: grade F. Our verdict wants B or better for competitive games and C or better for video calls.
A faster plan doesn't fix it. The queue still fills, just a little sooner. The fix is to manage the queue.
The fix: smart queue management
Smart queue management (SQM) does two things. It shapes your traffic to just below your line's speed, so the queue builds in your router, where it can be managed, instead of in the modem. Then it keeps that queue short and shares it fairly between connections, so a game's small packets don't wait behind a big download. bufferbloat.net's advice is to use a router running one of the SQM algorithms such as cake or fq_codel. Cake is the newer of the two and builds on fq_codel.
The trade-off: shaping below your line's speed gives up a little top speed. You lose a few percent of your download and upload in exchange for a ping that stays put.
Turn it on, by router
Menus below are copied from each maker's help pages. Firmware updates move things, so check the linked page if yours differs.
OpenWrt
- In LuCI, go to System → Software and install
sqm-scriptsandluci-app-sqm, as OpenWrt's SQM guide describes. - Go to Network → SQM QoS.
- On Basic Settings, tick Enable this SQM instance. and set Interface name to your internet (WAN) interface.
- Set Download speed (ingress) and Upload speed (egress) in kbit/s. OpenWrt's SQM details page says to measure your speed with SQM turned off, then enter 95% of those numbers.
- On Queue Discipline, leave Queueing discipline on
cakeand Queue setup script onpiece_of_cake.qos, the defaults. - Leave Link Layer Adaptation alone unless you're on DSL; the SQM details page covers DSL overhead.
- Save and apply.
OpenWrt's guide also notes that hardware flow offloading (under Network → Firewall) doesn't work with SQM, so leave it off; software flow offloading is fine.
eero
eero's help page calls the feature Smart Queue Management (SQM):
- In the eero app, tap Settings.
- Tap Advanced networking.
- Under Network services, tap SQM and turn the toggle on.
eero warns that some devices may see slower speeds with SQM on, and that it isn't available in bridge mode. There's no speed to enter: eero sets it.
UniFi
On a UniFi gateway, the feature is Smart Queues. Turn it on for your internet connection and enter Upload and Download values; client speeds are then capped at those values. Ubiquiti says it's meant for connections under 300 Mbps and doesn't recommend it at 300 Mbps or more. Ubiquiti's page doesn't give a menu path or a value to enter; start just below your measured speeds, as the OpenWrt and bufferbloat.net guidance says.
ASUS
ASUS routers have Adaptive QoS and a Bandwidth Limiter, and only one QoS function can run at a time.
- Adaptive QoS: in the router's web interface, click Adaptive QoS on the left, click Enable QoS, set the QoS type to Adaptive QoS, choose a mode (ASUS's example is Games) and click Apply. On newer models the menu is called Adaptive QoE: open the Adaptive QoE tab, turn the QoS Switch on, choose a mode and click Apply.
- Bandwidth Limiter: this caps one device at a time, which helps when one PC or console's downloads swamp the line. ASUS says each limit must be lower than your plan's maximum or it has no effect. On older firmware it's under Adaptive QoS → QoS, with Bandwidth limiter as the QoS type, and ASUS notes it turns off NAT Acceleration and doesn't support IPv6.
ASUS doesn't present either feature as a bufferbloat fix, so test before and after and keep whichever gives the better grade.
If your router has no SQM
- Look for any setting with "SQM", "Smart Queue", "QoS" or "bandwidth" in the name and check the maker's help page for what it does. Where it asks for your speed, start just below what you measured, then retest and lower it in small steps until the grade stops improving. bufferbloat.net's advice is to adjust until latency stays low while speeds stay good.
- Ask the maker's support whether a firmware update adds it.
- Use a router that has it. Our routers with smart queue management page lists models whose makers document the feature. bufferbloat.net also lists replacement firmware such as OpenWrt, if your router supports it.
If your speed changes a lot through the day (5G home internet, Starlink, some cable lines), a fixed limit is a compromise. bufferbloat.net points to cake-autorate for links like these; see the Starlink and T-Mobile guides.
Test again
Run the bufferbloat test with nothing else using the line. bufferbloat.net counts a rise of 15 to 25 ms or less as under control, which is grade A or B here. If the grade is still C or worse, lower the speed limits by another 5% and test again. If the grade improved but your speed dropped more than you'd like, raise them in small steps until the grade starts to slip.
Sources
Checked November 2026.
- bufferbloat.net: Introduction, What can I do about bufferbloat?, Cake
- OpenWrt: SQM (Smart Queue Management), SQM details
- eero: What is Smart Queue Management (SQM)?
- Ubiquiti: UniFi Gateway: Smart Queues
- ASUS: Introduction and settings of QoS on ASUS Router, How to set up Adaptive QoE and Bandwidth Limitation, How to set up Adaptive QoS: Bandwidth Limiter