Summary

  • A cumulative TCP acknowledgment names a single advancing frontier. After several losses in one flight, it says nothing about the intact islands stranded beyond the first gap.
  • RFC 2018 gave receivers a second language: non-contiguous byte ranges, reported as advisory blocks, with the cumulative acknowledgment still holding final authority and congestion control still owned by the sender.
  • RFC 3517 and RFC 6675 turned that evidence into a conservative scoreboard-and-pipe recovery discipline, including a single bounded rescue retransmission for when the acknowledgment clock would otherwise stall.

Eight segments leave a sender. The second one disappears. The receiver is now sitting on six perfectly good segments it cannot name, because the only word ordinary TCP lets it say is a number pinned just before the hole. Repeat that number and the sender learns something is wrong — but not the shape of what survived. Retransmit broadly and you waste capacity; wait for each gap to surface over successive round trips and you waste time. Either way, the evidence is too thin to act well.

That was the problem TCP Selective Acknowledgment set out to fix. The idea was not new when RFC 2018 landed in October 1996 — an earlier form had appeared in RFC 1072 but never shipped, partly because its tangle with window scaling was disputed. RFC 2018 simplified the bargain. During the opening handshake, an endpoint could offer a two-byte SACK-Permitted option. Once permission existed, a receiver could hang SACK blocks on later acknowledgments, each block naming the left and right edges of a contiguous range it already held.

The distinction was architectural, and it is the part people keep getting wrong. The cumulative acknowledgment still meant every byte below one frontier had arrived. SACK blocks were advisory evidence about islands above it. They did not move the frontier and did not let the sender throw away its copy. A receiver under memory pressure could renege and drop data it had just reported. Until the ordinary acknowledgment number climbed past a byte, the sender stayed on the hook for keeping it.

The map was also, by necessity, a sketch. TCP reserves just 40 bytes for options. A SACK option carries four blocks at most — usually three once timestamps take their cut. RFC 2018 therefore gave the newest block first place and recommended repeating recently reported ones, which did two jobs at once: kept the report current and made the evidence more likely to survive a lost acknowledgment. Selectivity was never perfect knowledge. It was disciplined compression of receiver state.

Information alone does not specify a policy, and RFC 2018 was careful to leave the sender's algorithm open while preserving TCP's congestion-control obligations. The next institutional step arrived in April 2003 with RFC 3517, a conservative SACK-based recovery method. The sender kept a scoreboard of cumulatively and selectively acknowledged ranges, inferred which gaps were lost, estimated how many bytes were still in the network through a variable called Pipe, and chose what to send next without overrunning the congestion window.

That separation is the whole point. The receiver supplies evidence; the sender interprets it. SACK could sharpen the choice of bytes without becoming a licence to ignore congestion. Multiple losses could be repaired inside a single recovery episode, but the sender still cut its window and throttled new transmissions by TCP's congestion principles. A richer map made control more precise, not less accountable.

RFC 6675, in August 2012, retired RFC 3517 and tightened the conservative algorithm. It folded freshly reported SACK data into the definition of duplicate acknowledgments, improved loss inference for segments smaller than the sender's maximum segment size, and added RescueRxt — a single optimistic rescue retransmission per recovery episode for the case where loss near the end of a window, plus the absence of new data, would otherwise stall the acknowledgment clock. The permission is deliberately stingy: one segment, no larger than one sender maximum segment size.

So the history is not a tidy march from inefficient TCP to efficient TCP. It is a history of how standards allocate uncertainty. The receiver sees which pieces it holds but may later release them. The sender owns the retransmission buffer and the congestion response but sees the path only through delayed reports. Option space caps how much evidence can travel. A timeout can void the assumptions. SACK improved recovery by making those boundaries explicit rather than pretending they were not there.

The durable lesson is that protocol performance often improves first through better evidence, not stronger central command. A cumulative acknowledgment was a verdict about a frontier. Selective acknowledgment turned it into a map of partial success. The standards that followed did their most important work by deciding how far a sender could trust that map, how long it had to keep the original data, and how hard it could push without dumping the cost of mistaken confidence onto the network.

Sources