QoS (Quality of Service) on a router controls which traffic waits when your internet connection is full, so a video call or game stays responsive while a big download or upload is running. The setting that matters most is the bandwidth limit: set download and upload to about 90% of your measured speeds, so the queue forms in your router, where QoS can manage it, instead of at your ISP, where it can't.
What problem QoS actually solves
When a connection is saturated, packets queue up in a buffer somewhere. If that buffer is large and unmanaged, every packet behind it waits, including the small, time-sensitive ones from a game or a call. That extra delay under load is called bufferbloat. OpenWrt's SQM documentation describes bufferbloat as "the undesirable latency that arises when your router buffers too much data".
QoS does not create bandwidth. It decides who goes first when there isn't enough, and modern schemes also keep the queue short so nobody waits long. If your connection is never busy, QoS has nothing to do.
Test whether you need it
Measure latency while the connection is loaded. Start a continuous ping in one window:
# Windows
ping -t 1.1.1.1
# macOS / Linux
ping 1.1.1.1
Then run a speed test in a browser, or start a large upload. Watch the time= values. If they climb from, say, 15 ms idle to several hundred milliseconds during the test, you have bufferbloat and QoS will help. The OpenWrt SQM page suggests the Waveform, Speedtest, LibreQoS and Cloudflare tests for measuring this, and using more than one. Run the test with the rest of the network idle, and note your idle download and upload speeds; you need them for the next step.
Step 1: set the bandwidth limits (the part people skip)
A router can only reorder packets that are queued inside it. If it forwards traffic as fast as it arrives, the queue builds up in the modem or at the ISP instead, and the router's priority rules never get a chance to act. Setting a limit a little below your real speed makes the router the narrowest point, so the queue is in the router.
OpenWrt's guidance is to enter download and upload limits at 90% of the speeds you measured on an idle connection, then raise them in steps, retesting until bufferbloat comes back, and settle just below that point.
| Measured idle speed | Start at (90%) |
|---|---|
| 100 Mbit/s down / 20 Mbit/s up | 90 Mbit/s / 18 Mbit/s |
| 500 Mbit/s down / 50 Mbit/s up | 450 Mbit/s / 45 Mbit/s |
| 1,000 Mbit/s down / 100 Mbit/s up | 900 Mbit/s / 90 Mbit/s |
Upload often matters most. On many home plans upload is much slower than download, so a single cloud backup, a photo sync or a video call from another room fills the uplink and drags everyone's latency up.
Some routers offer an "automatic" bandwidth setting that runs its own speed test. If you see bufferbloat with automatic mode on, enter the numbers by hand.
Step 2: choose the QoS type
Router menus use different names, but they fall into a few kinds:
| Type | What it does | Good for |
|---|---|---|
| Smart queue / fair queuing (SQM, cake, fq_codel) | Gives each flow its own queue and keeps all queues short | Most homes; little to configure beyond the bandwidth |
| Application or device priority ("Adaptive QoS", "Game mode") | Classifies traffic by app or device and serves higher priorities first | When one device or app must always win |
| Traditional / rule-based QoS | Manual rules by port, protocol or IP address | Specific needs, such as a VoIP phone |
| Bandwidth limiter | Caps the speed of chosen devices | Stopping one device from taking everything |
On ASUS routers, for example, the support page lists Adaptive QoS, Traditional QoS and Bandwidth Limiter under Adaptive QoS in the web interface (click Enable QoS, then choose the type), and states that "ASUS routers only allow users to select one QoS function at a time."
Why fair queuing is usually the best default
Fair queuing doesn't need to know which app is which. FQ-CoDel, described in RFC 8290, hashes packets into separate per-flow queues and serves them in turn, and each queue runs the CoDel algorithm to keep its delay down. Flows that send only a little, like DNS lookups, game updates or the audio of a call, get served quickly because their queues are short. RFC 8290 gives CoDel's default target delay as 5 ms and its interval as 100 ms.
Cake, the scheduler OpenWrt recommends first, builds on the same idea and adds per-host fairness. The tc-cake manual describes its default triple-isolate mode as applying fairness over both source and destination addresses, so one computer running ten downloads doesn't get ten times the share of a laptop on a call. OpenWrt calls fq_codel "a faster, albeit less comprehensive option", which matters on routers whose CPU struggles to keep up.
What about DSCP and priority tags?
Packets carry a 6-bit Differentiated Services Code Point (DSCP) in their IP header, defined in RFC 2474, which an application can use to mark traffic as, for example, voice. Cake's diffserv4 mode sorts marked traffic into four tins: Bulk, Best Effort, Video and Voice. In practice, marks from the internet often aren't meaningful on arrival: RFC 2474 lets networks re-mark traffic at their boundaries. Most home setups get their benefit from fair queuing and correct bandwidth limits, not from DSCP.
Settings for gaming and video calls
- Measure idle download and upload speed with nothing else running.
- Enable QoS and set both limits to 90% of those numbers.
- Choose fair queuing (SQM/cake/fq_codel) if your router offers it; otherwise choose the adaptive or game mode and move games and video conferencing to the top.
- Repeat the loaded ping test. If latency under load stays within a few tens of milliseconds of idle, you're done.
- If speed tests drop far below 90%, the router may be running out of CPU. Try the lighter
fq_codeloption or a slightly lower limit.
If QoS makes things worse
Shaping runs on the router's CPU. OpenWrt notes that SQM is CPU-based and that hardware flow offloading must be disabled for it to work (software offloading is fine). Consumer firmware that shapes in software has the same limit: the CPU has to handle every packet. On a fast fibre line and a modest router, turning on QoS can therefore cut throughput a lot. If the latency gain isn't worth that, turn QoS off and instead limit only the device that causes trouble, or schedule big uploads for the night.
If latency is high even with QoS on and an idle network, the problem isn't queuing. Look at Wi-Fi signal, interference and the line itself: see how to fix packet loss and latency vs bandwidth for the difference between a slow connection and a laggy one.
Frequently asked questions
- Does QoS increase internet speed?
- No. QoS cannot add bandwidth; it usually costs a little, because the router has to be set slightly below your real speed to control the queue. What it improves is latency and fairness when the connection is busy, so a game or video call stays smooth while something else downloads.
- Should QoS be on or off for gaming?
- On, if your ping jumps when someone else in the house is uploading or downloading. Off makes no difference on a connection that is never busy. Measure ping during a speed test with QoS off and on; if the jump disappears, keep it.
- Why did my speed test drop after enabling QoS?
- Because the shaper is set below your line rate on purpose, often around 90% of the measured speed. That small loss is the price of keeping latency low. If the drop is much bigger, the router's CPU may be too slow to shape at that speed, or hardware acceleration was turned off to make QoS work.
- Is WMM the same as QoS?
- WMM (Wi-Fi Multimedia) prioritises traffic on the wireless link between the router and your devices. Router QoS of the kind described here manages the queue on your internet connection. They solve different problems, so turning router QoS on or off does not replace WMM. Leave WMM at its default setting.
Sources
- OpenWrt — SQM (Smart Queue Management)
- Linux man-pages — tc-cake(8)
- RFC 8290 — The Flow Queue CoDel Packet Scheduler and Active Queue Management Algorithm
- RFC 2474 — Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers
- ASUS — [Adaptive QoS] Introduction and settings of QoS on ASUS Router