4.1k views

Consider the following statements regarding the slow start phase of the TCP congestion control algorithm. Note that cwnd stands for the TCP congestion window and MSS window denotes the Maximum Segments Size:

1. The cwnd increases by $2$ MSS on every successful acknowledgment
2. The cwnd approximately doubles on every successful acknowledgment
3. The cwnd increases by $1$ MSS every round trip time
4. The cwnd approximately doubles every round trip time

Which one of the following is correct?

1. Only $\text{(ii)}$ and $\text{(iii)}$ are true
2. Only $\text{(i)}$ and $\text{(iii)}$ are true
3. Only $\text{(iv)}$ is true
4. Only $\text{(i)}$ and $\text{(iv)}$ are true
edited | 4.1k views
0
should be $C$
0

iii) & iv) both are correct. right? Since no such option is there so we select the answer as c). Am I right?

The value of the Congestion Window will be increased by one with each acknowledgment (ACK) received, effectively doubling the window size each round-trip time ("although it is not exactly exponential because the receiver may delay its ACKs, typically sending one ACK for every two segments that it receives"

Source: Wiki

0
IF window is started with 2 mss then what is flow of packet transmission.
+1

What is the difference b/w option B and D

B.The cwnd approximately doubles on every successful acknowledgment

D.The cwnd approximately doubles every round trip time

we get an ack in  RTT of packet transmission.

0

see Official site documentation on tcp congestion control

https://tools.ietf.org/html/rfc2001

Each time an $ACK$ is received by the sender, the congestion window is increased by $1$ segment: $CWND = CWND + 1$.

$CWND$ increases exponentially on every $RTT$.

https://www.utdallas.edu/~venky/acn/CongestionControl.pdf

edited
+10
(i) False, because the cnwd increases by 1MSS(cnwd=cnwd+1) on every successful acknowledgement (when sender receive an acknowledgement).

(ii) False, because same reason as above.

(iii) False, because the cnwd increases exponentially on every RTT.

(iv) True, because the cnwd increases exponentially on every RTT so we can say that it approximately double the cnwd.

0
So Is that mean TCP doesn't use cumulative ack?

As if they are cumulative RTT = Time for which sender sees successful ack

then answer should be both ii & iv
0
@charan TCP works on cumulative acknowledgement. it is selective repeat ARQ which does not work on cumulative acknowledgement
0
What is round trip time means here?

Time for acknowledgment of 1 Segment  or All segments in  window
+3
Round trip time here is for all segments . So is CWND increases exponantialy . two -four- eight- sixteen ... . lets there is cwnd is 4 then its sends 4 packets and increase its cwnd by one each time it gets ack .  at first cwnd =5 , after  second ack = 6 again after third ack cwnd = 7 on fourth ack cwnd = 8 .

This is what round trip time means here . you can consider its as ACK for Last frame in CWND  .
0
@Smishra95

Every segment is acknowledged individually right ?

Then only we can say cwnd increases by 1 MSS per ack and time to get ack back is RTT for segment isn't it ?
0

yeah . you are  ryt . But in TCP congestion control RTT is used for Retransmission timer i e when this timer goes of and ack not recieved then retransmit that again . It increases CWND by one on each ACK . Lets say in first RTT it sends One frame after ack it will send two frames . say fr1 ,fr 3

when ack of fr1 arrives its end again two frames further when ack of fr3 arrrives it sends again two frames in network. Thats why in second RTT there is four frames in network .

since slow start is exponatial in nature so when ADDITIVE INCREASE phase

RTT is a calculated value which follows jacobbes work to caculate it . REF: NETWORKIN TENENBOUM

0
cwnd increases by 1 MSS after every round trip time then  right??
+1

Can anyone please explain why option $\text{ii}$ is false.

In Forouzan, it is clearly mentioned that after acknowledgement window size doubles.

+2

when ack is received of a segment then cwnd is increased by only 1MSS but when all acks are received of all segments then cwnd is doubled.

for example

we are yet to receive 2ACKS and cwnd is 2.

then after we receive 1st ACK, cwnd + 1MSS = 2 + 1 = 3

then after we receive 2nd ACK, cwnd + 1MSS = 3 + 1 = 4

so you see its doubled from 2 to 4

0
1. The cwnd approximately doubles on every successful acknowledgment
2. The cwnd approximately doubles every round trip time

can anyone help me to explain this . i didn't get it.

Both are true?

0
1)cwnd size increases by 1 MSS on every successful acknowledgement.

2)cwnd size approximately double on every RTT in case of slow start phase.
0

cwnd size increases by 1 MSS on every successful acknowledgement by receiver....rt?

+1 vote

in slow start algorithm sender first send one packet if it receives ack with in timeout the it send two packets in 2nd rtt tf it receives ack within timeout then it increase cwnd as exponentially.if it will not receive with in timeout the sender will decrease the size of cwnd to half.so in slow start

The cwnd approximately doubles every round trip time .

so option c correct

+1 vote
TCP uses sliding window protocol and that too sr protocol as it can receive out of window packets and with each ack received it it shift the window. In case of slow start with each ack congestion window is increased by 1 and effectively after each rtt congestion window has increased by 2 times. If an ack acknowledges 2 segment than also cwnd is still increased by 1 segment, enven if ack acknowlsedges a segment that is less than mss still cwnd is increased by 1.

In congestion avoidance phase increase cwnd as cwnd=cwnd+1/(floor(cwnd)). So cwnd segment is increased  if all the cwnd segment has been acknowledged.

1