GATE / CS ARCHIVE

GATE CSE 2020 / QUESTION 55

GATE CSE 2020 Q55

Computer Networks · Transport, Congestion Control & Traffic Shaping · Full GATE CSE 2020 paper

GATE 2020, Q55 2 marks · NAT
Report issue

Transport, Congestion Control & Traffic Shaping

Question 55, GATE 2020: TCP is established at t=0, RTT=6 ms, receiver advertised window=50 KB, client slow-start threshold=32 KB, MSS=2 KB, no errors or timeouts. Find congestion window after all ACKs at t=60 ms. Initial cwnd and ACK growth convention are not stated; give the intended classic-model answer with that caveat.
Tap to enlarge
Answer & solution

Official answer: 44

Our answer: 44 under classic one-MSS initial window

Worked explanation

There are 60/6=10 completed RTT rounds. In the intended one-MSS initial model the window in MSS after rounds 0…10 is 1,2,4,8,16,17,18,19,20,21,22. Multiply by 2 KB to get 2,4,8,16,32,34,36,38,40,42,44 KB at times 0,6,…,60 ms. The threshold 32 KB is reached after round 4, leaving six additive-increase rounds, not ten. The advertised receiver window limits allowed outstanding data to min(cwnd,rwnd), but here 44<50, so it does not bind. This table is conditional on the classic RTT-based growth and stated initial-window assumption; it is not a claim that all compliant TCP implementations must start at 2 KB.

Derivation and answer

In the classic round-based model, start cwnd at one MSS=2KB when t=0. After RTTs at 6, 12, 18, 24ms, slow start gives 4, 8, 16, 32KB. Then congestion avoidance adds one MSS=2KB per RTT; the next six acknowledgments rounds through 60ms give 34, 36, 38, 40, 42, 44KB. The50KB receiver window does not bind. Thus official 44KB follows. The initial congestion window and ACK growth convention are not explicitly specified; modern larger initial windows or different ACK accounting can change the result. Retain44 as the intended historical model, not a universal TCP outcome.

Original paper, page 16 · Answer key