Open In App

What is Slotted ALOHA?

Last Updated : 14 Feb, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Slotted ALOHA is an improved version of the pure ALOHA protocol that aims to make communication networks more efficient. In this version, the channel is divided into small, fixed-length time slots and users are only allowed to transmit data at the beginning of each time slot. This synchronization of transmissions reduces the chances of collisions between devices, increasing the overall efficiency of the network.

The channel time is separated into time slots in slotted ALOHA, and stations are only authorized to transmit at particular times. These time slots correspond to the packet transmission time exactly. All users are then synchronized to these time slots so that whenever a user sends a packet, it must precisely match the next available channel slot. As a result, wasted time due to collisions can be reduced to one packet time or the susceptible period can be half.

When a user wants to transmit a frame, it waits until the next time slot and then sends the frame. If the frame is received successfully, the receiver sends an acknowledgment. If the acknowledgment is not received within a time-out period, the sender assumes that the frame was not received and retransmits the frame in the next time slot.

Slotted ALOHA

Transmission attempts and random retransmission delay for colliding packets in slotted ALOHA

Slotted ALOHA increases channel utilization by reducing the number of collisions. However, it also increases the delay for users, as they have to wait for the next time slot to transmit their frames. It’s also worth noting that there is a variant of slotted ALOHA called “non-persistent slotted ALOHA” which is a variation of slotted ALOHA, in this variant the station that wants to send data, first listens to the channel before sending the data. If the channel is busy it waits for a certain time before trying again.

Throughput of Slotted ALOHA:

The quantity of successful transmissions at each time slot determines the throughput of the Slotted Aloha protocol. The Slotted Aloha protocol has a maximum throughput of about 18.4%. This is because there is a significant risk of collisions when numerous nodes try to transmit at the same time, which causes missed packets and a decreased overall throughput. When less than or equal to 37% of the network’s total nodes are actively transmitting data, the maximum throughput is reached. 

Due to the high frequency of collisions, the throughput of Slotted Aloha is typically substantially lower than 18.4% in practice It is not a widely used protocol in today’s contemporary networks because of this.
 

The maximum throughput of a slotted ALOHA channel is given by the formula:

Throughput (S) = G x e-G
The maximum Throughput occurs at G = 1,
i.e. S = 1/e = 0.368

Where:
G = the offered load (or the number of packets being transmitted per time slot). The offered load is a measure of the number of nodes attempting to transmit in a given time slot.

Comparison of the throughput as a function of offered load for Pure and Slotted ALOHA

Comparison of the throughput as a function of offered load for Pure and Slotted ALOHA

The throughput is a function of the offered load and it ranges from 0 to 1. As the offered load increases, the throughput decreases as more collisions occur, resulting in less successful transmissions. The maximum throughput is achieved when the offered load is equal to 0.37 and it is approximately 0.184.

It is important to note that the above equation assumes that all the packets are of the same length and that the channel is error-free. In practice, the throughput is usually much lower than this due to a number of factors such as packet errors, channel noise, and the overhead of retransmissions.

Assumption of Slotted ALOHA:

  • All frames are of the same size.
  • Time is divided into equal-sized slots, a slot equals the time to transmit one frame
  • Nodes start to transmit frames only at beginning of slots.
  • Nodes are synchronized.
  • If two or more nodes transmit in a slot, all nodes detect collision before the slot ends.

Advantages of Slotted ALOHA:

  • Simplicity: The Slotted Aloha protocol is relatively simple to implement and understand, making it an easy option for low-complexity networks.
  • Flexibility: Slotted Aloha can be used in a wide range of network environments, including those with varying numbers of nodes and varying traffic loads
  • Low overhead: Slotted Aloha does not require complex management or control mechanisms, which can help to reduce the overhead and complexity of the network.

Disadvantages of Slotted ALOHA:

  • Low throughput: The maximum throughput of the Slotted Aloha protocol is relatively low at around 18.4%, which can be limiting for high-bandwidth applications.
  •  High collision rate: The high collision rate in slotted ALOHA can result in a high packet loss rate, which can negatively impact the overall performance of the network.
  • Inefficiency: The protocol is inefficient at high loads, as the efficiency decreases as the number of nodes attempting to transmit increases.

Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads