In short
TCP has no direct way to see how much bandwidth a path can carry, so it probes for the limit by sending faster and faster until packets are lost, then backs off. That simple feedback loop — slow start, additive increase, multiplicative decrease — has been refined for three decades, and modern algorithms such as CUBIC and BBR change how the probing and backing off are done without changing the reliability guarantees underneath.
Every TCP connection shares a network it cannot see. It does not know the capacity of the weakest link on its path, how many other flows are competing for that capacity, or how full the queues in the intervening routers already are. Congestion control is the set of rules a TCP sender uses to estimate a safe sending rate from nothing but the timing and acknowledgement pattern of its own packets.
This matters because the alternative — every sender transmitting as fast as its local link allows — causes what is sometimes called congestion collapse: routers drop packets faster than senders can usefully retransmit them, and effective throughput on a shared link falls even as offered load rises. The algorithms described here were largely a direct response to exactly that collapse being observed on the early internet in 1986.
The congestion window
TCP already limits how much unacknowledged data a sender can have in flight using the receive window, which protects the receiver's buffer. Congestion control adds a second, independent limit: the congestion window, which protects the network itself. The amount of data in flight at any moment is capped by the smaller of the two.
The congestion window is not signalled by any router. It exists purely as a variable inside the sender's TCP stack, adjusted according to an algorithm that reacts to acknowledgements, timing and loss.
Slow start: probing quickly at first
A new connection starts with a small congestion window — historically two to four segments, and up to ten in modern stacks following RFC 6928 — and doubles it every round trip as acknowledgements confirm that the network absorbed the previous batch without loss. Despite the name, slow start is actually the fastest-growing phase: exponential growth gets a connection to a useful sending rate within a handful of round trips rather than crawling up one segment at a time.
Slow start ends when the window reaches a threshold called ssthresh, or when a loss is detected, whichever comes first. Ssthresh is not fixed; it is set from the sender's last estimate of where the network's capacity was exceeded, so it tightens or loosens as conditions change over the life of a long connection.
Congestion avoidance: additive increase, multiplicative decrease
Once past ssthresh, classic TCP (Reno-style) switches to a much gentler probe: increase the window by roughly one segment per round trip, rather than doubling it. This is the additive-increase half of AIMD. The sender keeps nudging the rate upward, deliberately courting a small amount of loss, because loss is the only signal classic TCP has that it has found the ceiling.
When loss does occur, the response is much sharper: the window is cut, typically by half. That asymmetry — slow, steady growth paired with a fast, large cut — is what gives AIMD its stability property. Multiple independent flows using AIMD on a shared bottleneck converge towards sharing capacity fairly, a result formally analysed by Chiu and Jain in 1989 and still the theoretical basis for why this shape of control loop was chosen over gentler alternatives.
Congestion window over time (illustrative Reno-style connection)
Congestion window, segments
Slow start grows the window exponentially; each loss event triggers a sharp halving followed by the gentler additive-increase climb characteristic of AIMD.
Detecting loss without waiting forever
The blunt way to detect a lost segment is a retransmission timeout: if no acknowledgement arrives within the estimated round-trip time plus a safety margin, assume the segment was lost and resend it. Timeouts work but are slow and, historically, resulted in the window collapsing all the way back to slow start.
Fast retransmit gives a quicker path: when a receiver gets a segment out of order, it re-acknowledges the last in-order byte it has, producing duplicate acknowledgements. Three duplicate acknowledgements are treated as strong evidence that a specific segment was lost rather than merely delayed, so the sender retransmits it immediately without waiting for a timeout, and — in fast recovery — reduces the window rather than collapsing it entirely.
| Algorithm | Core signal | Notable trait | Typical deployment |
|---|---|---|---|
| Reno | Packet loss | Classic AIMD, halves window on loss | Legacy / teaching baseline |
| CUBIC | Packet loss | Cubic growth function independent of RTT, aggressive on high-bandwidth paths | Default on Linux since 2.6.19 |
| BBR | Measured bandwidth and RTT | Models the path rather than reacting to loss alone | Google services, increasingly common on Linux |
| Vegas | Round-trip time increase | Tries to avoid queueing delay before loss occurs | Research and some specialised deployments |
Why CUBIC replaced Reno as a default
Reno's additive increase of one segment per round trip was tuned for the connection speeds of the 1980s and 1990s. On a modern high-bandwidth, high-latency path, a Reno-style sender can take many minutes to climb back to a large window after a single loss, wasting most of the path's capacity in the process. CUBIC replaces the linear increase with a cubic function of time since the last loss event, which grows quickly right after a loss, then flattens out near the previous ceiling before growing aggressively again if no further loss occurs, so it explores capacity fast without depending on round-trip time in the way Reno does. It became the default in Linux from kernel 2.6.19 and remains the most widely deployed algorithm on the public internet.
BBR: modelling the path instead of waiting for loss
Loss-based algorithms share an awkward assumption: that a full router buffer, and therefore an incipient drop, is the correct signal of the network's limit. On links with very large buffers this causes bufferbloat — the sender keeps filling the queue because no packet has been dropped yet, and latency balloons well before any loss occurs. BBR, published by Google engineers in 2016, instead continuously measures the delivery rate and the minimum round-trip time it has observed, builds a model of the path's bottleneck bandwidth and its minimum queueing delay from those measurements, and paces sending to match the estimated bandwidth directly rather than inferring it from loss.
BBR versus loss-based algorithms such as CUBIC
Pros
- Can sustain lower queueing delay on links with deep buffers because it does not need to fill them to find the limit
- Performs comparatively well on lossy but not congested links, such as some wireless paths, where loss-based algorithms wrongly interpret non-congestive loss as a capacity signal
- Adapts quickly when available bandwidth changes, since it re-probes on a schedule rather than only after a loss
Cons
- Early BBR versions could be less fair to loss-based flows sharing the same bottleneck, taking a larger share of capacity
- Requires more path measurement machinery in the stack than a simple AIMD implementation
- Behaviour is harder to reason about analytically than the well-studied AIMD convergence properties
Explicit congestion notification: an alternative to inferring loss
Not every network has to rely on senders inferring congestion after the fact. Explicit Congestion Notification, defined in RFC 3168, lets a router mark a packet's IP header rather than drop it when its queue is building, and the receiver echoes that mark back so the sender can reduce its window without losing any data at all. ECN needs support along the whole path and at both endpoints, which limited early adoption, but it is now widely enabled by major operating systems and content platforms as a way to get the fairness benefits of loss-based signalling without the retransmission cost of an actual drop.
What this means for application behaviour
Congestion control operates below the application layer, but its effects are visible in ordinary usage. A file transfer over a fresh connection to a distant server starts slowly during slow start, which is one reason opening several parallel connections used to make page loads feel faster under HTTP/1.1 — each connection got its own separate ramp-up. It is also why a single TCP connection rarely saturates a very high-bandwidth, high-latency path: the additive-increase phase of a loss-based algorithm simply cannot climb fast enough relative to how quickly a single loss event cuts the window in half, a limitation formalised in the well-known Mathis equation for maximum throughput as a function of round-trip time and loss rate.
Key points
- The congestion window is a sender-side estimate of safe capacity, adjusted only from timing and acknowledgement feedback.
- Slow start grows exponentially to reach a useful rate quickly; congestion avoidance grows much more cautiously afterwards.
- AIMD's slow-increase, fast-decrease shape is what makes independent flows converge towards fair sharing of a bottleneck.
- CUBIC and BBR are the two most widely deployed modern algorithms; CUBIC still reacts to loss, BBR models the path directly.
- Explicit Congestion Notification lets routers signal congestion without dropping a packet, when supported end to end.
Sponsored video
AdvertisementChecking for a video ad…
Frequently asked questions
Sources
About the author
Michael Adeyemi — Senior Technology Writer
Michael writes Inquro's computing and web-infrastructure coverage. He worked for eight years as a platform engineer on high-traffic content systems before moving into full-time technical explanation, and he still prototypes every measurement described in his articles before publishing the numbers.
- Qualifications
- MSc, Distributed Systems — University of Manchester
- BEng, Computer Engineering — University of Lagos
- Experience
- Eight years as a platform engineer on high-traffic content delivery systems
- Four years writing standards-based technical documentation
- Subject areas:
- Web performance, Networking, Systems architecture
- Contact:
- michael@inquro.example
Reviewed for factual accuracy by Dr. Rina Halvorsen, Editor-in-Chief (PhD, Cognitive Science), on 18 March 2026.
Structure, claim strength and whether an explanation actually answers the question a reader arrived with.
Inquro articles are commissioned, sourced, reviewed and re-checked under a published editorial policy. Corrections are made in place and dated — write to editorial@inquro.example if you find an error.






