CS 356: Computer Network Architectures Lecture 19: Congestion Avoidance
- Chap. 6.4 and related papers
CS 356: Computer Network Architectures Lecture 19: Congestion - - PowerPoint PPT Presentation
CS 356: Computer Network Architectures Lecture 19: Congestion Avoidance Chap. 6.4 and related papers Xiaowei Yang xwy@cs.duke.edu Overview More on TCP congestion control Theory Macroscopic behavior TCP Cubic Queuing
2
7
RTT Cwnd
8
9
– Efficiency: the closeness of the total load on the resource ot its knee – Fairness:
– Distributedness
system
– Convergence
10
11
12
x1 x2
13
RTT Cwnd
14
– S = w + (w+1) + … (w+w) = 3/2 w2
– 1/S = p – w =
1 1.5p
16
18
w=2 w=1
– Queue length is measured over a busy+idle interval
– A host increases its congest window by 1 packet
– Decreases by 0.875
– Enqueue packet
– Calculate dropping probability P – Drop the arriving packet with probability P
– Drop the arriving packet
avg_qlen p min_thresh 1 max_thresh
avg_qlen TempP min_thresh 1 max_thresh
X CE=1 ECE=1 CWR=1
cwnd