0 votes 0 votes Assume that SWP is designed for a 1mbps point to point link to the moon which has 1 way latency(delay) of 1.25sec Assuming that each frame carry 1KB of data, find 1. number of sequence number required 2. number of bits required to represent sequence number. for 1st question i got ans 306.17, is it accepted or we have to round it as 307 plz clarify tiger asked Jan 3, 2016 tiger 542 views answer comment Share Follow See 1 comment See all 1 1 comment reply Pranay Datta 1 commented Jan 3, 2016 reply Follow Share i got 312.5 so, 313 and for that 9 bit req ?? 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes no of seq no = no of window size = n n = tx+2tp / tx tx = 8 * 10^-3 / 10^-6 = 8 ms tp = 1250 ms so, n = (2500+8) / 8 = 313.5 so,314 0r 313 no of bits = ceil(log 313) = 9 . resuscitate answered Jan 3, 2016 resuscitate comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Optimal window size=((1.25*2)*10^6)/10^3 = 312.5 10 bits for selective repeat protocol since window size here is 2^n-1 .[ 2^(n-1)=312.5 n=log2[2*312.5] = 10 bits] 9 bits for Go back n protocol. [2^n - 1 = 312.5 ,2^n = 313.5 ,n =ceil(log2313.5)] bahirNaik answered Jan 3, 2016 bahirNaik comment Share Follow See all 0 reply Please log in or register to add a comment.