Summary

  • RFC 5681, September 2009, Standards Track, “defines TCP’s four intertwined congestion control algorithms: slow start, congestion avoidance, fast retransmit, and fast recovery”, and obsoletes RFC 2581.
  • It is a specification about restraint rather than format: the slow start threshold “MUST be reduced in response to congestion”, and during congestion avoidance the sender “MUST NOT increment cwnd by more than SMSS bytes” per acknowledgment.
  • It also defends against a cooperative-looking receiver: counting bytes newly acknowledged rather than acknowledgments “provides robustness against misbehaving receivers” that split one segment’s acknowledgment into several — a trick the document calls “ACK Division”.

A standard with no bytes in it

Most specifications describe what a message looks like. This one describes how fast you are allowed to want more of it. There is no field on the wire, no header, no port number, no payload. RFC 5681 is a document about appetite.

That makes it a strange object to call a standard. It cannot compel an implementation, inspect a packet, or send anyone a warning. It can only hope that both ends of a connection do the same arithmetic — and then arrange the arithmetic so that hoping is enough.

Congestion is inferred, not announced

The network never sends a message saying “slow down”. A sender infers congestion from evidence: a lost packet, a duplicate acknowledgment, a timeout. The evidence is ambiguous, because loss can also mean a broken link, a corrupted frame, or a bad cable in a basement.

Every rule in the document therefore sits on top of a guess, and the guess is deliberately conservative. The system works because all the guesses point the same way, not because any single one is right. No central authority adjudicates. Each sender decides alone, from local evidence, and the aggregate behaves.

Four algorithms, one behaviour

Slow start grows the window quickly while it is small. Congestion avoidance grows it slowly once a threshold is crossed. Fast retransmit repairs a loss without waiting for a timer, and fast recovery keeps the connection moving while the repair is in flight.

The names suggest four mechanisms. The behaviour is one: increase while things look fine, back off sharply when they do not, and recover without returning to zero.

The receiver can game it

Acknowledgments are the sender’s only evidence, so a receiver that acknowledges more than it received can make a sender grow its window faster than the path can bear. The document names the trick — ACK Division — and prescribes counting bytes rather than acknowledgments.

That is the section worth reading twice. It admits that congestion control is a cooperative arrangement between parties who do not trust each other, and then hardens the arithmetic so that being polite does not require being naive. Cooperation is the arrangement. Trust is not the mechanism.

Where the specification stops

The document does not say what a router should do, how to signal trouble explicitly, or how a sender should behave when it shares a path with a different algorithm. Those questions were handed to later work.

What remains is the constraint that shaped the internet’s behaviour for three decades: growth is additive, retreat is multiplicative, and both live in the endpoint’s code rather than in the network’s configuration.

Why politeness became infrastructure

A network carrying mixed traffic has no central controller. Its stability comes from the fact that every participant implements the same restraint, and that the cost of ignoring it is paid mostly by other people.

That is the hardest kind of rule to maintain, because the incentive to defect is real and the penalty is diffuse. The document’s answer is arithmetic that is easy to copy and hard to game.

And note the order in which it happened. RFC 5681 did not invent congestion control; it wrote down what implementations were already running, so that the next implementation could copy it. Code first, document second. Reverse that order and you get a standard nobody runs.