Skip to content

GATE CS 2026 Set 2 Q48 — Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets

Explain with AI
Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at 4848 KB, the maximum segment size (MSS) is 22 KB, and the slow start threshold for TCP congestion control is 1616 KB. Assume that there are no timeouts or duplicate acknowledgements. The number of rounds of transmission required for the congestion control algorithm of the TCP connection to reach the congestion avoidance phase is ____\_\_\_\_. (answer in integer)

Note: 1 K=2101 \mathrm{~K}=2^{10}
View worked solution

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 (cwndcwnd) starting from the initial state:

  • Given parameters:
    • Maximum Segment Size (extMSSext{MSS}) = 2extKB2 ext{ KB}
    • Slow start threshold (extssthreshext{ssthresh}) = 16extKB16 ext{ KB}
    • Receiver advertised window (extrwndext{rwnd}) = 48extKB48 ext{ KB}
  • Initial State: The connection starts in the Slow Start phase with an initial congestion window of 1extMSS1 ext{ MSS}: extcwnd1=1imesextMSS=2extKBext{cwnd}_1 = 1 imes ext{MSS} = 2 ext{ KB}

We trace the transmission rounds step-by-step:

  1. Round 1: extcwnd=2extKBext{cwnd} = 2 ext{ KB}. Since extcwnd<extssthreshext{cwnd} < ext{ssthresh} (2extKB<16extKB2 ext{ KB} < 16 ext{ KB}), the sender is in the slow start phase. After successful transmission and acknowledgment of all segments, extcwndext{cwnd} doubles: extcwnd=2imes2extKB=4extKBext{cwnd} = 2 imes 2 ext{ KB} = 4 ext{ KB}
  2. Round 2: extcwnd=4extKBext{cwnd} = 4 ext{ KB}. Since extcwnd<extssthreshext{cwnd} < ext{ssthresh} (4extKB<16extKB4 ext{ KB} < 16 ext{ KB}), the sender remains in slow start. After successful ACKs, extcwndext{cwnd} doubles: extcwnd=2imes4extKB=8extKBext{cwnd} = 2 imes 4 ext{ KB} = 8 ext{ KB}
  3. Round 3: extcwnd=8extKBext{cwnd} = 8 ext{ KB}. Since extcwnd<extssthreshext{cwnd} < ext{ssthresh} (8extKB<16extKB8 ext{ KB} < 16 ext{ KB}), the sender remains in slow start. After successful ACKs, extcwndext{cwnd} doubles: extcwnd=2imes8extKB=16extKBext{cwnd} = 2 imes 8 ext{ KB} = 16 ext{ KB}
  4. Round 4: extcwnd=16extKBext{cwnd} = 16 ext{ KB}. Now, the congestion window has reached the slow start threshold (extcwnd=extssthresh=16extKBext{cwnd} = ext{ssthresh} = 16 ext{ KB}). At this point, the TCP congestion control algorithm transitions to the Congestion Avoidance phase.

Thus, the 4extth4^{ ext{th}} round of transmission is the round in which the congestion avoidance phase is reached and active.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets questions