CS FundamentalsVery hardGATE CS

A client downloads a 64 KB file (MSS = 1 KB, so 64 segments) over a fast link with RTT = 100 ms. TCP starts with cwnd = 1 MSS, slow start doubles cwnd every RTT, there are no losses and the receiver window is large. Counting the handshake (1 RTT, with the request sent along with the final ACK), roughly how long until the last segment is received? Ignore transmission times.

  1. A. About 600 ms (6 RTTs)
  2. B. About 750 ms (7.5 RTTs)
  3. C. About 650 ms (6.5 RTTs)
  4. D. About 6.4 s (64 RTTs)

Correct answer: B. About 750 ms (7.5 RTTs)

After the 1-RTT handshake, rounds send 1, 2, 4, 8, 16, 32 segments (63 in 6 rounds) and the 64th goes in round 7. The data of round 7 arrives half an RTT after it is sent: 1 + 6 + 0.5 = 7.5 RTTs = 750 ms. Without slow start (full window) it would take about 1.5 RTTs.

More Computer Networks questions

Exams that ask this topic