retagged by
29,116 views
39 39 votes

Consider the sliding window flow-control protocol operating between a sender and a receiver over a full-duplex error-free link. Assume the following:

  • The time taken for processing the data frame by the receiver is negligible.
  • The time taken for processing the acknowledgement frame by the sender is negligible.
  • The sender has infinite number of frames available for transmission.
  • The size of the data frame is $2,000$ bits and the size of the acknowledgement frame is $10$ bits.
  • The link data rate in each direction is $1$ Mbps ($=10^6$ bits per second).
  • One way propagation delay of the link is $100$ milliseconds.

The minimum value of the sender's window size in terms of the number of frames, (rounded to the nearest  integer)  needed  to achieve a link utilization of $50\%$ is_____________.

3 Answers

Best answer
44 44 votes
Let the sender window size be $N$.

$\text{One way propagation delay} =100\,ms=0.1\,s$

$\text{Transmission delay}_{packet}=\frac{\text{Size of data frame}}{\text{Link bit rate}}=\frac{2000}{10^{6}}=0.002\,s$

$\text{Transmission delay}_{ACK}=\frac{\text{Size of ACK frame}}{\text{Link bit rate}}=\frac{10}{10^{6}}=0.00001\,s$

$\text{Link Utilization}(\eta )=\frac{\text{Useful Data Transfer time}}{\text{Total time}}$

$\implies \eta = \frac{N.(T_{f})}{T_{f}+2(T_{p})+T_{ACK}}$

$\implies N = \left \lceil \frac{\eta.\left(T_{f}+2(T_{p})+T_{ACK}\right)}{T_{f}}\right \rceil = \left \lceil \frac{0.5(0.002+0.2+0.00001)}{0.002}\right \rceil =\lceil 50.5025 \rceil  =51$

Correct Answer: $51$
selected by
7 7 votes
let window size =N

a=Tp/Tt

a=100*(10^-3)*(10^6/2000)

a=100/2=50

so,to get 50% utilization

 

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

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

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

N>=51

The minimum size of window size is 51
0 0 votes
the ans is 51 for this question   iit had given range from 50 -52
3 flags:
✌ Low quality (TanayH)
✌ Low quality (JHighlight “Kuch bhi”)
✌ Low quality (Ishigami_Senku)
Answer:
Position:
Show:

Related questions

22 22 votes
6 answers 6 answers
11.6k
11.6k views
Arjun asked Feb 18, 2021
11,640 views
Consider the following two statements.$S_1$: Destination $\text{MAC}$ address of an $\text{ARP}$ reply is a broadcast address.$S_2$: Destination $\text{MAC}$ address of a...
0 0 votes
1 1 answer
758
758 views
admin asked Oct 23, 2022
758 views
Based on the following passage, answer the Questions :A $3000 \mathrm{~km}$ long trunk operates at $1.536 \mathrm{mbps}$ and is used to transmit 64 bytes frames and uses ...
1 1 vote
3 answers 3 answers
1.2k
1.2k views
Bikram asked Nov 26, 2016
1,213 views
Let the number of bits used to represent the frame sequence number is $x$ then the total number of frames in the sliding window can be send from sender side using Go Back...