Mac
Mac
Control
Multiple access
links
There is ‘collision if more than one node sends at the same ime
only one node can send successfully at a time.
When a "collision" occurs, the signals will get distorted and the frame will be
lose the link bandwidth is wasted during collision
busy
CD = Collision Detection
Slotted ALOHA
Improvement: Time is slotted and a packet can only be transmitted
at the beginning of one slot. Thus, it can reduce the collision
duration.
ALOHA
Mountainous islands – land network difficult to install
Fully decentralized protocol
Fram e
t0 t 0 +F
Vulnerable
Period of red frame
A frame (red frame) will be in a collision if and
only if ano t begins
transmissionT im
h er in the vulnerable period of the
e
frame
Vulnerable period has the length of 2 frame times
Vulnerable time- example
A pure ALOHA network transmits 200-bit frames on a shared channel
of 200 kbps. What is the requirement to make this frame collision-free?
Solution
Average frame transmission time Tfr is 200 bits/200 kbps or 1 ms. The
vulnerable time is 2 × 1 ms = 2 ms. This means no station should send
later than 1 ms before this station starts transmission and no station
should start sending during the one 1-ms period that this station is
sending.
Throughput
Analysis
S=Ge-G
⚫Pure and Slotted ALOHA
Throughput
0.4 0.368
0.3
S SlottedAloha
0.2
0.184
0.1 Aloha
G
8
0. 0
⚫ Simple improvement but big impact
CSMA (Carrier Sense Multiple
Access
Collisions hurt the efficiency of ALOHA
protocol At best, channel is useful 37% of the
time
CSMA gives improved throughput compared
to Aloha protocols.
CSMA: listen before transmit
If channel sensed idle: transmit entire
frame If channel sensed busy, defer
transmission
Human analogy: don’t interrupt others!
⚫Collisions can still occur: propagation delay means two nodes
may not hear each other’s transmission
CSMA
1-persistent
CSMA
Persistent CSMA
p-persistent
CSMA
Nonpersistent vs.
persistent