775 views
1 votes
1 votes

A simple network consist of two nodes X and Y. Each node has a single frame of F = 1500 bits (including all header and preambles) to send to each other. Both nodes attempt to transmit at ‘t = 0’. In case that a node executes the exponential Back-off algorithm. In the algorithm, a node experiencing the nth collision in a row for given frame, randomly chooses a value of k from {1, . . . 2m} where m is min (n, 10). The node then wait 8k μs before attempting to retransmit the frame. It is also given that the propagation speed of the signal over the network is 2 × 108 m/s and a data rate of 150 Mbps

Assume that collision occur at time = 0, and that the node X draws k = 1 and Y draws k = 2. The time taken by X’s packet (from t = 0) to be completely delivered to Y is ________ μs.

I think it should be 36 μs:-

at t = 0:- TT + 2PT here 2PT is the time to detect the collision.

at t = 1. waiting time is 8*1 μs = 8 μs, then TT + PT.

And TT = 10 μs and PT = 4 μs, and thus it is total 36μs. but the answer given is 26μs.

1 Answer

2 votes
2 votes
Here answer should be 26µsec.

As given in question at time T=0 : collision occurred.

So collision can occur anywhere on the link. We will consider the worst case, suppose that collision occur at Y. So form there, collision signal needs Tp(propagation time) to reach at X : 4µsec

{ Tp = distance/speed }

[So in this case propagation delay= 800/200,000,000 = 4]

Hence At T=4 : Now X waits for 8µsec.then it send packet

{Here k=1 for X, so X will wait for 8µsec}

Now At T=12 : starts sending packet

And packet needs (Tt + Tp) time to reach at Y.

{ Transmission delay = Frame size/Bandwidth}

[ So here Tt= 10µsec ]

So in this case it takes 14µsec to reach at Y ( i.e 10+4)

So at T = 26 : Complete packet delivered from X to Y.

Here your mistake is taking that formula 2*Tp for collision detection.

This(2*To) formula can be applied if they ask that At time T=0, X sends packet to Y. So in that case we can take worst time for collision detection=2*Tp

But here it is given that "ASSUME THAT COLLISION OCCUR AT TIME T=0" it means collision already occurred at time T=0, we only need to check that what the worst time to transmit collision signal to  X from the point at which collision occurred. So here Tp is the worst time

Related questions

6 votes
6 votes
2 answers
1
Vikrant Singh asked Jan 29, 2015
4,467 views
In P-persistent CSMA network there are 5 systems in a slot. The probability of station not transmitting the data is 0.6. Only two stations should transmit the data to avo...
0 votes
0 votes
0 answers
2
shikharV asked Feb 1, 2016
539 views
I am not able to convince myself why transmission time needs to be added for each link if store and forward is not being forward. Please check