Let the size of congestion window of a TCP connection be KB when a timeout occurs. The round trip time of the connection is msec and the maximum segment size used is KB. The time taken (in msec) by the TCP connection to get back to KB congestion window is _________.
View worked solution
Answer: 1100
When a TCP timeout occurs, the congestion control parameters are updated as follows:
- The slow start threshold () is set to half of the current congestion window size:
- The congestion window () is reset to .
Now, we trace the growth of over successive Round Trip Times (RTTs):
- Slow Start Phase (exponential growth until reaches ):
- Initially (at RTT):
- After RTT:
- After RTT:
- After RTT: (reaches )
- Congestion Avoidance Phase (additive growth of per RTT):
- After RTT:
- After RTT:
- After RTT:
To reach the target congestion window of ():
Given that , the total time taken is:
Free practice · Your answers on this page are not saved.
