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 bits and the size of the acknowledgement frame is bits.
- The link data rate in each direction is Mbps ( bits per second).
- One way propagation delay of the link is 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 is_____________.
View worked solution
Answer: 50 : 52
To find the minimum sender window size for a link utilization of , we first calculate the transmission delays and the total round-trip cycle time.
1. Transmission Delays:
- Transmission delay of the data frame ():
- Transmission delay of the acknowledgement frame ():
2. Total Cycle Time ():
The total time elapsed from the start of sending a frame to receiving its acknowledgement is: Given the one-way propagation delay :
3. Window Size ():
The link utilization (efficiency ) is given by: Setting :
Rounding to the nearest integer, we get (which lies within the accepted range of to ).
Free practice · Your answers on this page are not saved.
