Pure ALOHA is one of the earliest random access protocols developed for sharing a common communication channel. It was developed at the University of Hawaii in the early 1970s as part of the ALOHA system, which was designed to establish communication between the Hawaiian Islands using radio transmission.
Pure ALOHA is a simple medium access control (MAC) protocol that allows devices to transmit data whenever they have data to send, without checking if the channel is free or coordinating with other devices. If a collision occurs (when two or more devices transmit simultaneously), the devices involved wait for a random amount of time before retransmitting.
The operation of Pure ALOHA can be described as follows:
Transmission: When a device has data to send, it transmits immediately without checking if the channel is free.
Acknowledgment: After transmitting, the device waits for an acknowledgment (ACK) from the receiver.
Collision Detection: If the device does not receive an ACK within a specified timeout period, it assumes that a collision has occurred.
Backoff and Retransmission: After detecting a collision, the device waits for a random amount of time (backoff) before retransmitting. This random backoff helps reduce the probability of repeated collisions.
Repeat: The device continues this process until it successfully transmits its data or reaches a maximum number of retransmission attempts.
In Pure ALOHA, a collision occurs if another device starts transmitting during the vulnerable time, which is twice the frame transmission time. This is because:
If another device starts transmitting during the current frame transmission, a collision occurs.
If another device started transmitting before the current frame but is still transmitting when the current frame starts, a collision also occurs.
Therefore, the vulnerable time in Pure ALOHA is 2 × T, where T is the frame transmission time.
Low Efficiency: The maximum channel utilization is only about 18.4%, which means that more than 80% of the channel capacity is wasted due to collisions and idle time.
Unstable under Heavy Load: As the network load increases, the number of collisions increases exponentially, leading to a decrease in throughput.
No Collision Detection: Devices do not check if the channel is free before transmitting, which increases the probability of collisions.
No Fairness Guarantee: There is no mechanism to ensure fair access to the channel, so some devices may dominate the channel while others starve.
Slotted ALOHA improves upon Pure ALOHA by dividing time into discrete slots and requiring devices to transmit only at the beginning of a slot. This reduces the vulnerable time from 2 × T to T, doubling the maximum throughput to about 36.8%.
CSMA improves upon ALOHA by having devices listen to the channel before transmitting. If the channel is busy, the device waits until it becomes idle. This significantly reduces the probability of collisions.
CSMA/CD, used in traditional Ethernet, adds collision detection to CSMA. Devices listen to the channel while transmitting and stop immediately if they detect a collision. This further improves efficiency by reducing the time wasted in collisions.
CSMA/CA, used in wireless networks like Wi-Fi, tries to avoid collisions by using techniques like random backoff before transmission and the Request to Send (RTS) / Clear to Send (CTS) mechanism.
Pure ALOHA is a simple and pioneering random access protocol that allows devices to transmit data whenever they have data to send, without coordination. While it has limitations in terms of efficiency and stability under heavy load, it laid the foundation for more advanced protocols like Slotted ALOHA, CSMA, CSMA/CD, and CSMA/CA, which are widely used in modern networks.
The simplicity of Pure ALOHA makes it a good starting point for understanding more complex MAC protocols, and its principles are still relevant in certain applications where simplicity and low delay under light load are more important than maximum channel utilization.
Test Your Knowledge
Take a quiz to reinforce what you've learned
Exam Preparation
Access short and long answer questions for written exams