Channels/random Access Channels, Multiple
Channels/random Access Channels, Multiple
Sublayer
Non-persistent CSMA
listen first, if no one there, send
if busy, wait random period time and repeat. (not greedy)
p-persistent CSMA: (slotted channel)
listen fist , if idle, send with a probability p
if busy, wait for a random time and repeat.
CSMA with collision detection CSMA/CD
improve CSMA by aborting faster when collision.
How long do we need to detect collision (with
CSMA)?
propagation time * 2
pure ALOHA, slotted ALOHA, CSMA and CSMA/CD
are contention based protocols
try. If collide, retry.
No guarantee of performance.
What happens if the network load is high?
1 2
3 4 5 6
A B C* D E* F* G H*
Slot 0: C*, E*, F*, H* (all nodes under node 0 can try), conflict
slot 1: C* (all nodes under node 1 can try), C sends
slot 2: E*, F*, H*(all nodes under node 2 can try), conflict
slot 3: E*, F* (all nodes under node 5 can try), conflict
slot 4: E* (all nodes under E can try), E sends
slot 5: F* (all nodes under F can try), F sends
slot 6: H* (all nodes under node 6 can try), H sends.