案例库 · 工程与运营 · 技术决策 · 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
那一手
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.
为什么管用
- 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.
可以搬走什么
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.
后来呢
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.
资料来源
- RFC 3168: The Addition of Explicit Congestion Notification (ECN) to IP
- RFC 2884: Performance Evaluation of Explicit Congestion Notification (ECN) in IP Networks
发现哪里写错了?告诉我们。