CS FundamentalsVery hardGATE CS

A TCP sender must send a 50-segment file. It starts with cwnd = 1, ssthresh = 8 (slow start doubles cwnd each RTT, capped at ssthresh; then +1 per RTT), and the receiver's advertised window is fixed at 12 segments. No losses occur. In how many RTT rounds is the file sent (a round sends min(cwnd, rwnd) segments)?

  1. A. 7
  2. B. 8
  3. C. 6
  4. D. 10

Correct answer: B. 8

Segments per round: 1, 2, 4, 8, 9, 10, 11, 12; totals reach 45 after 7 rounds and 57 after 8, so 8 rounds are needed. Stopping at 45 gives 7, doubling past ssthresh (1, 2, 4, 8, 16, 32) gives 6, and growing by 1 from the start gives 10.

More Computer Networks questions

Exams that ask this topic