search
Log In
1 vote
365 views

I have a doubt here. When timeout occurs, the congestion windows size is 18MSS.and Till now total RTT before this timeout were 6.

Now, my threshold will be set to 9MSS and congestion window will start from 1 MSS.So, now when I send 1MSS window and receive it's ack and then my window size changes to 2MSS, will this RTT be counted as 7th RTT or the 8th RTT?

in Computer Networks 365 views
0
threshold will be 9 because timeout occurred at congestion window size 18 and threshold is set to 1/2 of congestion window size at which timeout occurred.
0
$1|2|4|8|16|17|18|19|1|2|4|8|9|10|11$

i'm getting $11$

question says timeout occurs after transmission of $7^{th}$ packet. This means that cwnd is incremented. They are contradicting their own answer because in given solution timeout occurs during 7th transmission.
0

It will be 1MSS

congestion window size counted after RTT completed

here ans will be 1MSS

@Ayush how much u got?

https://gateoverflow.in/1794/gate2014-1-27

0

srestha how you got 1MSS? are you assuming timout after every 7th packet?

0
1. ||. 2  ||. 4. ||. 8. ||. 16. ||. 17. ||. 18. ||. (T.O.). 1. ||  2  ||  4  ||  8  ||   9  ||. 10. || 11  || 12
0
After 14 RTT there is again Timeout, so window sze will be at the end of RTT  came back to initial size again

i.e. 1MSS
0

srestha how you assumed there is timout after 14th RTT?

0

there is only 1 TO and if question mentions that TO will happen after every 7th packet then your answer can be considered

 

0
ok,

but when one TO occured

then we again start from 1st packet, 2nd packet like this

we donot consider them as 8 th packet, 9th packet .......

then why not again we get a 7th packet?
0

srestha can you give me a link to a similar question where packets are considered rather than RTT's?

0

1st point is 

The congestion avoidance phase continues as long as  the acknowledgements arrive before their corresponding timeouts. But the window size, and hence the rate at which the TCP sender can send, can not increase forever. 

http://www2.ic.uff.br/~michael/kr1999/3-transport/3_07-congestion.html 

0

srestha but this point is not clearing the doubt 

0
0
yes , no TO after 10th transmission
0

srestha one point i would like to make is these test series questions relating congestion control which have "TO occur after x RTTs/ packets" are creating lots of confusion because of word after but gate use the term "during"which is appropriate term.

–1

@srestha-My question is when the TO occurs, then will we count that TO as RTT or not?

Like see my work below

Like TO occurred at 7th transmission and when 8th transmission will happen, then will we count the time between 7th transmission and 8th transmission as one RTT? Because actually if you see, it is not RTT, it is TO timer value and it is calculated as $RTT_s+4*RTT$. So, it is not actually RTT, your TO timer value.

 

0

@Ayush

Actually that value will be less than RTT(7-->8) because the timeout has occured Hence for next transmission it will no wait till RTT. So the time between 7Th and 8Th transmission will be somewhat less than RTT(7-->8)

0
@jatin-so will it be counted as RTT for the question?
0

@ Ayush yes i think so https://gateoverflow.in/1794/gate2014-1-27

Here also range 1100 to 1300 if we consider RTT before next transmission to get started with slow start phase after timeout answer come as 1200. What is your thought on this ? 

1 Answer

0 votes
MSS AT START OF 1st Transmission:1MSS

2ND: 2MSS

3RD: 4MSS

4TH: 8MSS

5TH: 16MSS(THRESHOLD REACHED)

6TH: 17MSS

7TH:18MSS

NOW TIMEOUT OCCURED AT END OF 7TH MSS

 

SO NEW TH=9MSS

8TH:1MSS

9TH: 2MSS

10TH:4MSS

11TH: 8MSS

12TH: 9MSS(THRESHOLD REACHED)

13TH: 10MSS

14TH:  11MSS

NOW AT END OF 14th transmission SIZE :12 MSS

Related questions

1 vote
0 answers
1
236 views
I have a doubt here. Case 1: If we don't use time-stamp option in tcp, then the maximum segments that I can send in 1 TCP session is $2^{32}$ Since each segment size is 1460Bytes, maximum data that can be sent is $1460*2^{32}$ Bytes (A) Overhead ... because then sequence number wrap around won't be a problem.Then in this case, what file size should we assume? is my analysis correct in both cases?
asked Aug 22, 2018 in Computer Networks Ayush Upadhyaya 236 views
1 vote
1 answer
2
244 views
I am getting B.. but given answer is C... As H1 sends 300 bytes and initial sequence number is 302.. then it should be transfer bytes from 302-901.. and would be expecting for 902??
asked Nov 3, 2016 in Computer Networks kirti singh 244 views
1 vote
3 answers
3
1 vote
2 answers
4
417 views
Suppose two TCP connections are present over some bottleneck link of rate R bps. Both connections have a huge file to send (in the same direction over the bottleneck link). The transmissions of the files start at the same time. What transmission rate would TCP like to give to each of the connections?
asked Apr 18, 2019 in Computer Networks ajaysoni1924 417 views
...