Professional Documents
Culture Documents
Sublayer
Module-4
ECC602
CCN/Namita/MAC Sublayer 1
Multiple Access Protocols
CCN/Namita/MAC Sublayer 2
Random Access Protocols
• Also called as contention methods.
CCN/Namita/MAC Sublayer 3
ALOHA
• Developed at the University of Hawaii in early 1970.
CCN/Namita/MAC Sublayer 4
Pure ALOHA
• Whenever any station transmits a frame, it expects
acknowledgement from the receiver.
• If acknowledgement is not received within specified time, the
station assumes that the frame has been destroyed.
• When time-out period passes, each station must wait for a
random amount of time before resending its frame(Backoff
Time).
• This randomness helps to avoid more collisions.
CCN/Namita/MAC Sublayer 5
•
CCN/Namita/MAC Sublayer 6
Slotted ALOHA
• Invented to improve the efficiency of pure ALOHA.
CCN/Namita/MAC Sublayer 7
CCN/Namita/MAC Sublayer 8
Slotted ALOHA
• Invented to improve the efficiency of pure ALOHA.
CCN/Namita/MAC Sublayer 9
• There is still a possibility of collision if two stations try to
send at the beginning of the same time slot.
• Slotted ALOHA has an edge over pure ALOHA as chances of
collision are reduced to one-half.
CCN/Namita/MAC Sublayer 10
CCN/Namita/MAC Sublayer 11
Comparison of Pure and Slotted Aloha
• Vulnerable Time : Length of time in which there is a
possibility of collision.
CCN/Namita/MAC Sublayer 12
Vulnerable Time in Pure ALOHA
CCN/Namita/MAC Sublayer 13
Vulnerable Time in Slotted ALOHA
CCN/Namita/MAC Sublayer 14
Comparison of Pure and Slotted Aloha
• Vulnerable Time : Length of time in which there is a
possibility of collision.
– Pure Aloha = 2 x Tfr
– Slotted Aloha = Tfr
• Throughput – Average number of successfully transmitted
frames.
– Pure Aloha (η) = G x e-2G
– Slotted Aloha (η) = G x e-G
G= avg no. of frames generated during one frame
transmission time.
CCN/Namita/MAC Sublayer 15
• Maximum Throughput - Smax
CCN/Namita/MAC Sublayer 16
Throughput v/s Offered Traffic
CCN/Namita/MAC Sublayer 17
Example
• A network transmits 200 bit frames on a shared channel of
200kbps.What is the throughput if the system produces-
– A) 1000 frames per sec
CCN/Namita/MAC Sublayer 18