452 views
5 5 votes

A TCP connection is operating using the Additive Increase Multiplicative Decrease (AIMD) algorithm. At the beginning of the connection, the congestion window ( cwnd ) is set to $1$ MSS and the slow start threshold ( ssthresh ) is $16$ MSS. The connection proceeds normally until a timeout occurs during the sixth round of transmission.

What will be the size of the congestion window at the end of the twelfth transmission round?

  1. $8$ MSS
     
  2. $10$ MSS
     
  3. $11$ MSS
     
  4. $12$ MSS

2 Answers

1 1 vote

Initially, the connection is in the Slow Start phase because the cwnd (1 MSS) is less than the ssthresh ( 16 MSS). In this phase, the cwnd doubles after each successful transmission.

  • Initial: cwnd =1, ssthresh=16
     
  • After Tx 1: cwnd $=1^* 2=2$
     
  • After Tx 2: cwnd $=2 * 2=4$
     
  • After Tx 3: cwnd $=4 * 2=8$
     
  • After Tx 4: cwnd $=8^* 2=16$. At this point, cwnd reaches ssthresh, so the connection switches to the Congestion Avoidance phase for the next transmission.

In Congestion Avoidance, cwnd increases by just 1 MSS per transmission (additively).

  • After Tx 5: cwnd $=16+1=17$

A timeout occurs during the 6th transmission. This is a severe event, triggering the following actions:

1. The ssthresh is set to half of the current cwnd .

  • New ssthresh $=$ floor $(17 / 2)=8$ MSS.

2. The cwnd is reset to 1 MSS.

3. The connection goes back into the Slow Start phase.

Now, we trace the cwnd from its reset state.

  • State after timeout: cwnd $=1$, ssthresh $=8$

Slow Start Phase (again):

  • After Tx 7: cwnd $=1^* 2=2$
     
  • After Tx 8: cwnd $=2 * 2=4$
     
  • After Tx 9: cwnd $=4{ }^{\star} 2=8$. The cwnd has reached the new ssthresh value. The connection again switches to Congestion Avoidance.

Congestion Avoidance Phase (again):

  • After Tx 10: cwnd $=8+1=9$
     
  • After Tx 11: cwnd $=9+1=10$
     
  • After Tx 12: cwnd $=10+1=11$ MSS

Thus, at the end of the twelfth transmission, the congestion window size is $11$ MSS.

Answer:
Position:
Show:

Related questions

5 5 votes
2 2 answers
428
428 views
GO Classes asked Oct 27, 2025
428 views
A TCP connection is used for a critical file transfer. The connection starts with a congestion window ( cwnd ) of $1$ MSS and an initial slow start threshold ( ssthresh )...
4 4 votes
1 1 answer
652
652 views
GO Classes asked Oct 27, 2025
652 views
A network administrator is configuring four devices: a server (S), a printer (P), a workstation (W). and a router's interface (R). Their IP addresses are assigned as foll...
3 3 votes
1 1 answer
314
314 views
GO Classes asked Oct 27, 2025
314 views
A network router uses the token bucket algorithm to manage outgoing traffic. The bucket has a capacity of $500$ tokens, where each token corresponds to one packet. Tokens...
4 4 votes
1 1 answer
309
309 views
GO Classes asked Oct 27, 2025
309 views
A host needs to send a large IP datagram. The datagram's total data payload is $2400$ bytes. This datagram must be fragmented to cross a network link with a Maximum Trans...