Bufferbloat: Why Your Fast Connection Lags When Someone Uploads
Learn why oversized queues cause lag under load, how to test for bufferbloat, and how smart queue management usually fixes it.
Key takeaways
- Bufferbloat shows up as latency that rises sharply only while the connection is busy.
- It happens wherever a fast link feeds a slower one and the device in between queues too much data.
- Smart queue management keeps queues short and shares capacity fairly, at the cost of a little peak speed.
- A faster plan may hide the symptom for light use, but it does not remove the underlying queue.
Bufferbloat is lag caused by oversized queues in network equipment. When someone uploads a big file or downloads a game, your modem or router can let a long line of packets build up, and every other packet, including your voice on a call, has to wait behind them. Your speed test looks great while your connection feels awful.
The good news is that you can measure it in a few minutes and often fix it at home with a router setting called smart queue management. This article explains the mechanism, the test and the remedy.
What a buffer is for
A buffer is memory where a network device holds packets that cannot be sent yet. It smooths bursts: a computer sends data faster than a slow link can carry for a moment, and the buffer absorbs the surge instead of throwing packets away.
A small queue that empties quickly is useful. A huge queue that stays full is harmful, because a packet's waiting time equals the data ahead of it divided by the link speed.
Here is a worked example. Suppose your upload is 10 Mbps, and your modem holds up to 1.25 megabytes of outgoing data, which is 10 megabits. When full, a new packet waits one second before it leaves. A video call cannot tolerate that.
Why the problem happens
Most internet transfers use congestion control, most often over TCP or QUIC. Many common algorithms speed up until they notice packet loss, then back off. Loss is their signal that the path is full.
A very large buffer delays that signal. The sender keeps pushing, the queue keeps growing, and nothing is dropped until the queue overflows. By then delay is enormous. The sender backs off briefly, then fills the queue again.
The queue forms at the bottleneck, the slowest point on the path. At home that is often the upload side of your modem or router, where a fast local network meets a much slower line. It can also form on the download side, in your provider's equipment, or in a Wi-Fi link.
How it feels
Watch for these signs when someone else is busy on the network:
- video calls freeze or turn robotic during a cloud backup
- games spike while a household member downloads an update
- web pages hesitate before loading even though speed tests are fine
- a smart speaker or remote desktop session becomes sluggish
- streaming starts fine but other apps crawl
The defining clue is that the trouble appears only under load. If latency is high when the line is idle, look elsewhere. Ping, jitter and loss covers other causes.
Testing for it
Use a test that measures loaded latency
Several browser-based speed tests report latency while downloading and uploading, in addition to idle latency. Run it from a wired computer with nothing else active. Compare the idle figure with each loaded figure.
An increase of a few tens of milliseconds is usually tolerable. Increases of hundreds of milliseconds point clearly to bufferbloat.
Or do it by hand
Open a terminal and start a continuous ping:
ping 1.1.1.1 On Windows, use ping -t 1.1.1.1. Watch the idle times for a minute. Then start a large upload, such as copying a big file to cloud storage, and watch again. Repeat with a large download. If times leap when a transfer starts and fall when it stops, you have found your problem.
Test one direction at a time, because the fix may need different settings for each.
Made-up values showing a typical before and after pattern. Hypothetical example: the numbers are made up to show the method, not a quote or an average.
The fix: smart queue management
Active queue management (AQM) drops or marks packets early, before a queue grows long, so senders slow down in time. Well-known algorithms include CoDel (RFC 8289) and FQ-CoDel (RFC 8290), which also separates traffic into flows so one big transfer cannot bury a small, time-sensitive one. PIE (RFC 8033) is another design. Some routers package these as SQM (smart queue management), and a popular variant is called CAKE.
Marking can use Explicit Congestion Notification (ECN, RFC 3168), where supported, to signal congestion without dropping the packet.
Setting it up
Menu names vary between routers, but the steps are similar.
- Measure your real wired download and upload speeds several times.
- Find the queue management option. It may be called SQM, smart queue, adaptive QoS or anti-bufferbloat.
- Enter limits slightly below your measured rates, often around 85 to 95 percent, so the queue forms inside your router, where it can be managed.
- Choose the algorithm if offered, such as fq_codel or CAKE.
- Set any link-type or overhead option to match your connection if the router asks.
- Retest loaded latency and adjust.
If delay is still high, lower the limits a bit. If you lose more speed than you like and latency is already excellent, raise them.
Logging in to your router helps you find the settings. If your router lacks the feature, some third-party firmware offers it, with trade-offs described in open-source router firmware.
Costs and limits
Queue management uses processor power. On a modest router, enabling it on a very fast connection can cap throughput well below the plan. Check the router maker's guidance for your speed, or test with it on and off.
It also needs the limits to reflect reality. If your line speed varies a lot, as with cellular or some wireless services, a fixed limit is either too high, so queues return, or too low, so you waste capacity. Some firmware offers adaptive approaches.
And it only controls queues your router can influence. Download-side shaping works indirectly, by slowing senders from your end. Congestion farther out in a provider's network is beyond your reach. Many modern cable and mobile systems have added their own queue management, so your results may already be better than older equipment would give.
Other ways to reduce the pain
If you cannot enable queue management:
- limit the upload rate in backup and sync applications
- schedule large transfers for overnight
- set a quality-of-service priority for your work computer, if available
- limit simultaneous large downloads on game consoles
- put your latency-sensitive device on Ethernet to remove Wi-Fi queueing
Basic priority rules (QoS) help only if the bottleneck queue is in your router. If it sits in the modem beyond, priority settings have little effect unless you also cap the rate.
Wi-Fi queues too
Even with a perfect internet connection, a weak wireless link can become the slow point and build its own queue. Newer Wi-Fi drivers and routers handle this better, but a distant device at a low rate can still inflate delay. Test from a wired computer first to isolate the internet side, then test over Wi-Fi. How newer Wi-Fi shares airtime explains some of the improvements.
Sharing fairly between household members
Short queues solve the delay problem, but households also care about who gets what. Fair queuing handles much of this automatically. Algorithms such as FQ-CoDel give each flow its own small queue and take turns serving them, so a call that sends a trickle of packets is not stuck behind thousands of packets from a backup. Some variants can also share capacity per device, so one computer opening many connections cannot claim most of the line.
That approach usually beats hand-written priority lists. Rules that name particular applications or ports go stale as software changes, and a rule that gives one device top priority can starve everything else. Try the default fair sharing first, and add priorities only for a specific problem you can describe.
Checking that the change worked
Repeat your original test under the same conditions, so you compare like with like.
- Record idle latency again.
- Start the same large upload and note the loaded figure.
- Do the same for a large download.
- Make a test call while a transfer runs.
- Check the speeds, to see how much peak throughput you gave up.
- Leave it in place for a week, including a busy evening.
If the numbers did not move, confirm that the setting is applied to the right interface, usually the one facing the internet, and that the limits are entered in the units the router expects. Mixing up kilobits and megabits is an easy mistake. Also look for a hardware acceleration option: on some routers it bypasses queue management, and it has to be turned off for shaping to take effect.
Firmware updates and plan changes can reset or outdate your settings. If your provider raises your speed, update the limits, or you will keep running at the old ceiling.
What more bandwidth does, and does not do
A faster plan means a given queue drains faster, so the same megabyte of backlog causes less delay. It also means light activities rarely fill the line at all. But a determined upload will still fill any queue it is allowed to. If your only problem is lag under load, try queue management before paying for a bigger tier. How much speed you need helps you judge whether capacity is the real shortage.
Common questions
Does bufferbloat affect downloads?
Yes. The queue can form in your provider's equipment ahead of your modem. Download shaping in your router helps by keeping that upstream queue from building.
Will queue management make my speed test lower?
Slightly, by design, since you set limits below the line rate. Most people prefer the steadier delay.
Is it the same as throttling?
No. Throttling is a provider deliberately limiting traffic. Bufferbloat is a side effect of queue design. Checking for throttling explains how to tell them apart.