Docsity

Content Free Protocols - Computer Networks - Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Content Free Protocols - Computer Networks - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

Collision free protocols

  • Reservation Protocols • Station have a unique address

0 ,…,N-

Bit mapped protocol:^ – Contention period – divide into

N

slots

  • station

can only send a 1 bit in that slot.

Collision free protocols

  • Station j announces that it has a frame to

transmit by inserting a bit in slot j.

  • After all N slots have passed by –
    • every station knows numerical order – Now transmit in Numerical order
      • no collision at all!

Collision free protocols

  • After all stations have transmitted

probability of having a frame to transmitmiddle of slot

  • wait 1 ½ contention period before transmitting
    • Always 1 bit/station/frame transmitted is the

overhead

Efficiency

1

1

1

0

1

2

3

4

5

6

7

1

3

7

contention

size

frame

d

d

d

U

load

Low

Nd

d

U

load

High

Contention Free Protocols

  • All addresses same length •

Bits in each position from different stations are ORed

Collision avoidance^ – arbitration rule^ – if high order bit position of station address

overwritten by 1 give up!

Binary CountDown

00100100100111001111

Compare give upgive up Compare next bitCompare next bit

1001 givesup

1100 – gets access!

Next new cycle of contention start

Limited Contention Protocols

  • combine the properties of contention and

collision free protocols

contention at low load to provide low delay

reservation at high load

Adaptive Tree Walk Protocol

  • Adaptive TreeWalk Algorithm
    • low load
      • every body contends
        • collision –
          • reduces number of stations

Adaptive Tree Walk Algorithm

  • Depth first tree walk algorithm •

Heavy load do not start searching at top of tree

  • what level to start the search? – depends on number of ready stations

Adaptive Tree Walk Algorithm

  • Each node at level i has N. 2

–i

station under

it.

  • q ready stations – uniformly distributed

at

level i 2

-

i

q

level at which search begins

2

-i

q

=

i

= log

2

q