The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+6 votes
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 \times10^8m/s$ and the token transmission time is ignored. If each station is allowed to hold the token for $2 µsec$, the minimum time for which the monitoring station should wait (in $µsec$) before assuming that the token is lost is _______.
asked in Computer Networks by Veteran (99.8k points)
recategorized by | 3k views
minimum time should definitely be equal to ring latency , even if token holding time is given in order to calculate the minimum time i assume token is not held by any of the station and the token has to physically travel the entire trip , only in this case i will get the minimum time = 10usec

3 Answers

+10 votes
Best answer

Time required to complete one cycle=Tp (Ring Latency) +N*THT 

= 2km/(2*108 m/s) +10*2

= 10 + 10 * 2 = 30 μs

    where THT is token holding time .

answered by (171 points)
selected by
why Tp=10? Tp should be calculated for complete ring.. which is independent of the no. of stations.. then why are you multiplying (length/speed) by 10?

Ring latency is 2km/(2*10^8 m/s)

= 10-5 s = 10 μs

+1 was my calculation mistake.
Answer should be 28, because only 9 stations will be holding the token?
why only 9?
GATE key says 28 and 30 as answers :)
Only 9 stations because
Let's say monitoring station release the token at time x, then
1. token will travel the whole ring, time to propagate=10 microseconds
2. token will travel the other 9 stations, which will hold the token for 2 microsec each (18 microsec in all)
3. after that it will reach the monitoring token again. At this point of time it will be expecting the token to come back. that means it is expecting the token to be back at x+28microsecs.

So it will have to wait 28 microsecs before it can infer token is lost.
yeah .. through this concept itoo get 28us
So both answers are correct?

Acc to me also it should be 28
@Arjun Sir,How 10^-5 second equals 10 micro seconds.Plz help Sir.I m stuck.:(. Thanks again Sir
$1 second = 10^3 millisecond = 10^6 microsecond. Hence 10^-5 second = 10^-5 * 10^6 microsecond = 10 microseconds.$
+3 votes
My answer is 30 us. Please someone verify.
answered by Boss (13.5k points)
+1 vote
Length = 2 km
Propagation Speed v = 2*10^8 m/s
Token Holding Time = 2 micro sec

Waiting time
= length/speed + (#stations - 1)*(token holding time) to
  length/speed + (#stations)*(token holding time)
= 28 to 30
answered by Loyal (8.3k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

38,079 questions
45,572 answers
49,040 users