Back to the 2016 paper

Module 4: Transport Layer & Congestion Control

20167m

Suppose that the stop-and-wait protocol is used on a link with a bit rate of 64 kilobits per second and 20 milliseconds propagation delay. Assume that the transmission time for the acknowledgment and the processing time at nodes are negligible. What is the minimum frame size in bytes to achieve a link utilization of at least 50%.

Worked SolutionAI Assisted

Minimum Frame Size for 50% Utilization on a Stop-and-Wait Link

Given: bit rate R=64R = 64 kbps, one-way propagation delay Tp=20T_p = 20 ms, ACK transmission time and node processing delay are negligible, target utilization U≥50%U \ge 50\%.

Step 1: Time for one stop-and-wait cycle

One cycle = transmit the frame + propagate to receiver + propagate the ACK back:

Tcycle=Tt+Tp+Tp=Tt+2TpT_{cycle} = T_t + T_p + T_p = T_t + 2T_p

Step 2: Utilization formula

U=time the link is busy sending datatotal cycle time=TtTt+2TpU = \frac{\text{time the link is busy sending data}}{\text{total cycle time}} = \frac{T_t}{T_t + 2T_p}

Step 3: Apply the 50% condition

0.5≤TtTt+0.0400.5 \le \frac{T_t}{T_t + 0.040}

0.5 (Tt+0.040)≤Tt  ⟹  0.5Tt+0.020≤Tt0.5\,(T_t + 0.040) \le T_t \;\Longrightarrow\; 0.5T_t + 0.020 \le T_t

0.020≤0.5 Tt  ⟹  Tt≥0.040 s=40 ms0.020 \le 0.5\,T_t \;\Longrightarrow\; T_t \ge 0.040\ \text{s} = 40\ \text{ms}

So the frame must occupy the link for at least 40 ms, i.e. Tt≥2TpT_t \ge 2T_p.

Step 4: Convert transmission time into frame size

L=R×Tt=64,000 bits/s×0.040 s=2560 bitsL = R \times T_t = 64{,}000\ \text{bits/s} \times 0.040\ \text{s} = 2560\ \text{bits}

L=25608=320 bytesL = \frac{2560}{8} = 320\ \text{bytes}

Check

Tt=320×8/64000=0.04T_t = 320 \times 8 / 64000 = 0.04 s, so U=0.04/(0.04+0.04)=0.5U = 0.04/(0.04 + 0.04) = 0.5, i.e. exactly 50%.

Final answer: the minimum frame size is 320 bytes. Any frame of 320 bytes or more yields a utilization of at least 50%.

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.