CS FundamentalsVery hardGATE CS
A client downloads a 64 KB file (MSS = 1 KB, so 64 segments) over a fast link with RTT = 100 ms. TCP starts with cwnd = 1 MSS, slow start doubles cwnd every RTT, there are no losses and the receiver window is large. Counting the handshake (1 RTT, with the request sent along with the final ACK), roughly how long until the last segment is received? Ignore transmission times.
- A. About 600 ms (6 RTTs)
- B. About 750 ms (7.5 RTTs)
- C. About 650 ms (6.5 RTTs)
- D. About 6.4 s (64 RTTs)
Correct answer: B. About 750 ms (7.5 RTTs)
After the 1-RTT handshake, rounds send 1, 2, 4, 8, 16, 32 segments (63 in 6 rounds) and the 64th goes in round 7. The data of round 7 arrives half an RTT after it is sent: 1 + 6 + 0.5 = 7.5 RTTs = 750 ms. Without slow start (full window) it would take about 1.5 RTTs.
More Computer Networks questions
- A TCP sender has cwnd = 20 MSS but the receiver's window is only 12 MSS, so 12 segments are in flight when a retransmission timeout…
- Two TCP flows share a bottleneck and both use AIMD (additive increase, multiplicative decrease) with the same RTT. Starting from very…
- Which error does the 16-bit Internet checksum (ones'-complement sum) FAIL to detect?
- A receiver using the CRC generator 11001 (x⁴ + x³ + 1) receives the 14-bit frame 11010010110100. What remainder does it compute, and what…
- A (7, 4) Hamming code uses ODD parity, with bit layout p1 p2 d3 p4 d5 d6 d7 (positions 1–7 from the left); each check bit makes its group…
- How many of these MAC addresses are group (multicast or broadcast) addresses? 01:00:5E:00:00:FB, 03:00:00:00:00:01, 02:1A:2B:3C:4D:5E…