GATE / CS ARCHIVE

GATE CSE 2012 / QUESTION 45

TCP congestion window after timeout

Computer Networks · Transport, Congestion Control & Traffic Shaping · Full GATE CSE 2012 paper

GATE 2012, Q45 2 marks · MCQ
Report issue

Transport, Congestion Control & Traffic Shaping

Question 45, GATE 2012: Consider an instance of TCP’s Additive Increase Multiplicative Decrease (AIMD) algorithm where
        the window size at the start of the slow start phase is 2 MSS and the threshold at the start of the first
        transmission is 8 MSS. Assume that a timeout occurs during the fifth transmission. Find the
        congestion window size at the end of the tenth transmission.
        (A) 8 MSS                 (B) 14 MSS                  (C) 7 MSS               (D) 12 MSS
Tap to enlarge
Your answer
Answer & solution

Official answer: Marks to All

Our answer: No unique numerical answer asserted; conditional round models yield 8 MSS (A) or 7 MSS (C).

The official Code A key awards Marks to All; it does not supply a numerical answer or an official explanation. To expose the conventions needed, take transmissions as RTT-sized rounds: the initial windows are 2, 4, 8, 9, 10 MSS, so a timeout in round 5 sets a halved threshold of 5 MSS under the usual round model. If the post-timeout window resets to the stated slow-start value 2 and slow-start growth is capped at the threshold, rounds 6–10 end with windows 4, 5, 6, 7, 8 MSS (A). With a one-MSS timeout restart and the same threshold-capping convention, they end with 2, 4, 5, 6, 7 MSS (C). Literal doubling across the threshold gives still other round traces. ACK-level growth and whether the quoted window belongs to the beginning or end of a transmission also need a convention. These conditional examples explain why one should not present a uniquely established numerical result from this wording; they are not claimed as the exam authority’s reason for the award.

Check: The timeout point matters because halving acts on the current window, not the original threshold. With the stated round trace the current window is 10 MSS, giving a threshold of 5, after which the restart convention determines which option can follow.

Original paper, page 11 · Answer key