EN
Back to the archive

The encyclopedia · Engineering & Operations · Technical decision · 2001

ECN marks packets instead of dropping them to signal congestion

ECN sets a bit rather than dropping a packet, so the sender slows down without paying for a costly retransmission.

TeraOptic Networks / ACIRI

the move

Classic congestion control uses loss as its only signal: a router drops a packet, the sender assumes congestion and halves its window. That works, but it throws away data that was already paid for and forces a retransmit.

ECN adds two bits to the IP header so a router can say "congestion is forming" simply by marking a packet. The receiver copies the mark into the acknowledgment, and the sender reacts to the ECN flag rather than to a loss.

The trick is that the notification is almost free: a flag already in flight delivers the same information a retransmission would, so the network gets congestion control without the redundant transfer.

why it works

  • Marking avoids the retransmission that a drop would trigger.
  • The congestion signal travels the same path and reaches the same sender.
  • The mark communicates before the queue actually overflows.
the payoffUse a bit, not a dropped packet, to say "slow down"clever

what transfers

When the only way to deliver a signal is to destroy the very thing you are signalling about, invent a cheap side channel instead; the mark saves work the sender would otherwise redo.

what came after

Framed as a standards-track protocol, ECN is widely supported in TCP/IP stacks and datacenter transports, and its idea of in-band marks rather than losses underlies later congestion signalling in data-centre networks.

references

spotted an error? The archive wants to know.

same kind of clever