Question
Consider an instance of TCP's Additive Increase Multiplicative Decrease (AIMD) algorithm where the window size at the start of the slow start phase is 2 MSS and the threshold at the start of the first transmission is 8 MSS. Assume that a timeout occurs during the fifth transmission. Find the congestion window size at the end of the tenth transmission.
Official answer and solution
- Official answer
- Marks to all
- From
- Official GATE 2012 answer key
Official GATE answer key awarded Marks to All for this question.
Solution
Trace TCP congestion window evolution during slow start and congestion avoidance up to and after timeout.
- Initial parameters:
- Start of slow start window: .
- Initial threshold: .
- First 5 transmissions:
- Trans 1: (slow start). Successful .
- Trans 2: (slow start). Successful .
- Trans 3: (equals threshold, enters Congestion Avoidance). Successful .
- Trans 4: . Successful .
- Trans 5: . Timeout occurs!
- Timeout handling:
- New threshold is set to .
- The congestion window is reset.
- Reason for Marks to All: Standard RFC TCP resets the congestion window to 1 MSS, while some textbooks/interpretations reset it to the stated initial slow-start window of 2 MSS. Furthermore, ambiguity in whether 'end of tenth transmission' referred to the window size applied during transmission 10 or updated after transmission 10 led to different answers (7 MSS or 8 MSS). Due to these conflicting interpretations, GATE awarded Marks to All.
Marks to All (Ambiguity in reset window and round numbering led to Marks to All; mathematically 7 or 8 MSS depending on interpretation).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2012 Computer Science and Information Technology (CS)
- Question
- 45 of 65, printed as CS Q.45
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.