Slow Start initialize: cwnd = 1 (one maximum segment size); For each segment that is acknowleged cwnd = cwnd + 1 until min(cwnd, awnd) 9
Congestion Avoidance n n TCP는 timeout될 때까지 ACK을 받지 못하면 congestion avoidance를 수행한다. Congestion Avoidance If (segment timeout) 1. Set threshold = cwnd/2 2. Set cwnd = 1 and restart “slow-start” until (cwnd = threshold) 3. If (cwnd threshold) cwnd = cwnd + 1 every roundtrip time 10
Fast Retransmit와 Fast Recovery n 동일한 ACK을 3개 받을 경우 n Fast Retransmit n n Timeout되기 전이라도 바로 재전송한다. Fast Recovery n n Cwnd를 현재의 Cwnd의 반으로 줄인다. 그리고 줄인 Cwnd에서부터 linear하게 증가시킨다. 12