22,617 views
52 votes
52 votes
Consider a $128 \times 10^3$ bits/second satellite communication link with one way propagation delay of $150$ milliseconds. Selective retransmission (repeat) protocol is used on this link to send data with a frame size of $1$ kilobyte. Neglect the transmission time of acknowledgement. The minimum number of bits required for the sequence number field to achieve $100 \%$ utilization is ________.

6 Answers

1 votes
1 votes
Bandwidth (B) = 128 × 10^3 bits/ second , Tp =  150 milliseconds , L = 1 KB = 1 * 8 * 2^10 bits

Tt = L / B ⇒  64 msec

So, a = 150 msec / 64 msec = 2.343

η = N  /  1 + 2 *a  ( N = window size )

 for 100% η   ,   N = 1 + 2*a = 1 + 2 * Tp / Tt  = 5.686

In SR , Available sequence number = Ws + Wr (where Ws = Wr ) = 5.686 + 5.686 = 11.375

  Sequence bits =  [ log2 (11.375) ] = 4
edited by
1 votes
1 votes

Let the window size be N, so from the equation Wsender + Wreceiver <= Available Sequence No.

Available Sequence No. = 2N

Given, Utilization=1 

or Efficiency = 1

=> N/(1+2a) = 1

=> N = 1+2a

a = Tp / Tt

Tp = 150 / 1000 = 0.15 sec

Tt = L / B = 1024*8 / 128 * 10^3 = 0.064 sec 

So, a = 0.15 / 0.064 = 2.34375

Thus, N = 1+2a = 5.6875

Therefore, Bits required for Sequence No. = log2(N + N) = log2(11.375) = 4 bits

 

Answer:

Related questions

33 votes
33 votes
5 answers
1