GATE CS 2024 Set 2 — Question 54
NAT+2 / -0MediumTCP Congestion ControlTransport LayerComputer Networks
Computer Networks → Transport Layer → TCP Congestion Control
Last updated
Question
Consider a TCP connection operating at a point of time with the congestion window of size 12 MSS (Maximum Segment Size), when a timeout occurs due to packet loss. Assuming that all the segments transmitted in the next two RTTs (Round Trip Time) are acknowledged correctly, the congestion window size (in MSS) during the third RTT will be _________
Correct answer
4 to 4
Solution
When a timeout occurs in TCP (standard implementations like Tahoe, Reno, or NewReno), the congestion control mechanism performs the following steps:
1.Update ssthresh: The slow start threshold () is set to half of the current congestion window ().
2.Reset CWND: The congestion window is reset to 1 MSS.
3.Enter Slow Start: The algorithm restarts in the Slow Start phase.
Now, we trace the value of over the subsequent Round Trip Times (RTTs):- During 1st RTT:
- starts at MSS.
- 1 segment is transmitted.
- Since it is acknowledged correctly, increases by 1 (exponential growth in Slow Start).
- End of 1st RTT: MSS.
- During 2nd RTT:
- starts at MSS.
- 2 segments are transmitted.
- Both are acknowledged correctly. increases by 1 for each ACK (total +2).
- End of 2nd RTT: MSS.
- During 3rd RTT:
- starts at MSS.
- Since (), we are still in the Slow Start phase.
More questions on Transport Layer
2024 Set 1 Q16A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP…2024 Set 2 Q23Node X has a TCP connection open to node Y. The packets from X to Y go through an intermediate IP…2024 Set 2 Q28Which of the following statements about IPv4 fragmentation is/are TRUE?2024 Set 1 Q29TCP client successfully establishes a connection to TCP server . Let denote the…2024 Set 1 Q31Which of the following fields is/are modified in the IP header of a packet going out of a network…
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free