CS FundamentalsHardGATE CS
A TCP sender estimates the round-trip time with SRTT = (7/8)SRTT + (1/8)R and RTTVAR = (3/4)RTTVAR + (1/4)|SRTT - R| (RTTVAR updated first, using the old SRTT), and RTO = SRTT + 4 RTTVAR. The first RTT sample R = 100 ms initialises SRTT = 100 ms and RTTVAR = 50 ms. Three more samples arrive: 140 ms, 80 ms and 220 ms. Ignoring any minimum RTO, what is the RTO after the fourth sample?
- A. 360.4 ms
- B. 340.5 ms
- C. 420.4 ms
- D. 238.5 ms
Correct answer: A. 360.4 ms
After 140 ms: RTTVAR = 47.5, SRTT = 105. After 80 ms: RTTVAR = 41.88, SRTT = 101.88. After 220 ms: RTTVAR = 60.94 and SRTT = 116.64, so RTO = 116.64 + 4 x 60.94 = 360.4 ms. Updating SRTT before RTTVAR gives 340.5 ms.
More Computer Networks questions
- An idealised long-lived TCP flow has RTT = 100 ms and MSS = 1500 bytes. Each loss event happens exactly when cwnd reaches 40 segments…
- 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…