狠狠撸

狠狠撸Share a Scribd company logo
Measuring ECN
Geoff Huston
Chief Scientist, APNIC
Loss-Based Congestion Control
? Most of today’s network traffic uses
an extremely simple algorithm that
avoids networks collapsing under
extreme overload:
? Continually increase the amount of
data being pushed into the network
? Until a network queue overloads and
the sender detects the consequent
packet loss
? Halve the sending rate and do it again!
Refinements
? Change the congestion avoidance inflation algorithm
? Try to detect the difference between isolated damage packet loss and
queue overload loss
? Better understand the relationship between network buffers and
protocol performance
Is there a “better” way?
Trigger the congestion response at the
onset of queue formation rather than
at the point of catastrophic queue
collapse
BBR
? Detect queue formation through
pulsed testing and delay
sensitivity
Or get the router to help!
May 1990!
Or get the router to help!
January 1999!
Or get the router to help!
January 1999!
Or get the router to help!
September 2001!
Then …
Crickets!
Until around 2022…
L4S!
ECN Control Loop
? A router “marks” IP packets at the onset of queue formation with a
bit signal
? The Receiver echoes this bit up into the transport protocol reverse
flow
? The sender reduces its sending window size (and notifies the receiver
that it was performed this window reduction)
IP
TCP
ECN Control Loop
? A router “marks” IP packets at the onset of queue formation with a
bit signal
? The Receiver echoes this bit up into the transport protocol reverse
flow
? The sender reduces its sending window size (and notifies the receiver
that it was performed this window reduction)
IP
TCP
IP Header
Version IHL Total Length
Flags
Identification Fragment Offset
Time To Live
Source Address
Destination Address
Options Padding
Protocol Header Checksum
Type of Service
Precedence
0 1 2 3 4 5 6 7
D T R 0 0
Version Traffic Class Flow Label
Payload Length Next Header Hop Limit
Source Address
Destination Address
ECN Bits
0 0 – Non-ECN Capable Transport
0 1 – ECN Capable TransporT
1 0 - ECN Capable Transport
1 1 – Congestion Experienced
TCP
TCP
Destination Port
Source Port
Sequence Number
Acknowledgment Number
Data
offset
F
I
N
S
Y
N
U
R
G
A
C
K
P
S
H
R
S
T
Window
Checksum Urgent Pointer
Padding
TCP Options
TCP Data
E
C
E
C
W
R
ECE – receiver back to sender – CE received
CWR – sender to receiver – Congestion Window Reduced
SYN+ECE+CWR – ECN capable on session start
SYN+ACK+ECE – ECN capable response
ECN Measures
Packet Count (by remote IP addresses) for Feb/March 2025
0. IP Sources 303,545,388
1. IP ECT 6,815,753 (2.45% of sources)
2. IP CE 1,098,965 (16.12% of ECT sources)
ECN Measures
Packet Count (by remote IP addresses)
0. IP Sources 303,545,388
1. IP ECT 6,815,753 (2.45% of sources)
2. IP CE 1,098,965 (16.12% of ECT sources)
3. TCP ECN Opt 7,478,207 (2.46% of sources)
4. TCP ECE (Rec’d) 20,862 (0.27% of TCP sources)
5. TCP CWR (Rec’d) 335,209 (4.48% of TCP sources)
IP ECT by Country
TCP ECN Option by Country
Country Table
Thanks!

More Related Content

Similar to Measuring ECN, presented by Geoff Huston at IETF 122 (20)

PPT
Congestion control avoidance
Anthony-Claret Onwutalobi
?
PPTX
Tcp(no ip) review part2
Diptanshu singh
?
PDF
Lecture 19 22. transport protocol for ad-hoc
Chandra Meena
?
PPTX
6610-l14.pptx
ArvindRamesh22
?
PDF
RIPE 80: Buffers and Protocols
APNIC
?
PDF
Ba25315321
IJERA Editor
?
PPT
Adhoc and Sensor Networks - Chapter 07
Ali Habeeb
?
PPT
Lect9 (1)
Abdo sayed
?
PPT
Lect9
Abdo sayed
?
PPTX
Congestion control Assignment Help
JosephErin
?
PDF
HIGH SPEED NETWORKS
Kathirvel Ayyaswamy
?
PPT
TCP Traffic Control Chapter12
daniel ayalew
?
PPTX
Transmission Control Protocol (TCP)
k33a
?
PPTX
Transport_Layer_Protocols.pptx
AnkitKumar891632
?
PPT
Chapter6TransportLayer header format protocols-2.ppt
Mugabo4
?
PPTX
High Performance Networking with Advanced TCP
Dilum Bandara
?
PPTX
Computer networks unit iv
JAIGANESH SEKAR
?
PDF
presentationphysicallyer.pdf talked about computer networks
HetfieldLee
?
PPTX
Tcp congestion avoidance
Ahmed Kamel Taha
?
PPTX
NE #1.pptx
tahaniali27
?
Congestion control avoidance
Anthony-Claret Onwutalobi
?
Tcp(no ip) review part2
Diptanshu singh
?
Lecture 19 22. transport protocol for ad-hoc
Chandra Meena
?
6610-l14.pptx
ArvindRamesh22
?
RIPE 80: Buffers and Protocols
APNIC
?
Ba25315321
IJERA Editor
?
Adhoc and Sensor Networks - Chapter 07
Ali Habeeb
?
Lect9 (1)
Abdo sayed
?
Congestion control Assignment Help
JosephErin
?
HIGH SPEED NETWORKS
Kathirvel Ayyaswamy
?
TCP Traffic Control Chapter12
daniel ayalew
?
Transmission Control Protocol (TCP)
k33a
?
Transport_Layer_Protocols.pptx
AnkitKumar891632
?
Chapter6TransportLayer header format protocols-2.ppt
Mugabo4
?
High Performance Networking with Advanced TCP
Dilum Bandara
?
Computer networks unit iv
JAIGANESH SEKAR
?
presentationphysicallyer.pdf talked about computer networks
HetfieldLee
?
Tcp congestion avoidance
Ahmed Kamel Taha
?
NE #1.pptx
tahaniali27
?

More from APNIC (20)

PDF
Transmission Control Protocol (TCP) and Starlink
APNIC
?
PDF
DDoS in India, presented at INNOG 8 by Dave Phelan
APNIC
?
PDF
Global Networking Trends, presented at the India ISP Conclave 2025
APNIC
?
PDF
Make DDoS expensive for the threat actors
APNIC
?
PDF
Fast Reroute in SR-MPLS, presented at bdNOG 19
APNIC
?
PDF
DDos Mitigation Strategie, presented at bdNOG 19
APNIC
?
PDF
ICP -2 Review – What It Is, and How to Participate and Provide Your Feedback
APNIC
?
PDF
APNIC Update - Global Synergy among the RIRs: Connecting the Regions
APNIC
?
PDF
Measuring Starlink Protocol Performance, presented at LACNIC 43
APNIC
?
PDF
Prop-154: Resizing of IPv4 assignments for IXPs
APNIC
?
PDF
Internet Exchange Points, presented at Peering Workshop at the PITA 29th AGM,...
APNIC
?
PDF
Exploring the Evolving Internet Landscape
APNIC
?
PDF
Regional Development for an Open, Stable, and Secure Internet
APNIC
?
PDF
Global Networking Trends, presented at TWNIC 43rd IP Open Policy Meeting
APNIC
?
PDF
APNIC Policy Update and Participation, presented at TWNIC 43rd IP Open Policy...
APNIC
?
PDF
Internet Coordination Policy 2 (ICP-2) Review
APNIC
?
PDF
What's going on with IPv6? presented by Geoff Huston
APNIC
?
PDF
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC
?
PDF
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC
?
PDF
DNS Resolvers and Nameservers (in New Zealand)
APNIC
?
Transmission Control Protocol (TCP) and Starlink
APNIC
?
DDoS in India, presented at INNOG 8 by Dave Phelan
APNIC
?
Global Networking Trends, presented at the India ISP Conclave 2025
APNIC
?
Make DDoS expensive for the threat actors
APNIC
?
Fast Reroute in SR-MPLS, presented at bdNOG 19
APNIC
?
DDos Mitigation Strategie, presented at bdNOG 19
APNIC
?
ICP -2 Review – What It Is, and How to Participate and Provide Your Feedback
APNIC
?
APNIC Update - Global Synergy among the RIRs: Connecting the Regions
APNIC
?
Measuring Starlink Protocol Performance, presented at LACNIC 43
APNIC
?
Prop-154: Resizing of IPv4 assignments for IXPs
APNIC
?
Internet Exchange Points, presented at Peering Workshop at the PITA 29th AGM,...
APNIC
?
Exploring the Evolving Internet Landscape
APNIC
?
Regional Development for an Open, Stable, and Secure Internet
APNIC
?
Global Networking Trends, presented at TWNIC 43rd IP Open Policy Meeting
APNIC
?
APNIC Policy Update and Participation, presented at TWNIC 43rd IP Open Policy...
APNIC
?
Internet Coordination Policy 2 (ICP-2) Review
APNIC
?
What's going on with IPv6? presented by Geoff Huston
APNIC
?
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC
?
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC
?
DNS Resolvers and Nameservers (in New Zealand)
APNIC
?
Ad

Recently uploaded (20)

PDF
03 Internal Analysis Strategik Manajemen.pdf
AhmadRifaldhi
?
PDF
Beginning-Laravel-Build-Websites-with-Laravel-5.8-by-Sanjib-Sinha-z-lib.org.pdf
TagumLibuganonRiverB
?
PDF
Download Google Chrome for Fast and Secure Web Browsing Experience
hgfdsqetuiplmnvcz43
?
PDF
What Is Google Chrome? Fast & Secure Web Browser Guide
hgfdsqetuiplmnvcz43
?
PDF
Clive Dickens RedTech Public Copy - Collaborate or Die
Clive Dickens
?
PPT
Almos Entirely Correct Mixing with Apps to Voting
gapati2964
?
PDF
B M Mostofa Kamal Al-Azad [Document & Localization Expert]
Mostofa Kamal Al-Azad
?
PPTX
BitRecover OST to PST Converter Software
antoniogosling01
?
PDF
BroadLink Cloud Service introduction.pdf
DevendraDwivdi1
?
PPTX
Q1 English3 Week5 PPT-MATATAG@edumaymay.pptx
JenniferCawaling1
?
PPTX
Class_4_Limbgvchgchgchgchgchgcjhgchgcnked_Lists.pptx
test123n
?
PPTX
My Mother At 66! (2).pptx00000000000000000000000000000
vedapattisiddharth
?
PPTX
原版一样(础狈鲍毕业证书)澳洲澳大利亚国立大学毕业证在线购买
Taqyea
?
PDF
web application development company in bangalore.pdf
https://dkpractice.co.in/seo.html tech
?
PPTX
The ARUBA Kind of new Proposal Umum .pptx
andiwarneri
?
PDF
ContextForge MCP Gateway - the missing proxy for AI Agents and Tools
Mihai Criveti
?
PPTX
原版一样(滨厂惭毕业证书)德国多特蒙德国际管理学院毕业证多少钱
taqyed
?
PDF
Materi tentang From Digital Economy to Fintech.pdf
Abdul Hakim
?
PDF
The Convergence of Threat Behaviors Across Intrusions
Joe Slowik
?
PDF
I Want to join occult brotherhood for money ritual#((+2347089754903))
haragonoccult
?
03 Internal Analysis Strategik Manajemen.pdf
AhmadRifaldhi
?
Beginning-Laravel-Build-Websites-with-Laravel-5.8-by-Sanjib-Sinha-z-lib.org.pdf
TagumLibuganonRiverB
?
Download Google Chrome for Fast and Secure Web Browsing Experience
hgfdsqetuiplmnvcz43
?
What Is Google Chrome? Fast & Secure Web Browser Guide
hgfdsqetuiplmnvcz43
?
Clive Dickens RedTech Public Copy - Collaborate or Die
Clive Dickens
?
Almos Entirely Correct Mixing with Apps to Voting
gapati2964
?
B M Mostofa Kamal Al-Azad [Document & Localization Expert]
Mostofa Kamal Al-Azad
?
BitRecover OST to PST Converter Software
antoniogosling01
?
BroadLink Cloud Service introduction.pdf
DevendraDwivdi1
?
Q1 English3 Week5 PPT-MATATAG@edumaymay.pptx
JenniferCawaling1
?
Class_4_Limbgvchgchgchgchgchgcjhgchgcnked_Lists.pptx
test123n
?
My Mother At 66! (2).pptx00000000000000000000000000000
vedapattisiddharth
?
原版一样(础狈鲍毕业证书)澳洲澳大利亚国立大学毕业证在线购买
Taqyea
?
web application development company in bangalore.pdf
https://dkpractice.co.in/seo.html tech
?
The ARUBA Kind of new Proposal Umum .pptx
andiwarneri
?
ContextForge MCP Gateway - the missing proxy for AI Agents and Tools
Mihai Criveti
?
原版一样(滨厂惭毕业证书)德国多特蒙德国际管理学院毕业证多少钱
taqyed
?
Materi tentang From Digital Economy to Fintech.pdf
Abdul Hakim
?
The Convergence of Threat Behaviors Across Intrusions
Joe Slowik
?
I Want to join occult brotherhood for money ritual#((+2347089754903))
haragonoccult
?
Ad

Measuring ECN, presented by Geoff Huston at IETF 122

  • 2. Loss-Based Congestion Control ? Most of today’s network traffic uses an extremely simple algorithm that avoids networks collapsing under extreme overload: ? Continually increase the amount of data being pushed into the network ? Until a network queue overloads and the sender detects the consequent packet loss ? Halve the sending rate and do it again!
  • 3. Refinements ? Change the congestion avoidance inflation algorithm ? Try to detect the difference between isolated damage packet loss and queue overload loss ? Better understand the relationship between network buffers and protocol performance
  • 4. Is there a “better” way? Trigger the congestion response at the onset of queue formation rather than at the point of catastrophic queue collapse
  • 5. BBR ? Detect queue formation through pulsed testing and delay sensitivity
  • 6. Or get the router to help! May 1990!
  • 7. Or get the router to help! January 1999!
  • 8. Or get the router to help! January 1999!
  • 9. Or get the router to help! September 2001!
  • 12. ECN Control Loop ? A router “marks” IP packets at the onset of queue formation with a bit signal ? The Receiver echoes this bit up into the transport protocol reverse flow ? The sender reduces its sending window size (and notifies the receiver that it was performed this window reduction) IP TCP
  • 13. ECN Control Loop ? A router “marks” IP packets at the onset of queue formation with a bit signal ? The Receiver echoes this bit up into the transport protocol reverse flow ? The sender reduces its sending window size (and notifies the receiver that it was performed this window reduction) IP TCP
  • 14. IP Header Version IHL Total Length Flags Identification Fragment Offset Time To Live Source Address Destination Address Options Padding Protocol Header Checksum Type of Service Precedence 0 1 2 3 4 5 6 7 D T R 0 0 Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source Address Destination Address ECN Bits 0 0 – Non-ECN Capable Transport 0 1 – ECN Capable TransporT 1 0 - ECN Capable Transport 1 1 – Congestion Experienced
  • 15. TCP TCP Destination Port Source Port Sequence Number Acknowledgment Number Data offset F I N S Y N U R G A C K P S H R S T Window Checksum Urgent Pointer Padding TCP Options TCP Data E C E C W R ECE – receiver back to sender – CE received CWR – sender to receiver – Congestion Window Reduced SYN+ECE+CWR – ECN capable on session start SYN+ACK+ECE – ECN capable response
  • 16. ECN Measures Packet Count (by remote IP addresses) for Feb/March 2025 0. IP Sources 303,545,388 1. IP ECT 6,815,753 (2.45% of sources) 2. IP CE 1,098,965 (16.12% of ECT sources)
  • 17. ECN Measures Packet Count (by remote IP addresses) 0. IP Sources 303,545,388 1. IP ECT 6,815,753 (2.45% of sources) 2. IP CE 1,098,965 (16.12% of ECT sources) 3. TCP ECN Opt 7,478,207 (2.46% of sources) 4. TCP ECE (Rec’d) 20,862 (0.27% of TCP sources) 5. TCP CWR (Rec’d) 335,209 (4.48% of TCP sources)
  • 18. IP ECT by Country
  • 19. TCP ECN Option by Country