CS 356: Computer Network Architectures Lecture 20: Congestion Avoidance
- Chap. 6.4 and related papers
CS 356: Computer Network Architectures Lecture 20: Congestion - - PowerPoint PPT Presentation
CS 356: Computer Network Architectures Lecture 20: Congestion Avoidance Chap. 6.4 and related papers Xiaowei Yang xwy@cs.duke.edu TCP Congestion Control History The original TCP/IP design did not include congestion control and avoidance
system operate around the knee to
throughput
system operate left to the cliff to avoid congestion collapse
cwnd = 1 cwnd = 2 cwnd = 4 cwnd = 8 cwnd = 9 cwnd = 10
2 4 6 8 10 12 14 t=0 t=2 t=4 t=6
Roundtrip times Cwnd (in segments) ssthresh
16
1 K S e q N
A c k N
1 2 4 A c k N
1 2 4 1 K S e q N
1 2 4 S e q N
2 4 8 1 K A c k N
1 2 4 S e q N
3 7 2 1 K S e q N
4 9 6 1 K
A c k N
1 2 4 S e q N
1 2 4 1 K S e q N
5 1 2 1 K
CA SS
Fast retransmission/fast recovery TCP saw tooth
– Efficiency: the closeness of the total load on the resource ot its knee – Fairness:
– Distributedness
system
– Convergence
x1 x2
29
RTT Cwnd
30
RTT Cwnd
31
– S = w + (w+1) + … (w+w) = 3/2 w2
– 1/S = p – w =
1 1.5p