Answer: 4:4
To find the number of transmission rounds required to reach the congestion avoidance phase, we trace the growth of the TCP congestion window (cwnd) starting from the initial state:
- Given parameters:
- Maximum Segment Size (extMSS) = 2extKB
- Slow start threshold (extssthresh) = 16extKB
- Receiver advertised window (extrwnd) = 48extKB
- Initial State:
The connection starts in the Slow Start phase with an initial congestion window of 1extMSS:
extcwnd1=1imesextMSS=2extKB
We trace the transmission rounds step-by-step:
- Round 1: extcwnd=2extKB. Since extcwnd<extssthresh (2extKB<16extKB), the sender is in the slow start phase. After successful transmission and acknowledgment of all segments, extcwnd doubles:
extcwnd=2imes2extKB=4extKB
- Round 2: extcwnd=4extKB. Since extcwnd<extssthresh (4extKB<16extKB), the sender remains in slow start. After successful ACKs, extcwnd doubles:
extcwnd=2imes4extKB=8extKB
- Round 3: extcwnd=8extKB. Since extcwnd<extssthresh (8extKB<16extKB), the sender remains in slow start. After successful ACKs, extcwnd doubles:
extcwnd=2imes8extKB=16extKB
- Round 4: extcwnd=16extKB. Now, the congestion window has reached the slow start threshold (extcwnd=extssthresh=16extKB). At this point, the TCP congestion control algorithm transitions to the Congestion Avoidance phase.
Thus, the 4extth round of transmission is the round in which the congestion avoidance phase is reached and active.