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?
- A. 116
- B. 130
- C. 140
- 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
- Router X has neighbours A, B and C reached over links of cost 3, 5 and 2. They advertise their current distance vectors to destinations D1…
- A link-state network has these bidirectional link costs: A-B 7, A-C 9, A-F 14, B-C 10, B-D 15, C-D 11, C-F 2, D-E 6, E-F 9, E-G 3, D-G 14…
- A router has routes for the following prefixes, all pointing to the same next hop: 172.16.0.0/24, 172.16.1.0/24, 172.16.2.0/24…
- A 16-bit Internet checksum is computed over the five 16-bit words 4A3F, B7C1, 2E9D, F05A and 8C13 (hexadecimal): the words are added with…
- A 4-port learning switch has an empty MAC table. Hosts A, B, E, C and D are attached as follows: A and F on port 1 (through a hub), B and…
- A stop-and-wait link carries 1000-byte frames at 2 Mbps with a one-way propagation delay of 20 ms; ACK transmission time is negligible…