Skip to content

GATE CS 2014 Set 1 Q26 — Data Link Layer: Framing, Error Detection, MAC, Ethernet Bridging

Explain with AI
Consider a token ring network with a length of 2 km having 10 stations including a monitoring station. The propagation speed of the signal is 2×108m/s2 \times10^8m/s and the token transmission time is ignored. If each station is allowed to hold the token for 2µsec2 µsec, the minimum time for which the monitoring station should wait (in µsecµsec) before assuming that the token is lost is _______.
View worked solution

Answer: 28 : 30

To find the minimum time the monitoring station must wait before assuming the token is lost, we need to calculate the maximum possible time a token can take to complete one full rotation in the worst-case scenario.

1. Propagation Delay (TpT_p)

The propagation delay around the entire ring is given by:

Tp=Ring LengthPropagation Speed=2×103 m2×108 m/s=10−5 s=10 μsT_p = \frac{\text{Ring Length}}{\text{Propagation Speed}} = \frac{2 \times 10^3 \text{ m}}{2 \times 10^8 \text{ m/s}} = 10^{-5} \text{ s} = 10\ \mu\text{s}

2. Token Holding Time (TthtT_{tht})

Each station is allowed to hold the token for a maximum of 2 μs2\ \mu\text{s}.

3. Worst-Case Wait Time Calculation

Depending on when the monitoring station starts its timer, there are two standard interpretations:

  • Case 1: Excluding the monitoring station's own holding time
    If the timer starts immediately after the monitoring station transmits the token, the token only needs to visit the other 99 stations before returning. Wait Time=Tp+(9×Ttht)=10 μs+(9×2 μs)=28 μs\text{Wait Time} = T_p + (9 \times T_{tht}) = 10\ \mu\text{s} + (9 \times 2\ \mu\text{s}) = 28\ \mu\text{s}
  • Case 2: Including the monitoring station's own holding time
    If the timer measures the entire cycle duration where all 1010 stations (including the monitoring station) can hold the token: Wait Time=Tp+(10×Ttht)=10 μs+(10×2 μs)=30 μs\text{Wait Time} = T_p + (10 \times T_{tht}) = 10\ \mu\text{s} + (10 \times 2\ \mu\text{s}) = 30\ \mu\text{s}

Therefore, the minimum wait time for the monitoring station to safely assume the token is lost lies in the range of 28 to 30 μs\mu\text{s}.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Data Link Layer: Framing, Error Detection, MAC, Ethernet Bridging questions