1 votes 1 votes Compute approx optimal window size when packet size is 1000 bits and propogation delay is 250msec and bottleneck bandwith is 50kbps A_i_$_h asked Oct 13, 2017 A_i_$_h 890 views answer comment Share Follow See all 11 Comments See all 11 11 Comments reply Rupendra Choudhary commented Oct 13, 2017 reply Follow Share Optimal window size (N)would be 1+2a // 100%efficiency a=PT/TT PT=propagation time and TT=Transmission time 0 votes 0 votes A_i_$_h commented Oct 13, 2017 reply Follow Share yes so the calculation of 2a gives 25 and 1+2a=26 so answer should be 26 but many places they give 25 as the answer can u just check it 0 votes 0 votes Rupendra Choudhary commented Oct 13, 2017 reply Follow Share They didn't considered transmission time... actually it's Bandwidth delay product.. (RTT*BW)/Data size = maximum # of packets that can be send in one go... 0 votes 0 votes A_i_$_h commented Oct 13, 2017 reply Follow Share (RTT*BW)/Data size this is only the calculation for 2a why is it not 1+2a thats my doubt 1 votes 1 votes Rupendra Choudhary commented Oct 13, 2017 reply Follow Share https://gateoverflow.in/1820/gate2006-44 0 votes 0 votes Shubhanshu commented Oct 13, 2017 reply Follow Share @Rupendra Choudhary how to identify when to use 1+2a and when to use (RTT*BW)/Data size. Is there any keyword in the question which gives us hint to differentiate these formulas. 0 votes 0 votes A_i_$_h commented Oct 13, 2017 reply Follow Share yea exactly @subhanshu that is what i wanted to know 0 votes 0 votes Rupendra Choudhary commented Oct 13, 2017 reply Follow Share Lets clear it from one simple example. Lets suppose you're(A) at your home and you have to reach office and come back. lets suppose you need 2 second to get ready , after getting ready you leave for office and in 2 seconds you reach your office. Now from office next moment you're coming back (now you don't need any time to get ready) and you take same 2 second to come back.. What does MWS(max window size)means? it means how many maximum persons can leave their room and start the journey for office before you comes back (ACK for 'A' actually) so take same time scenario for every person.. so what happen when you reach office another person B can get ready in those 2 seconds and after you reach back at your room , B would have reach office in those 2 seconds and another person 'C' would have get ready and just departed for office ....so tell me how many maximum perosons can be departed from their room , in time you depart and comes back to your room...3 right? It's 3 actually... so i will go with 1+2a .... 0 votes 0 votes A_i_$_h commented Oct 13, 2017 reply Follow Share nicely explained maximum persons can leave their room and start the journey for office before you comes back but this is 2 right( B and C) @rupendra 0 votes 0 votes Rupendra Choudhary commented Oct 13, 2017 reply Follow Share window size is maximum packets that can be transmitted before coming ACK for 1st packet... so i suppose me must include A too...A , B ,C transmitted before A's ACK reach... 0 votes 0 votes A_i_$_h commented Oct 13, 2017 reply Follow Share So in any case it should be 1+2a and for the above one the ans should be 26? @arjunsir can u please confirm it and help us out 0 votes 0 votes Please log in or register to add a comment.