369 views
5 5 votes

Consider a TCP connection using AIMD (Additive Increase Multiplicative Decrease) congestion control. The current congestion window size is $\mathbf{2 4 ~MSS}$. A timeout occurs, followed by three successful RTTs of transmission.

What is the congestion window size after these three RTTs?

1 Answer

1 1 vote

After Timeout

When a timeout occurs, TCP enters slow start phase:

  • Congestion window (cwnd) is set to $1 ~\mathrm{MSS}$
     
  • Slow start threshold (ssthresh) is set to half of previous window: $24 / 2=12 ~\mathrm{MSS}$
     

First RTT (Slow Start)

  • $\mathrm{cwnd = 1 ~MSS \rightarrow 2 ~MSS}$ (exponential increase in slow start)
     

Second RTT (Slow Start continues)

  • $\mathrm{cwnd =2 ~MSS \rightarrow 4 ~MSS}$ (exponential increase)
     
  • Still below ssthresh $\mathrm{(12 ~MSS)}$, so slow start continues.
     

Third RTT (Still in Slow Start)

  • $\mathrm{cwnd =4 ~MSS \rightarrow 8 ~MSS}$ (exponential increase)
     
  • Now $\text{cwnd} ~(8 ~\mathrm{MSS})$ is still less than $\text{ssthresh}~(12 ~\mathrm{MSS})$
     

Final Window Size

After three successful RTTs, the congestion window size is $\mathbf{8 ~MSS}$.

Answer:
Position:
Show:

Related questions

7 7 votes
1 1 answer
335
335 views
GO Classes asked Nov 21, 2025
335 views
Consider a TCP connection where the congestion window varies between $\mathrm{W}$ and $\mathrm{W} / 2$ due to periodic packet losses caused by congestion. The round-trip ...
5 5 votes
2 2 answers
427
427 views
GO Classes asked Nov 21, 2025
427 views
$\text { Consider a network running a link-state routing protocol with the following topology: }$The numbers represent link costs. Router A needs to compute the shortest ...
6 6 votes
3 3 answers
397
397 views
GO Classes asked Nov 21, 2025
397 views
An IP datagram of size $\mathbf{2400} ~\textbf{bytes}$ (including IP header) passes through two networks with different MTUs:Network A: MTU $= 1500 ~\textbf{bytes}$ Netwo...
6 6 votes
2 2 answers
450
450 views
GO Classes asked Nov 21, 2025
450 views
Consider an IP datagram of $\mathbf{1500 ~bytes}$ (including the IP header) that must be sent over a network with an MTU of $\mathbf{576 ~bytes}$. The IP header size is $...