CS FundamentalsVery hardProduct company interview · GATE level

A TCP Reno sender starts transmission round 1 with cwnd = 1 MSS and ssthresh = 32 MSS. In slow start cwnd doubles every round but is never raised above ssthresh; at or above ssthresh it grows by 1 MSS per round. A loss is detected by three duplicate ACKs during round 9 and by a timeout during round 15. On triple duplicate ACK, ssthresh = floor(cwnd/2) and the next round starts with cwnd = ssthresh; on timeout, ssthresh = floor(cwnd/2) and cwnd restarts at 1 MSS. What is cwnd in round 22?

  1. A. 13 MSS
  2. B. 18 MSS
  3. C. 12 MSS
  4. D. 14 MSS

Correct answer: A. 13 MSS

Rounds 1-6: 1, 2, 4, 8, 16, 32 (slow start reaches ssthresh). Rounds 7-9: 33, 34, 35. Triple duplicate ACK at 35: ssthresh = 17, and rounds 10-15 are 17, 18, 19, 20, 21, 22. Timeout at 22: ssthresh = 11, cwnd = 1. Rounds 16-19: 1, 2, 4, 8. Doubling 8 would give 16, above ssthresh, so round 20 is 11, then 12 and 13 in rounds 21 and 22. The 18 MSS answer comes from letting slow start overshoot to 16 and then adding 1 per round; 12 is the value one round too early.

More Computer Networks questions

Exams that ask this topic