Question Details

Consider the implementation of sliding window protocol over a lossless link, with a window size of W frames, where each frame is of size 1000 bits (including header). The bandwidth of the link is 100 kbps (1k = 103) and the one-way propagation delay is 100 milliseconds. Assume that processing times at the sender and receiver are zero and the transmission time of acknowledgements is also zero. Which one of the following options gives the minimum size of W (in number of frames) required to achieve 100% link utilization?

Options

A

10

B

21

C

20

D

11

Show Answer

Correct Answer :

Option B

21

Solution :

The correct option is 21.

To find the minimum window size W required to achieve 100% link utilization, we need to analyze the timing of the sliding window protocol. Link utilization is 100% when the sender can continuously transmit frames without waiting for acknowledgements. This requires the total transmission time of the frames within the window to be at least equal to the round-trip time (RTT) of the link.

Let's first calculate the transmission time (Ttx) of a single frame:
Frame size (L) = 1000 bits
Bandwidth (B) = 100 kbps = 100×103 bits per second = 100,000 bps
Transmission time is given by the formula:
Ttx = LB = 1000100,000 = 0.01 seconds = 10 milliseconds

Next, we determine the Round-Trip Time (RTT) of the link. RTT is the time from when the sender starts transmitting a frame to when it receives the corresponding acknowledgement. The problem specifies that processing times and the transmission time of acknowledgements are zero:
One-way propagation delay (Tp) = 100 milliseconds
RTT is defined as:
RTT = Ttx + 2 × Tp
Substituting the values, we get:
RTT = 10 ms + 2 × 100 ms = 210 milliseconds

To achieve 100% link utilization, the sender must be able to send W frames continuously during one RTT. Therefore, the total transmission time for W frames must satisfy the following inequality:
W × Ttx RTT
Substituting the calculated values into the inequality:
W × 10 ms 210 ms
Solving for W:
W 21010
W 21

Thus, the minimum size of the window W required to achieve 100% link utilization is 21 frames.

Unlock Our Free Library

Access expert-curated educational resources and study materials—completely free.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...