GATE / CS ARCHIVE

GATE CSE 2024 SET 2 / QUESTION 54

Window size in the third RTT after a timeout

Computer Networks · Transport, Congestion Control & Traffic Shaping · Full GATE CSE 2024 Set 2 paper

GATE 2024 Set 2, Q54 2 marks · NAT
Report issue

Transport, Congestion Control & Traffic Shaping

Question 54, GATE 2024: A TCP connection has congestion window 12 MSS when a timeout occurs. All segments in the next two RTTs are acknowledged successfully. Under textbook timeout slow start, what is the congestion window during the third RTT, in MSS?
Tap to enlarge
Answer & solution

Official answer: 4

Step through it (4 steps)

Approach: Distinguish the window used during an RTT from its value after that RTT’s acknowledgements.

1. Derivation. Under the standard timeout slow-start model, a timeout sets ssthresh to half the old congestion window, 6MSS, and resets cwnd to 1MSS. The first subsequent RTT uses 1 and its successful ACKs grow cwnd to 2; the second uses 2 and grows it to 4. Thus during the third RTT cwnd is 4MSS, still below the threshold. This assumes the textbook one-MSS post-timeout reset and per-round doubling.

2. Explanation and checks. The timeout halves the threshold, not the new sending window: ssthresh becomes 6 while cwnd restarts at 1. Thus the three rounds begin with windows 1,2,4 respectively. Doubling the third round’s window to 8 would describe a later update, and would also require handling the threshold transition. The requested third round begins below ssthresh, so that boundary detail does not affect the answer. This is the stipulated textbook congestion-control model, not a universal statement about every modern TCP implementation.

Original paper, page 37 · Answer key