Random Access Protocols Slotted Aloha
Random Access Protocols Slotted Aloha
Random Access Protocols Slotted Aloha
Slotted Aloha
time is divided into equal size slots (= pkt trans. time) node with new arriving pkt: transmit at beginning of next slot if collision: retransmit pkt in future slots with probability p, until successful.
two or more trasnmitting nodes -> collision, random access MAC protocol specifies:
how to detect collisions how to recover from collisions (e.g., via delayed retransmissions) slotted ALOHA ALOHA CSMA and CSMA/CD
5: DataLink Layer 5a-21
send without awaiting for beginning of slot pkt sent at t0 collide with other pkts sent in [t0-1, t0+1]
= N p (1-p)(N-1)
At best: channel
Slotted Aloha
protocol constrains
effective channel throughput!
Pure Aloha
0.5
G = offered load = Np
1.0
1.5
CSMA collisions
collisions can occur:
propagation delay means two nodes may not year hear each others transmission
collision:
note:
collision detection: easy in wired LANs: measure signal strengths, compare transmitted, received signals difficult in wireless LANs: receiver shut off while transmitting human analogy: the polite conversationalist
5: DataLink Layer 5a-28
Reservation-based protocols
Distributed Polling:
time divided into slots begins with N short reservation slots
Token passing: control token passed from one node to next sequentially. token message concerns:
reservation slot time equal to channel end-end propagation delay station with message to send posts reservation reservation seen by all stations after reservation slots, message transmissions ordered by
known priority