CS FundamentalsHardGATE CS
An idealised long-lived TCP flow has RTT = 100 ms and MSS = 1500 bytes. Each loss event happens exactly when cwnd reaches 40 segments, after which cwnd is halved and then grows by 1 MSS per RTT (a perfect sawtooth between 20 and 40 segments). What is the average throughput of the flow?
- A. 2.4 Mbps
- B. 4.8 Mbps
- C. 3.1 Mbps
- D. 3.6 Mbps
Correct answer: D. 3.6 Mbps
The window ranges linearly from W/2 to W, so its mean is 0.75W = 30 segments. Throughput = 30 x 1500 x 8 bits / 0.1 s = 3.6 Mbps. The peak rate is 4.8 Mbps, but the average is 3/4 of it.
More Computer Networks questions
- 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…
- 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…