Data Link Layer and Medium Access Sub Layer · Computer Networks

Slotted ALOHA

Watch lectures

Slotted ALOHA Protocol


1. Concept and Motivation

In 1972, Lawrence Roberts proposed Slotted ALOHA as a method to double the capacity of Norman Abramson's Pure ALOHA system.

In Pure ALOHA, a station can transmit at any arbitrary point in time, leading to frequent partial overlaps between frames. Slotted ALOHA imposes discrete time synchronization:

  • Time is divided into continuous, uniform intervals called Slots, each equal to one frame transmission duration (TfrT_{fr}).
  • A central clock or beacon synchronizes all network stations.
  • A station is only permitted to begin transmitting at the exact beginning of a time slot.
  • If a frame is generated in the middle of a time slot, the station must wait and buffer the frame until the beginning of the next slot.
SVGVector Architecture Diagram (SVG)
Time: Slot 1 Slot 2 Slot 3 Slot 4 Station 1: Frame 1.1 Frame 1.2 Station 2: Frame 2.1 Frame 2.2 Station 3: Frame 3.1 SUCCESS (Only 1 frame) SUCCESS (Only 1 frame) COLLISION! (3 frames overlap)

2. Vulnerable Time in Slotted ALOHA

Because transmissions are restricted to slot boundaries, frames either completely collide or do not collide at all. Partial overlaps are physically impossible!

SVGVector Architecture Diagram (SVG)
Slot (t - Tfr) Slot (t) Slot (t + Tfr) Other Stations: Must generate 0 frames during this slot Vulnerable = Tfr
  • If another station generates a frame during Slot (t−Tfr,t)(t - T_{fr}, t), it will transmit at the start of Slot tt, colliding with Station A's frame.
  • Any frame generated after time tt will wait for Slot (t+Tfr)(t + T_{fr}) and cannot collide with Station A.
  • Vulnerable Time for Slotted ALOHA:
Vt=TfrV_t = T_{fr}

(Exactly half the vulnerable time of Pure ALOHA!)


3. Mathematical Derivation of Throughput

Assuming a Poisson frame arrival distribution with average rate GG frames per frame-time TfrT_{fr}:

For a successful transmission in a slot, the probability that zero other frames (k=0k = 0) are generated during the vulnerable interval Vt=TfrV_t = T_{fr} is:

P(0)=G0e−G0!=e−GP(0) = \frac{G^0 e^{-G}}{0!} = e^{-G}

Throughput Equation (SS):

The channel throughput SS is given by:

S=G⋅P(0)=G⋅e−GS = G \cdot P(0) = G \cdot e^{-G}

Finding Maximum Throughput:

Differentiating SS with respect to GG:

dSdG=e−G−Ge−G=e−G(1−G)=0  ⟹  G=1\frac{dS}{dG} = e^{-G} - G e^{-G} = e^{-G}(1 - G) = 0 \implies \mathbf{G = 1}

Substituting G=1G = 1 into the throughput equation:

Smax⁡=1⋅e−1=1e≈0.368(36.8%)S_{\max} = 1 \cdot e^{-1} = \frac{1}{e} \approx \mathbf{0.368 \quad (36.8\%)}

Key Takeaway: Slotted ALOHA achieves a maximum channel throughput of 36.8%36.8\%, exactly doubling the capacity of Pure ALOHA (18.4%18.4\%)!


4. Comprehensive Comparison: Pure ALOHA vs. Slotted ALOHA

Parameter Pure ALOHA Slotted ALOHA
Transmission Timing Any arbitrary instant Strictly at the start of a synchronized time slot
Time Synchronization None (asynchronous) Required (global master clock or beacon)
Vulnerable Time (VtV_t) 2×Tfr2 \times T_{fr} 1×Tfr1 \times T_{fr}
Throughput Formula S=G⋅e−2GS = G \cdot e^{-2G} S=G⋅e−GS = G \cdot e^{-G}
Optimal Traffic Load (GG) G=0.5G = 0.5 G=1.0G = 1.0
Maximum Throughput (Smax⁡S_{\max}) 12e≈18.4%\frac{1}{2e} \approx 18.4\% 1e≈36.8%\frac{1}{e} \approx 36.8\%
Collision Type Partial or complete overlap Always complete overlap
Implementation Complexity Simplest Requires clock synchronization circuitry

Frequently Asked Questions

QWhy does Slotted ALOHA have double the throughput of Pure ALOHA?

Slotted ALOHA enforces transmission exclusively at slot boundaries, eliminating partial frame collisions. This halves the vulnerable time from 2Tfr2 T_{fr} to 1Tfr1 T_{fr}, doubling maximum channel capacity from 12e≈18.4%\frac{1}{2e} \approx 18.4\% to 1e≈36.8%\frac{1}{e} \approx 36.8\%.

QA slotted ALOHA network has $N = 200$ stations. Each station generates a 1000-bit frame every 10 seconds. The channel bandwidth is $50\text{ kbps}$. What is the throughput?
  • Frame duration Tfr=1,000 bits50,000 bps=0.02 seconds=20 msT_{fr} = \frac{1{,}000\text{ bits}}{50{,}000\text{ bps}} = 0.02\text{ seconds} = 20\text{ ms}.
  • Each station generates 110=0.1 frames/sec\frac{1}{10} = 0.1\text{ frames/sec}.
  • Total arrival rate λ=200×0.1=20 frames/sec\lambda = 200 \times 0.1 = 20\text{ frames/sec}.
  • Offered load G=λ⋅Tfr=20×0.02=0.4G = \lambda \cdot T_{fr} = 20 \times 0.02 = 0.4.
  • Throughput S=Ge−G=0.4⋅e−0.4=0.4×0.6703≈0.268(26.8%)S = G e^{-G} = 0.4 \cdot e^{-0.4} = 0.4 \times 0.6703 \approx \mathbf{0.268 \quad (26.8\%)}.
QWhat is the primary drawback of Slotted ALOHA?

It requires strict global clock synchronization across all communicating stations, increasing hardware cost and protocol complexity.

QWhat is the vulnerable time of Slotted ALOHA?

Vt=TfrV_t = T_{fr}, half of Pure ALOHA's 2Tfr2T_{fr}, because frames can only start at slot boundaries and so either overlap completely or not at all.

Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.

← All Computer Networks modules