thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
Networks & Protocols
INF566 - X2010 - 2012 Lecture 2a - Congestion control: Seeing Red
1
Networks & Protocols INF566 - X2010 - 2012 Lecture 2a - - - PowerPoint PPT Presentation
Networks & Protocols INF566 - X2010 - 2012 Lecture 2a - Congestion control: Seeing Red thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/ 1 Networks & Protocols INF566 - X2010 - 2012
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
INF566 - X2010 - 2012 Lecture 2a - Congestion control: Seeing Red
1
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
INF566 - X2010 - 2012 Lecture 2a - Congestion control: Seeing Red
1
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
1 9/1 Intro, kick-off, objectives and motivation (Thomas) “What Makes For A Successful Protocol?” (Mark) 2 16/1 “Bufferbloat & the Broken Internet” (Thomas & Mark) 3 23/1 “Carrier-Grade Routing” (Thomas) 4 30/1 “Peering” (Thomas & Mark) 5 6/2 RPKI (Mark) 6 13/2 "Indirection, Encapsulation, and Obfuscation" (Mark & Thomas) 7 20/2 SDOs: the ITU, IETF, ... - Guest Lecture by Elliot Lear 8 27/2 "Homenetworking and The Curse of the End-2-End Model" (Mark) 9 ??? Presentations by buddy-teams (Thomas + Mark)
2
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
1 9/1 Intro, kick-off, objectives and motivation (Thomas) “What Makes For A Successful Protocol?” (Mark) 2 16/1 “Bufferbloat & the Broken Internet” (Thomas & Mark) 3 23/1 “Carrier-Grade Routing” (Thomas) 4 30/1 “Peering” (Thomas & Mark) 5 6/2 RPKI (Mark) 6 13/2 "Indirection, Encapsulation, and Obfuscation" (Mark & Thomas) 7 20/2 SDOs: the ITU, IETF, ... - Guest Lecture by Elliot Lear 8 27/2 "Homenetworking and The Curse of the End-2-End Model" (Mark) 9 ??? Presentations by buddy-teams (Thomas + Mark)
2
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
3
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
3
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
3
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
3
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
3
“speed dating matching service” matches rate of sender to rate at which receiving application is reading
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
4
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
5
“Network Buffers” (routers, etc.) overload too
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
5
“Something’s Rotten.....”? Goal:
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
6
“Something’s Rotten.....”? Goal:
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
6
“Something’s Rotten.....”?
Goal:
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
6
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
7
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
7
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
8
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
8
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
8
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
8
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
8
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
8
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CWIN Size
t1 t2
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CWIN Size
t1 t2
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CWIN Size
t1 t2 Tahoe acts on no-ack + Timeout
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
9
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
10
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
11
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
11
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
11
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
S D
12
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
S D
SND
12
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
ACK:<1
S D
1:m 3:m 2:m 4:m
SND
1 2 3 4
ACK:<1 ACK:<1
12
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
ACK:<1
S D
1:m 3:m 2:m 4:m 1: m
SND
ACK:<5 ACK:<1 ACK:<1
NACK
12
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
ACK:<1
S D
1:m 3:m 2:m 4:m 1: m
SND
ACK:<5 ACK:<1 ACK:<1
NACK
Receiver MUST send ACK immediately when gap is filled
12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CWIN Size
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CWIN Size
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CWIN Size
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CWIN Size
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CWIN Size
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
13
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
14
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
15
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
15
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
15
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
15
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
"Oscillating Behavior of Network Traffic: A Case Study Simulation" by Lixia Zhang and Dave Clark
16
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
"Characteristics of UDP Packet Loss: Effect of TCP Traffic" by Hidenari Sawashima, Yoshiaki Hori, Hideki Sunahara
17
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
18
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
19
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
19
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
20
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
21
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
21
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
21
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
21
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
22
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
"Oscillating Behavior of Network Traffic: A Case Study Simulation" by Lixia Zhang and Dave Clark
23
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
24
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
25
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
25
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
25
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
25
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
26
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
minth maxth maxP 1.0 Avg queue length
Drop Probability (Pa)
27
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
when receiving packet:
28
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
when receiving packet:
29
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
30
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
The goal is for the gateway to mark packets at fairly evenly-spaced intervals, in order to avoid biases and to avoid global synchronization, and to mark packets sufficiently frequently to control the average queue size.
31
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
The goal is for the gateway to mark packets at fairly evenly-spaced intervals, in order to avoid biases and to avoid global synchronization, and to mark packets sufficiently frequently to control the average queue size.
32
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
33
thomas@thomasclausen.org http://www.thomasclausen.org mark@townsley.net http://www.townsley.net/
INF566 - X2010 - 2012 Lecture 2(b) - “Bufferbloat and the Broken Internet?”
34