Bufferbloat is the excessive latency and jitter that appears when network devices hold too many packets in oversized, unmanaged buffers, so that a link under load delays every packet queued behind a bulk transfer. In networking, it is a performance pathology rather than a fault: throughput looks healthy while interactive traffic such as voice, gaming and web requests becomes sluggish.
For network monitoring, bufferbloat matters because it hides behind normal averages. A link can show no packet loss and full utilization while round-trip time under load rises from 20 ms to several hundred milliseconds or even seconds, which is why specialists measure latency during saturation instead of on an idle line.
How oversized buffers create queuing delay
Bufferbloat arises at the bottleneck link, the slowest hop on a path, where packets arrive faster than they can be transmitted. The device stores the surplus in a first-in, first-out queue, and each queued packet adds its own serialization time to the wait of every packet behind it.
The delay a full buffer adds equals its size divided by the drain rate. A 1 MB buffer on a 10 Mbit/s uplink holds about 800 ms of traffic, so a single upload can push a video call past the point of usability. Memory became cheap long before queue management became common, so vendors often sized buffers generously to avoid drops in benchmarks.
The interaction with TCP congestion control makes the problem self-sustaining. Loss-based algorithms such as Reno and CUBIC increase their sending window until a packet is dropped, so they fill any buffer completely before they back off. A large buffer therefore delays the congestion signal and keeps the queue standing permanently full, a condition known as a standing queue.
The following table shows how the same buffer size produces very different delays depending on link speed.
| Buffer size | Link rate | Added delay when full |
|---|---|---|
| 256 KB | 100 Mbit/s | About 21 ms |
| 256 KB | 5 Mbit/s | About 420 ms |
| 1 MB | 20 Mbit/s | About 420 ms |
| 4 MB | 50 Mbit/s | About 670 ms |
Symptoms and how to measure bufferbloat
The defining symptom is a large gap between idle and loaded latency. Ping times look excellent on a quiet connection, then climb sharply as soon as a backup, a software update or a cloud sync saturates the upstream or downstream direction.
Accurate measurement requires latency under load: a continuous ping or probe stream runs while a bulk transfer saturates the link. Tools such as iPerf generate the load, while SmokePing, MTR or a simple ping series record the latency distribution. Modern responsiveness tests express the result in round trips per minute (RPM), where higher values mean a more responsive connection.
The table below summarizes typical observations and what they indicate.
| Latency increase under load | Typical user experience | Assessment |
|---|---|---|
| Below 5 ms | No noticeable change | Well-managed queue |
| 5 to 30 ms | Minor effect on gaming | Acceptable |
| 30 to 100 ms | Choppy calls, slow page loads | Moderate bufferbloat |
| Above 100 ms | Dropouts, frozen video, lag | Severe bufferbloat |
Monitoring teams should test each direction separately, because uplinks on asymmetric access technologies such as DOCSIS and ADSL are slower and usually suffer more. Graphs of latency percentiles, such as the 95th and 99th, reveal bufferbloat far better than averages.
Bufferbloat compared with related performance problems
Bufferbloat is often confused with other network impairments because they share symptoms. It is distinguished by its dependence on load: the extra delay appears only while a queue is building and vanishes when traffic stops.
| Problem | Primary cause | Telltale sign |
|---|---|---|
| Bufferbloat | Oversized queue at a bottleneck | Latency rises only under load |
| Packet loss | Errors, overflow or policing | Retransmissions, gaps in streams |
| Jitter | Variable queuing or routing | Uneven packet spacing |
| High base latency | Distance or long routes | Latency high even when idle |
| Link saturation | Demand above capacity | Utilization near 100 percent |
Bufferbloat is a major source of jitter, because queue depth changes constantly. It also produces the counterintuitive pattern of low loss and poor quality, since large buffers avoid drops at the expense of delay.
Active queue management and other fixes
The established remedy is active queue management (AQM), which keeps queues short by dropping or marking packets early, before the buffer is full. Combined with flow queuing, it isolates sparse interactive flows from bulk transfers so that a download cannot starve a call.
- CoDel (Controlled Delay) drops packets when queuing delay stays above a target of about 5 ms for an interval of about 100 ms.
- FQ-CoDel combines per-flow fair queuing with CoDel and is the default queue discipline in many Linux distributions.
- PIE (Proportional Integral controller Enhanced) estimates queuing delay and adjusts drop probability; it is specified for DOCSIS 3.1 cable modems.
- CAKE (Common Applications Kept Enhanced) adds bandwidth shaping, host fairness and overhead compensation for home routers.
- L4S (Low Latency, Low Loss, Scalable throughput) uses ECN marking and a dual queue to keep queuing delay near 1 ms.
Because the bottleneck often sits in a modem the operator controls, a common workaround is smart queue management on the customer router. The router shapes traffic to roughly 85 to 95 percent of the measured line rate, which moves the queue from the modem into the router, where AQM can manage it.
| Situation | Recommended approach | Reason |
|---|---|---|
| Home or small office router | CAKE or FQ-CoDel with shaping | Takes control of the bottleneck queue |
| Linux server or host | FQ-CoDel or fq qdisc | Reduces host-side queuing |
| Cable access network | DOCSIS PIE in modem | Fixes the queue at its source |
| Low-latency services | L4S with ECN | Keeps delay near 1 ms under load |
Common mistakes when diagnosing bufferbloat
The most frequent error is buying more bandwidth to fix lag. A faster link drains the queue sooner, but if the buffer scales with it or the bottleneck moves elsewhere, the latency under load often remains high.
- Testing latency only on an idle link, which hides the problem entirely.
- Relying on average latency instead of percentiles and loaded measurements.
- Setting the shaper above the real line rate, which leaves the queue in the modem.
- Blaming Wi-Fi or the application before measuring the wired bottleneck first.
- Disabling traffic shaping after a speed test shows slightly lower peak throughput.
Wi-Fi adds its own complexity, since airtime contention and aggregation create queues in drivers and firmware. Modern Linux wireless stacks apply FQ-CoDel at the driver level, but many consumer access points still lack equivalent queue management.
In everyday language
Imagine a supermarket with one cashier and an enormous waiting area. If a shopper with a hundred items arrives first, everyone behind waits a long time, even someone buying a single bottle of water. Nothing is lost, but everybody is slow.
Bufferbloat is the same effect inside internet equipment. Routers and modems keep huge waiting lines of data, so one large upload makes quick tasks such as a video call or a game wait their turn. The cure is shorter, smarter lines, not simply a faster cashier.
Seen in the real world
A small accounting office on a cable connection with 300 Mbit/s down and 20 Mbit/s up complains that video meetings freeze every evening. Idle ping to a nearby server is a steady 18 ms, and the provider reports no faults. The IT consultant starts a nightly cloud backup and runs a ping series in parallel: latency jumps to between 600 and 900 ms while the upload runs.
The consultant installs a router with CAKE and sets the upload shaper to 18 Mbit/s and the download shaper to 280 Mbit/s. Repeating the test under the same backup load, latency now rises only to about 25 ms. Meetings stay smooth during backups, and the office avoids an unnecessary bandwidth upgrade at the cost of roughly 10 percent of peak throughput.