Question
Consider a TCP connection operating at a point of time with the congestion window of size 12 MSS (Maximum Segment Size), when a timeout occurs due to packet loss. Assuming that all the segments transmitted in the next two RTTs (Round Trip Time) are acknowledged correctly, the congestion window size (in MSS) during the third RTT will be _________
Official answer and solution
- Official answer
- 4
- From
- Official GATE 2024 answer key
Solution
Apply TCP timeout recovery: set ssthresh to half of cwnd (), reset cwnd to , and double cwnd each RTT during slow start.
- When a timeout occurs at :
- The slow-start threshold is updated to .
- The congestion window is reset to , and TCP enters Slow Start.
- During the 1st RTT: . Since the segment is acknowledged and , doubles to .
- During the 2nd RTT: . Since both segments are acknowledged and , doubles to .
- During the 3rd RTT: The congestion window size is .
4
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2024 Computer Science and Information Technology - Set 2 (CS2)
- Question
- 54 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.