CS FundamentalsVery hardGATE CS

A TCP Tahoe sender starts with cwnd = 1 MSS and ssthresh = 16 MSS. In each round trip it sends cwnd segments, and cwnd then doubles during slow start (capped at ssthresh) or grows by 1 in congestion avoidance. A timeout occurs at the end of the round in which cwnd = 20: ssthresh becomes half that cwnd and cwnd resets to 1 for the next round. How many segments are sent in the first 14 rounds in total?

  1. A. 116
  2. B. 130
  3. C. 140
  4. D. 165

Correct answer: B. 130

Rounds 1-9 send 1, 2, 4, 8, 16, 17, 18, 19, 20 = 105 segments. The timeout sets ssthresh = 10, so rounds 10-14 send 1, 2, 4, 8, 10 = 25 more, giving 130. A Reno-style restart at ssthresh would give 165.

More Computer Networks questions

Exams that ask this topic