4 votes
4 votes

Consider a Go Back N sliding window protocol that uses a frame size of $2$KB to send data on a $10$KBPS link with a Round Trip Time of $100$ milli seconds.To achieve a link utilization of $50\%$, the minimum number of bits required to represent the sequence number field is  _____ .


Here per frame transmission time is 0.2 seconds & given RTT is 0.1 second.

How it is possible?

Am I misinterpreting the question?

3 Answers

Best answer
5 votes
5 votes

Transmission time= 2KB / 10KBPS

                            =2*210 / 10 * 210 sec

                               =1/5 sec= 0.2 sec=200ms

RTT= 100m =0.1 sec

then, propagation delay = 100/2=50 ms

So, 2a = 2tp / tt = 2 *50/200 = 1/2 

Min no. of bits in sequence no of field    ceil(log2(1+2a))

                                                              =ceil(log(3/2)) = 1

selected by
5 votes
5 votes

Efficiency of GBN = N / 1+2a             so 0.5 = N / 1+2a where a= Tp / Tt, 

so Here N=0.5(1+2a)

2a = 100*10^-3 *10* 10^3 / 2*1024*8 = 0.061

N= 0.5 (1+0.061)=0.53 IN GBN  N+1 <= ASN implies 1.53<=ASN ,

ASN =2 so min no of bits =1

1 votes
1 votes

when using GO Back N sliding window protocol receiver window size will be 1

propogation delay is 50ms

tansmission time is 2kb/10kbps is 200ms

and sender window size if using 50% utilization

sender window size>=1/2 *(1+2a)

so a=transmission delay/transmission time

a=50ms/200ms

a=1/4

so (1+2a) =3/2

so sender window size is ceil(3/4)=1

available sequence no >=sender window size + receiver window size

available sequence no >=1+1

ASN>=2

bits require to represent sequence no is ceil(log22) is 1

Related questions

5 votes
5 votes
3 answers
1
0 votes
0 votes
1 answer
3
iarnav asked Nov 8, 2018
1,956 views
Sender Window Size is 7 and every 3rd packet is lost/corrupted. So, how to find channel utilization!?