Question

Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-and-Wait protocol for reliable data transfer. Identify in which of the following scenarios, the utilization of the link is the lowest.

Choose one option
Official answer and solution
Official answer
B
From
Official GATE 2023 answer key

Solution

Express link utilization in Stop-and-Wait protocol as a function of propagation delay and transmission delay.

Link utilization in Stop-and-Wait is given by:

η=TtxTtx+2Tprop=11+2a,where a=TpropTtx\eta = \frac{T_{tx}}{T_{tx} + 2 T_{prop}} = \frac{1}{1 + 2a}, \quad \text{where } a = \frac{T_{prop}}{T_{tx}}

Here:

  • Propagation delay Tprop=Distance (d)Propagation speed (v)T_{prop} = \frac{\text{Distance } (d)}{\text{Propagation speed } (v)}
  • Transmission delay Ttx=Packet size (L)Bandwidth/Transmission rate (B)T_{tx} = \frac{\text{Packet size } (L)}{\text{Bandwidth/Transmission rate } (B)}

Thus, a=d⋅Bv⋅La = \frac{d \cdot B}{v \cdot L}. To make link utilization η\eta as low as possible, aa must be as large as possible. This requires maximizing d⋅Bd \cdot B, which corresponds to a longer link length (larger dd) and a higher transmission rate (larger BB).

Final answer

Option (B)

Common trap

Thinking a higher transmission rate increases utilization, whereas in Stop-and-Wait it decreases transmission delay and leaves the link idle during the round-trip propagation time.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2023 Computer Science and Information Technology (CS)
Question
17 of 65
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.