Question
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 ( 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 __________
Official answer and solution
- Accepted answers
- 50 to 52
- From
- Official GATE 2021 answer key
Solution
Compute transmission and propagation delays to express link utilization as a function of the sender window size.
Given parameters:
- Data frame size
- ACK frame size
- Bandwidth
- One-way propagation delay
Calculate component delays:
- Data frame transmission delay:
- ACK transmission delay:
- Total round-trip cycle time for a single frame:
Link utilization for a sender window size is:
Setting :
Rounding to the nearest integer gives (the official answer key accepts values between 50 and 52).
51
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2021 Computer Science and Information Technology (CS, Set-1)
- Question
- 59 of 65, printed as CS Q.49
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.