Question:

A TCP sender successfully establishes a connection with a TCP receiver and starts
the transmission of segments. The TCP congestion control mechanism’s slow-start
threshold is set to 10000 segments. Assume that the round-trip time is fixed at
1 millisecond. Assume that the sender always has data to send, the segments are
numbered from 1, and no segment is lost. Let 𝑡 denote the time (in milliseconds) at
which the transmission of segment number 2000 starts.
Which one of the following options is correct?

Show Hint

In slow start, cwnd doubles every RTT starting from 1. Cumulative segments sent after round $k$ equal $2^k - 1$. Find the round where segment 2000 falls, then multiply (round number - 1) by the RTT to get the start time.
Updated On: Aug 4, 2026
  • 9 ≤ 𝑡 < 10
  • 10 ≤ 𝑡 < 11
  • 11 ≤ 𝑡 < 12
  • 12 ≤ 𝑡 < 13
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

This question tests the TCP slow-start phase of congestion control, where the congestion window (cwnd) grows exponentially every round-trip time (RTT) until it reaches the slow-start threshold (ssthresh).

Step 1: Setup. ssthresh = 10000 segments, RTT = 1 ms, cwnd starts at 1 segment and doubles every RTT (slow start). Since 10000 is very large, we stay in slow start for a long time, so we only need to track cwnd growth until segment 2000 is reached.

Step 2: Segments sent per round. In round \(k\) (starting from round 1, \(k = 1, 2, 3, \ldots\)), cwnd = \(2^{k-1}\), so \(2^{k-1}\) new segments are transmitted in that round.

Step 3: Cumulative segments after each round. The total number of segments sent by the end of round \(k\) is:

\[ 1 + 2 + 4 + \cdots + 2^{k-1} = 2^k - 1 \]
RoundcwndSegments sentCumulative total
1111
222-33
344-77
488-1515
51616-3131
63232-6363
76464-127127
8128128-255255
9256256-511511
10512512-10231023
1110241024-20472047

Step 4: Locate segment 2000. After round 10, cumulative segments sent = 1023. In round 11 (cwnd = 1024), segments numbered 1024 through 2047 are transmitted. Since \(1024 \le 2000 \le 2047\), segment number 2000 is sent during round 11.

Step 5: Find the start time of round 11. Round 1 starts at \(t = 0\). Each subsequent round begins exactly one RTT (1 ms) after the previous one. Round 11 therefore starts at:

\[ t = (11 - 1) \times 1\ \text{ms} = 10\ \text{ms} \]

So the transmission of segment number 2000 starts at \(t = 10\) ms, which satisfies \(10 \le t < 11\).

Final Answer:

\[ \boxed{10 \le t < 11 \ \text{(Option B)}} \]
Was this answer helpful?
0
0

Top GATE CS Computer Science and IT Engineering Questions

View More Questions