Router QoS and SQM for Gaming: How to Stop Lag When Everyone at Home Is Downloading
While the connection is idle, ping is steady. The moment someone starts a download, your game turns into a slideshow. Here's why it happens and how to set up your router so game packets don't wait in a queue.
Evening, ranked match. Ping 25 ms, all smooth. Then your brother puts on a 4K film, the TV decides to update its apps and Steam finishes downloading a patch in the background. Ping jumps to 150–300 ms, enemy models jitter, shots don't register. You call your ISP and they say “you're getting your plan's speed, everything's fine”. And they're right: the megabits are all there. The problem is the queue in your router.
You can almost always fix this with router settings, without changing your plan or buying new hardware. Below we explain what bufferbloat is, how classic QoS differs from SQM, where to look for the right options in the menu and how to make sure the setup worked.
Why ping rises when someone at home downloads
Every connection has a bottleneck, usually the link between you and your ISP. Inside your home the network is fast: gigabit cable, Wi-Fi at hundreds of megabits. But packets leave the house at your plan's speed. When more wants to squeeze through the link than it can carry, the extra packets aren't dropped straight away but wait in a queue, in a buffer.
A buffer is necessary: it smooths out short bursts. The problem is its size. For years, router and modem makers fitted buffers “with room to spare” so speed tests would show a nice maximum without a single lost packet. A download fills a buffer like that completely, and every packet that arrives afterwards waits until everything ahead of it has gone. That's bufferbloat, a bloated buffer.
Let's do the maths. A buffer of 256 packets of 1500 bytes holds 384 KB, or about 3 megabits of data. With a 20 Mbps upload, that queue takes 150 ms to drain. So a game packet that joins the back of it gets an extra 150 ms of ping, even though it weighs 100–200 bytes and would otherwise get through in a fraction of a millisecond. And cheap devices can have even bigger buffers.
An important detail: the queue doesn't necessarily build up in your router. If the router sends packets out as fast as it can, the bottleneck becomes your ISP's equipment or the modem, and the bloated buffer lives there instead. You can't reach it. So all the setup that follows comes down to one idea: make your own router the bottleneck, where you can manage the queue.
Upload suffers even more than download. On many plans the outgoing link is several times narrower, and it's easy to fill: a phone backing up photos to the cloud, a stream, sending a video in a messaging app. And game packets from you to the server, your movements and shots, travel in exactly that direction.
How to measure bufferbloat before you start
First make sure the problem really is the queue. If ping is high even when idle, with no downloads, SQM won't help: the issue is distance or the route, as covered in detail in why ping spikes. You need a “ping under load” figure to compare with your idle ping.
Method 1: a speed test that measures under load
Many speed tests show not just the ping before the test starts but also the latency during download and upload. Look for lines like “loaded latency” or separate ping values for download and upload. A plain “ping 4 ms” result tells you nothing: it was taken on an empty connection. Why that is, is explained in good speed test but games lag.
Method 2: by hand, in Command Prompt
Start a ping
Connect your PC with a cable, open Command Prompt (Win + R, cmd) and run ping -t 8.8.8.8. Watch it for 20–30 seconds and note the usual value.
Load the connection
Without closing the window, start downloading a big game or patch at full speed. After a minute, stop it and start an upload: send a large file to the cloud.
Compare
Stop the ping with Ctrl + C. A rise of up to 20 ms is normal. 30–100 ms is noticeable in shooters. 150 ms or more is severe bufferbloat.
Why a cable: on Wi-Fi, airtime delays get added on top of the router queue, and you won't know what to fix. If everything is steady under load over a cable but jumps around on Wi-Fi, read our comparison Wi-Fi vs Ethernet: QoS is secondary here.
It's useful to keep a second window open with ping -t to the router itself (its address is the Default Gateway line in ipconfig). If the router stays at 1 ms under load while 8.8.8.8 goes to hundreds, the queue sits at the exit from your home, exactly where SQM fixes it. Your idle ping to game regions is easy to get from our ping test: that's your baseline.
Write down three numbers: ping when idle, ping during a download, ping during an upload. You'll compare the result after setup against them.
Classic QoS vs SQM: what's the difference
Router menus hide very different mechanisms under the word QoS. It's worth telling them apart, because some are very useful and others do almost nothing without the right setup.
Classic QoS: priorities
These are rules like “the computer at this address is more important”, “this game's ports are more important”, “games above video, video above downloads”. The router sorts packets into several queues with different priorities and sends the important ones first.
The downsides. Rules need maintaining: games change ports, one device can have several addresses, and built-in databases of “gaming apps” go out of date. And most importantly, priority only works when the queue is in the router. If the router sends everything at full speed and the jam forms at your ISP, priorities make no difference. That's why classic QoS without a speed limit below your plan is often “on, but not helping”.
SQM: smart queue management
SQM (Smart Queue Management) works differently. The router itself limits speed to slightly below the real figure so the queue lives in the router, and applies an algorithm that keeps it short. The best-known algorithms of this kind are fq_codel and cake. They do two things:
- Split traffic into flows. Each connection gets its own small queue, and flows are sent out in turn. A game needs to send a few dozen small packets a second, and it almost never has to wait in its own queue.
- Stop queues from growing. If packets sit in the queue for longer than a few milliseconds, the algorithm starts dropping or marking packets from the heavy flows. The download slows down slightly, and latency stays low.
You don't need to write any rules: the algorithm notices on its own that the game's flow is small and sparse and the download flow is heavy. Cake can also split bandwidth fairly between devices, so one computer running a torrent doesn't eat the whole connection for everyone else.
| Classic QoS | SQM (fq_codel, cake) | |
|---|---|---|
| How it works | Priorities by device, port or traffic type | Short queues per flow plus a speed limit |
| Needs rules | Yes, and they need updating | No, just the speed |
| Ping under load | Helps if a speed limit is on | Usually almost the same as idle |
| Helps video calls and all devices | Only the ones you marked | All of them at once |
| Router CPU load | Medium | Higher, gigabit needs a powerful router |
Where to find QoS and SQM in your router settings
Every manufacturer has its own interface, but the logic is similar. Open the router's address in a browser (usually 192.168.0.1 or 192.168.1.1; the exact one is the Default Gateway line in ipconfig or on the sticker on the bottom of the case) and log in.
Then look in sections like Advanced Settings, Advanced, Network, Traffic Management, Gaming or Prioritisation. The option itself has different names; here are examples you'll find in router firmware:
| What it may be called | What it usually is | What to look for |
|---|---|---|
| SQM, Smart Queue, Cake, fq_codel | Queue management | Download and upload speed fields |
| Adaptive QoS, Smart QoS | Usually queue management plus priorities | Whether there's a speed field or a manual bandwidth mode |
| Traffic Control, Bandwidth Control | A speed limit, sometimes with queues | A limit on the whole connection, not on one device |
| Prioritisation, Device Priority, port-based QoS | Classic QoS | Whether it comes with an overall limit |
| Gaming Mode, Game Boost | Anything from priorities to marketing | Measure before and after |
If the name doesn't make it clear what a mode does, check the firmware help or the tooltip next to the switch: any mention of “queue”, “latency”, “bufferbloat” or the fq_codel and cake algorithms means it's the feature you want. If there's no such option at all, start by updating the firmware: newer versions sometimes add these modes.
A word about ISP-supplied routers. They often have a cut-down interface and QoS is simply hidden. In that case you can put the ISP's device into bridge mode (often called modem mode) and connect your own router behind it, so your router manages the queue. Only do this if you understand your ISP's connection settings, or ask their support to help.
What speed to set: the 85–95% rule
This is the most important setting, and the one people get wrong most often. The limit has to be slightly below your connection's real speed, otherwise the ISP stays the bottleneck and the queue builds up again where you can't control it.
How to work it out
Use your real speed, not the figure from your contract. Run 3–4 speed tests over a cable at a quiet time, when nobody at home is using anything, and take the average. Do it separately for download and upload.
| Real speed | Start at 90% | If it still rises, 85% |
|---|---|---|
| Download 100 Mbps | 90 Mbps | 85 Mbps |
| Upload 20 Mbps | 18 Mbps | 17 Mbps |
| Download 500 Mbps | 450 Mbps | 425 Mbps |
| Upload 100 Mbps | 90 Mbps | 85 Mbps |
The tuning process is simple. Start at 90% and repeat the test under load. If ping still rises by more than 15–20 ms, lower the limit by 5%. If the rise is already small, you can try going up to 95% and see whether the problem comes back. Download often needs a bigger margin than upload: the router only controls incoming traffic indirectly, as all it can do is slow down packets that have already arrived.
Three more things people trip over:
- Units. Check what unit the router wants: Mbps or Kbps. 90 Mbps is 90,000 Kbps. Getting three zeros wrong gives you either 90 Kbps internet or a limit that does nothing.
- Speed that varies. If your ISP's real speed drops in the evening and your limit is based on daytime speed, the ISP becomes the bottleneck again in the evening. In that case, base the limit on evening measurements. Evening congestion has its own article: why ping rises in the evening.
- Connection type. Advanced SQM settings sometimes have a field for line type or overhead. For fibre and Ethernet the defaults are usually fine. DSL lines have their own presets there, and picking the right one lets you set the limit closer to your plan.
Step-by-step setup
The order is the same on almost any router; only the menu names change.
- Update the firmware. Check for updates in the maintenance or system section. New versions often fix and improve QoS specifically.
- Find the queue management mode. Use the table above. If you have a choice between “priority by device” and a mode with bandwidth or queues, pick the second.
- Enter the limits. 90% of your real download and upload speed. Check the units.
- Choose an algorithm if offered. Cake or fq_codel. If there's an option for fair sharing between devices, turn it on: a torrent on one computer will stop choking the others.
- Add priorities if you like. If the router lets you raise your gaming PC or console on top of SQM, you can do that too. But with SQM working, the difference is usually small.
- Save and restart the router if the interface asks you to.
Watch out for hardware acceleration (called NAT acceleration, hardware offload or flow offloading). On many routers it switches off automatically when you turn on QoS, and all traffic is then handled by the CPU. On plans up to 200–300 Mbps that's usually not a problem, but at 500 Mbps and gigabit a weak router can run out of CPU. The sign: after turning on SQM, speed tests show noticeably less than the limit, and the router interface shows CPU load near 100% during the test.
It's important to understand where the line is. A route booster doesn't fix bufferbloat: if the queue at home is full, game packets wait in it before going anywhere. And the other way round, SQM won't remove a route that detours through other cities. These are two different parts of your ping, and it's worth looking at them separately. nolag has a PC check that tells you if you're on Wi-Fi or have downloads running in the background, and you can see the route from our node to you on the route check page.
How to check the result
Repeat the same measurements as before setup, under the same conditions: cable, same ping target, same download. If you have a speed test that measures ping under load, compare that too.
ping -t measurement on one connection before and after turning on SQM. When idle the lines match; the difference only shows under load. That's exactly what you need to check.| Rise in ping under load | What it means | What to do |
|---|---|---|
| up to 10 ms | Excellent, the queue is under control | You can try raising the limit to 95% |
| 10–20 ms | Good, you won't feel it in games | Leave it as is |
| 30–60 ms | The queue is still at the ISP | Lower the limit by 5% and test again |
| over 60 ms | SQM isn't working or the limit wasn't applied | Check units, mode, router CPU |
Compare upload separately. Quite often download is perfect after setup while upload still adds +80 ms, because nobody set a limit for it or the plan's figure was used. Then launch a game and turn on the network stats: CS2 and Valorant have them in the interface settings, see our guides to CS2 ping and Valorant ping. Ask someone at home to start a video and a download and see whether your ping stays flat. If ping is flat but high overall, that's a question of the route: compare the numbers with our ping test by region.
What to do if your router can't do this
Sometimes the firmware has neither SQM nor a speed limit, and the priorities are only there for show. Here are the options, from easiest to hardest.
Limit downloads on the devices themselves
It's not as convenient as SQM, but it's free. In Steam: Settings → Downloads → Limit download speed. In Windows: Settings → Windows Update → Advanced options → Delivery Optimization → Advanced options, where you can limit bandwidth for updates. Torrent clients and most game launchers have similar limits. Set the limit to around 70–80% of your real speed so the game has headroom. The downside is that you can't set up the TV, console and phones this way.
Agree on a schedule
It sounds obvious, but big downloads and backups can be moved to the night. Many launchers and consoles can download updates on a schedule.
Put your own router behind the ISP's
If the ISP's device is locked down, you can switch it to bridge mode and connect your own router with proper QoS. Your router then manages the queue, and the ISP's device just passes traffic through.
Replace the router
If your router is 6–7 years old or more, has no queue management and its CPU can't even keep up with your current plan, replacing it will do more than all the other steps. When choosing, look in the description or firmware documentation for SQM, Smart Queue, Adaptive QoS with manual bandwidth, fq_codel or cake, and get a CPU with headroom for your plan. There are also alternative firmwares with full SQM, but only install them on supported models and if you're prepared to dig into the details.
Get a plan with more upload
Speed on its own doesn't lower ping, but on a plan with narrow upload a single cloud backup fills the queue. A symmetric plan doesn't cure bufferbloat, it just triggers it less often. This is the most expensive and least reliable route, which is why it comes last.
QoS for gaming myths
QoS and SQM don't make ping lower than it is when idle. They remove the rise that appears under load. If you have 60 ms to the server with no downloads, after setup you'll still have 60.
Then the ISP stays the bottleneck and the queue builds up where the router can't affect it. The 5–15% margin is exactly what makes the setup work.
Priority only helps if the queue is in the router. Without a speed limit, packets still wait in the ISP's buffer and priority makes no difference.
A fast plan fills up less often, but it does fill up: a single Steam download easily takes all 500 Mbps. A bloated buffer on gigabit adds fewer milliseconds, but not zero.
Setup checklist
| Step | How | Goal |
|---|---|---|
| 1. Measure when idle | ping -t 8.8.8.8 over a cable | Baseline |
| 2. Measure under load | Download, then upload at full speed | See how bad the bufferbloat is |
| 3. Real speed | 3–4 speed tests over a cable at a quiet time | Basis for the limit |
| 4. Update the firmware | Router maintenance section | Up-to-date QoS |
| 5. Turn on SQM or QoS with bandwidth | 90% limit, cake or fq_codel | Queue in the router |
| 6. Measure again | Same conditions as steps 1–2 | rise of no more than 10–20 ms |
| 7. Fine-tune the limit | 5% steps down or up | Balance speed and ping |
| 8. Check in a game | Network stats while others download | A flat line |
If after all this your ping under load is flat but high in itself, the home part is done and it's time to look at the route: where to start is described in how to lower ping, and you can check your ping to different regions in our ping test.
FAQ
Which is better for gaming: QoS or SQM?
If your router supports SQM (often fq_codel or cake, shown in the interface as Smart Queue or Adaptive QoS with a bandwidth limit), turn it on. SQM keeps the queue short for all flows at once and needs no rules. Classic QoS with priority by device or port only helps together with a speed limit below your plan, otherwise the queue still builds up at your ISP.
What speed should I enter in QoS settings?
85–95% of your real speed, measured over a cable at a quiet time, separately for download and upload. Start with 90%. If ping under load still rises by more than 15–20 ms, lower the limit in 5% steps. Don't use the figure from your contract: real speed is almost always different.
Will my internet get slower after turning on SQM?
Your peak download speed drops by exactly the margin you left, usually 5–15%. You'll barely notice it. In return, ping during downloads stays almost the same as when idle, and video calls and games stop breaking up.
Why is my internet slower than the limit after turning on QoS?
On many routers the CPU handles the speed limit and queues, and hardware acceleration gets switched off. On plans of 300–500 Mbps and above, a weak CPU may not keep up. Check CPU load in the router's interface during a speed test. If it's near 100%, lower the limit or replace the router with a more powerful model.
Do I need QoS if I live alone?
If you don't download anything while you play, the effect will be small. But even one person has background downloads: Windows and game updates, cloud sync, a smart TV updating apps. Check your ping under load: if it rises by more than 30 ms, SQM will help you too.
Will SQM fix high ping to the game server?
No. SQM only removes extra delay caused by queues in your home. If ping is high even when idle, the cause is the distance or route to the server. You check that with a ping test to game regions and a traceroute, and fix it by choosing a different server or a different route for game traffic.
Related reading
Desync in Games: Why You Die Behind Walls and How to Reduce ItWhat desync is in Tarkov, CS2 and Apex: client-side prediction, authoritative servers and lag compensation. How much of it is yours and how to cut it step by step.Read
Discord Voice Lag in Games: Robotic Voice, Cutting Out, DelayWhy Discord voice cuts out, sounds robotic or lags behind while you game. Voice region, Voice & Video settings, CPU load, Wi-Fi and the route to the server.Read
What Is a Good Ping for Gaming? Chart by Genre and GameWhat is a good ping for CS2, Dota 2, Valorant, PUBG and other games: a chart by genre and game, why jitter and packet loss matter as much as the number, how to test yours.Read Try it free for 7 days
No card. Installs in a minute.