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
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)]
64.3k questions
77.9k answers
244k comments
80.0k users