Skip to main content

3.1 Random Access Protocols: Pure ALOHA & Slotted ALOHA

📚Module 03: Data Link Layer: MAC Sublayer & EthernetTopic 3.1⏱️11 min read
🎯High-Yield For:Semester Exams (All Universities) • Placement Technical Rounds • Engineering Foundations

💡 Core Intuition: The Unmoderated Dinner Table​

🍳 The Everyday Analogy: Talking in a Loud Group​

Imagine a dinner party where 10 friends sit around a single table without any moderator:

  • Pure ALOHA: Anyone speaks immediately whenever a thought crosses their mind. If Alice begins speaking at 7:00:00 and Bob blurts out a word at 7:00:01 while Alice is still speaking, their voices overlap. Neither message is understood by anyone at the table—both utterances turn into garbled noise (Collision). Because there is zero coordination, the chances of two speeches overlapping are extremely high.
  • Slotted ALOHA: A grandfather clock in the dining room chimes every minute on the dot (7:01:00, 7:02:00, 7:03:00). A strict house rule is instituted: guests can only start speaking at the exact chime of a clock tick. If Alice has an idea mid-minute, she must bite her tongue and wait for the chime. If only Alice speaks when the bell rings, she enjoys the entire minute uninterrupted. Collisions can now only happen if two guests decide to speak at the exact same chime, cutting the vulnerable collision window in half!

💻 Bridging to Computer Science​

When multiple computing nodes share a single broadcast transmission medium (such as a shared wireless radio frequency or a single coaxial wire), multiple simultaneous electrical or radio emissions interfere destructively.

The Media Access Control (MAC) sublayer provides protocols to coordinate channel access. In Random Access protocols, there is no centralized master station and no scheduled turn-taking. Stations compete (contend) for the channel freely, using mathematical backoff strategies to recover from collisions.



In point-to-point links (like a dedicated fiber connecting two core routers), only two nodes exist on the cable; there is no competition for transmission rights. However, in broadcast networks (Ethernet bus, Wi-Fi radio, satellite channels), the medium is shared among tens or hundreds of stations.

To handle both link-layer framing and channel arbitration cleanly, the IEEE 802 committee split the Data Link Layer into two distinct sublayers:

Separation of logical framing from physical channel contention

Upper Sublayer

Logical Link Control (LLC - IEEE 802.2)

🧠
Dominant Architecture / DomainMedia-Independent Logic
  • •Provides Service Access Points (SAPs) to interface with the Network Layer.
  • •Manages software flow control, packet sequencing, and error management.
  • •Completely agnostic to physical wiring, antenna design, or modulation.
  • •Presents a unified link interface regardless of underlying LAN hardware.
"Software-level logical framing independent of transmission technology."
Lower Sublayer

Media Access Control (MAC - IEEE 802.3 / 802.11)

⚡
Dominant Architecture / DomainHardware & Contention Arbitration
  • •Directly interfaces with the Physical Layer transmission medium.
  • •Embeds unique physical hardware addresses (48-bit MAC addresses).
  • •Determines which station transmits next on a shared collision domain.
  • •Implements collision detection, collision avoidance, and backoff timers.
"Arbitrates channel access among multiple contending transmitters."

❓ Random Access Foundations: The 4 Core Questions​

In random access (contention-based) protocols:

  1. No Master / Slave Hierarchy: No station is superior to another; no central controller grants transmission tokens.
  2. No Predetermined Scheduling: Stations do not have fixed time slots reserved in advance.
  3. Open Contention: Stations compete with one another. If two or more stations transmit simultaneously, an access conflict (collision) occurs, destroying all overlapping frames.

Every random access protocol must answer four fundamental operational questions:

QuestionOperational ConcernProtocol Mechanism
1. When can a station access?Can the station transmit immediately or wait for an idle line?Immediate transmission in ALOHA; Carrier sensing in CSMA.
2. What if the medium is busy?How does the station respond if another frame is in flight?Persistence algorithms (1-persistent, non-persistent, pp-persistent).
3. How to detect success/failure?Does the station listen while talking or rely on receiver ACKs?Transceiver energy sensing (CSMA/CD) vs timeout-based ACKs (ALOHA).
4. What if a collision occurs?How to prevent colliding stations from re-colliding immediately?Randomized Backoff Time (TBT_B) with exponential contention windows.

📡 Pure ALOHA: Mechanics, Vulnerable Time & Throughput​

Developed by Norman Abramson at the University of Hawaii in 1970 to connect remote island campuses via ground radio transceivers, ALOHA is the pioneering foundation of all random access networks.

Protocol Rule​

A station transmits a frame whenever it has data ready to send.

After transmitting, the station starts a retransmission timer. If an acknowledgment (ACK) is received before the timer expires, the transmission succeeded. If no ACK arrives within the timeout window, the station concludes a collision occurred.

Why Collisions Occur​

Because stations have no clocks synchronizing their start times, frames can overlap partially or completely. Even if the trailing bit of Frame AA collides with the leading bit of Frame BB, the receiver's CRC check will fail on both frames, forcing both to be discarded entirely.

Derivation of Vulnerable Time (VtV_t)​

Let all frames have a constant transmission time Tt=LBT_t = \frac{L}{B}, where LL is frame length in bits and BB is bandwidth in bps.

Suppose Station AA begins transmitting a frame at time t0t_0. Its transmission completes at time t0+Ttt_0 + T_t.

Random Access Contention (Asynchronous)
Frame 1 of 3

Medium Access Contention Timeline

Frames can overlap asynchronously at any instant, creating a vulnerable interval of 2 × Tt

⚡ Vulnerable Window: 2 × TtCollisions occur if any other station transmits between (t0 - Tt) and (t0 + Tt).
Station B
Frame B💥 Collision
Station A (Target)
Frame A💥 Collision
Station C
Frame C💥 Collision
Time (t) ➔
t0 - Tt
t0
t0 + Tt
t0 + 2·Tt
Frame BS_B💥 Signal Collision DetectedCollision Window Overlap

Station B transmits at t0 - 0.6·Tt. The trailing bits of Frame B collide with the leading bits of Frame A.

  1. Prior Overlap: If any Station BB began transmitting between t0−Ttt_0 - T_t and t0t_0, the tail of BB's frame collides with the head of AA's frame.
  2. Subsequent Overlap: If any Station CC begins transmitting between t0t_0 and t0+Ttt_0 + T_t, the head of CC's frame collides with the tail of AA's frame.

Therefore, for Station AA's frame to survive without collision, no other station must generate or transmit a frame during the entire window of length 2Tt2 T_t:

Vt,Pure ALOHA=2×Tt\Large V_{t,\text{Pure ALOHA}} = 2 \times T_t


⏱️ Slotted ALOHA: Synchronization & Efficiency Doubling​

Introduced by Lawrence Roberts in 1972, Slotted ALOHA introduces a global discrete clock to eliminate partial frame overlaps.

Protocol Rule​

  1. Time on the shared channel is segmented into uniform discrete slots of duration equal to the frame transmission time: Slot Duration=Tt=LB\text{Slot Duration} = T_t = \frac{L}{B}
  2. A station is strictly forbidden from transmitting mid-slot.
  3. If a station generates a frame at time tt, it must buffer the frame and wait until the exact start boundary of the next time slot.
Slotted Channel (Synchronous)
Frame 1 of 3

Medium Access Contention Timeline

Transmissions forced to discrete slot boundaries, cutting vulnerable time to exactly 1 × Tt

⚡ Vulnerable Window: 1 × TtCollisions occur only if multiple stations transmit at the exact same discrete slot boundary.
Slot 1(Tt)
Slot 2(Tt)
Slot 3(Tt)
Slot 4(Tt)
Station A
Frame A💥 Collision
Station B
Frame B💥 Collision
Station C
Frame C✅ Delivered
Time (t) ➔
t = 0
t = 1
t = 2
t = 3
t = 4
Frame AS_A💥 Signal Collision DetectedCollision Window Overlap

Station A transmits at Slot 1 boundary. Station B also transmits at Slot 1, causing a synchronized collision in Slot 1.

Reduction of Vulnerable Time​

Because every transmission is aligned to slot boundaries, frames can no longer collide partially. If Station AA begins transmitting at the boundary of Slot kk (t0t_0):

  • Any station that generated a frame during Slot k−1k-1 transmitted at t0−Ttt_0 - T_t and has already finished completely.
  • Any station that generates a frame during Slot kk must wait until t0+Ttt_0 + T_t.

Hence, a collision can only occur if another station transmits at the exact same start boundary (t0t_0). The vulnerable window is reduced to exactly one slot:

Vt,Slotted ALOHA=1×Tt\Large V_{t,\text{Slotted ALOHA}} = 1 \times T_t


⚖️ Pure vs Slotted ALOHA: Architectural Comparison​

Examining the engineering tradeoff between simplicity and slot synchronization

Asynchronous

Pure ALOHA Protocol

🌊
Dominant Architecture / DomainZero-Coordination Random Access
  • •Vulnerable collision time: 2 * Tt (double the frame time).
  • •Transmission policy: Transmit immediately whenever data is generated.
  • •Synchronization: Completely asynchronous; zero clock coordination required.
  • •Maximum Channel Throughput (S_max): 18.4% (occurs at G = 0.5 frames/Tt).
  • •Overhead: Extremely simple transmitter hardware, zero synchronization beacons.
"Simplicity at the cost of over 81% wasted channel capacity due to collisions."
Synchronous

Slotted ALOHA Protocol

⏱️
Dominant Architecture / DomainDiscrete Time-Slot Arbitration
  • •Vulnerable collision time: 1 * Tt (exactly one frame slot duration).
  • •Transmission policy: Wait and transmit strictly at next slot boundary.
  • •Synchronization: Requires global clock synchronization across all stations.
  • •Maximum Channel Throughput (S_max): 36.8% (occurs at G = 1.0 frame/Tt).
  • •Overhead: Master station beaconing or GPS receiver sync required on each node.
"Doubles the usable channel throughput by eliminating partial frame overlaps."

📐 Rigorous Mathematical Throughput Derivations​

Definitions & Parameters​

  • GG: Offered Channel Load — the average number of total frame transmission attempts (both newly generated frames and retransmitted collision frames) per frame time TtT_t.
  • SS: Throughput — the average number of successfully delivered frames per frame time TtT_t (0≤S≤10 \le S \le 1).
  • By definition: S=G×P(Successful Transmission)S = G \times P(\text{Successful Transmission}) S=G×P(Zero other frames transmitted during the vulnerable window)S = G \times P(\text{Zero other frames transmitted during the vulnerable window})

The Poisson Arrival Model​

In large networks with many independent stations, frame arrivals follow a Poisson distribution with mean arrival rate λ\lambda frames per second. The probability that exactly kk frames are generated in a time window of duration Δt\Delta t is:

P(k)=(λΔt)k⋅e−λΔtk!P(k) = \frac{(\lambda \Delta t)^k \cdot e^{-\lambda \Delta t}}{k!}

Let G=λ⋅TtG = \lambda \cdot T_t represent the normalized arrival rate per frame transmission time. For a vulnerable window duration VtV_t:

Mean arrivals in Vt=λ⋅Vt=G⋅(VtTt)\text{Mean arrivals in } V_t = \lambda \cdot V_t = G \cdot \left(\frac{V_t}{T_t}\right)

The probability of zero collisions is the probability of zero frame arrivals in VtV_t (k=0k = 0):

P(0)=(G⋅VtTt)0⋅e−G⋅VtTt0!=e−G⋅VtTtP(0) = \frac{(G \cdot \frac{V_t}{T_t})^0 \cdot e^{-G \cdot \frac{V_t}{T_t}}}{0!} = e^{-G \cdot \frac{V_t}{T_t}}


Derivation for Pure ALOHA​

For Pure ALOHA, Vt=2TtV_t = 2 T_t, so VtTt=2\frac{V_t}{T_t} = 2:

P(Success)=e−2GP(\text{Success}) = e^{-2G}

SPure=G⋅e−2G\Large S_{\text{Pure}} = G \cdot e^{-2G}

Finding Maximum Throughput​

To find the load GG that maximizes throughput SS, take the first derivative with respect to GG and set it to zero:

dSdG=ddG[G⋅e−2G]=1⋅e−2G+G⋅(−2e−2G)=e−2G(1−2G)=0\frac{dS}{dG} = \frac{d}{dG} \left[ G \cdot e^{-2G} \right] = 1 \cdot e^{-2G} + G \cdot (-2 e^{-2G}) = e^{-2G} (1 - 2G) = 0

Since e−2G≠0e^{-2G} \ne 0, we have:

1−2G=0  ⟹  G=12=0.51 - 2G = 0 \implies \Large G = \frac{1}{2} = 0.5

Substitute G=0.5G = 0.5 into the throughput formula:

Smax⁡=0.5⋅e−2(0.5)=0.5⋅e−1=12e≈12×2.71828≈0.1839≈18.4%S_{\max} = 0.5 \cdot e^{-2(0.5)} = 0.5 \cdot e^{-1} = \frac{1}{2e} \approx \frac{1}{2 \times 2.71828} \approx \mathbf{0.1839 \approx 18.4\%}


Derivation for Slotted ALOHA​

For Slotted ALOHA, Vt=1TtV_t = 1 T_t, so VtTt=1\frac{V_t}{T_t} = 1:

P(Success)=e−GP(\text{Success}) = e^{-G}

SSlotted=G⋅e−G\Large S_{\text{Slotted}} = G \cdot e^{-G}

Finding Maximum Throughput​

Take the first derivative with respect to GG and set it to zero:

dSdG=ddG[G⋅e−G]=1⋅e−G+G⋅(−e−G)=e−G(1−G)=0\frac{dS}{dG} = \frac{d}{dG} \left[ G \cdot e^{-G} \right] = 1 \cdot e^{-G} + G \cdot (-e^{-G}) = e^{-G} (1 - G) = 0

1−G=0  ⟹  G=1.01 - G = 0 \implies \Large G = 1.0

Substitute G=1.0G = 1.0 into the throughput formula:

Smax⁡=1.0⋅e−1=1e≈12.71828≈0.3679≈36.8%S_{\max} = 1.0 \cdot e^{-1} = \frac{1}{e} \approx \frac{1}{2.71828} \approx \mathbf{0.3679 \approx 36.8\%}

Key Takeaway: Synchronizing transmissions to discrete time slots eliminates partial overlaps, exactly doubling maximum channel efficiency from 12e\frac{1}{2e} (18.4%18.4\%) to 1e\frac{1}{e} (36.8%36.8\%).


Why study ALOHA if modern Ethernet and Wi-Fi use CSMA/CD and CSMA/CA?

  1. Satellite Ground Terminals (VSAT Uplinks): A geostationary satellite orbits 36,000 km36,000\text{ km} above the equator. The propagation delay (TpT_p) to the satellite and back is approximately 250 ms250\text{ ms}–270 ms270\text{ ms}. If a ground station attempts to "sense" the channel before transmitting (carrier sensing), the channel status it hears is already 250 ms250\text{ ms} out of date! Carrier sensing is completely ineffective over high-latency satellite links. Satellites use Slotted ALOHA for initial terminal registration and bursty reservation requests.
  2. Cellular Control Channels (LTE / 5G PRACH): When your smartphone transitions from idle sleep mode to active data transfer, it does not yet have a dedicated radio resource block allocated. It transmits a small random preamble over the Physical Random Access Channel (PRACH), which operates on Slotted ALOHA.
  3. IoT Sensor Networks (LoRaWAN Uplink): Battery-powered smart water meters and agricultural sensors wake up once an hour to transmit a 50-byte reading. Keeping a GPS or receiver powered on to coordinate slots would deplete their 10-year battery. Instead, LoRaWAN devices transmit via Pure ALOHA, keeping circuitry in ultra-low-power sleep 99.9% of the time.

📐 Numerical Applications & Worked Examples​

Example 1: Collision-Free Requirement on Pure ALOHA​

Problem Statement: A pure ALOHA network transmits 200-bit200\text{-bit} frames over a shared wireless channel with a transmission bandwidth of 200 kbps200\text{ kbps}. What is the time requirement between any two consecutive frame generation events to guarantee collision-free transmission?

Step-by-Step Solution:

  1. Calculate Transmission Time (TtT_t): Tt=Frame Size LBandwidth B=200 bits200×103 bps=10−3 seconds=1 msT_t = \frac{\text{Frame Size } L}{\text{Bandwidth } B} = \frac{200\text{ bits}}{200 \times 10^3\text{ bps}} = 10^{-3}\text{ seconds} = 1\text{ ms}
  2. Determine Vulnerable Window (VtV_t): In Pure ALOHA, a frame can collide with transmissions initiated in the prior TtT_t or subsequent TtT_t: Vt=2×Tt=2×1 ms=2 msV_t = 2 \times T_t = 2 \times 1\text{ ms} = 2\text{ ms}
  3. Conclusion: To guarantee collision-free operation, no other station must initiate a transmission within 1 ms1\text{ ms} before or after the current frame. The arrival gap between distinct frame starts must be strictly greater than 2 ms2\text{ ms}.

Example 2: Slotted LAN Transmission Probabilities​

Problem Statement: Consider a local area network with four nodes: S1,S2,S3,S4S_1, S_2, S_3, S_4. Time is divided into synchronized slots of length TtT_t. In any given slot, each node independently generates a frame with probabilities: P(S1)=0.1,P(S2)=0.2,P(S3)=0.3,P(S4)=0.4P(S_1) = 0.1, \quad P(S_2) = 0.2, \quad P(S_3) = 0.3, \quad P(S_4) = 0.4 Calculate the probability that exactly one station successfully transmits a frame in the first slot without collision.

Step-by-Step Solution:

  1. Let TiT_i denote the event that station SiS_i transmits, and Ti‾\overline{T_i} denote the event that station SiS_i stays silent: P(T1‾)=1−0.1=0.9,P(T2‾)=1−0.2=0.8P(\overline{T_1}) = 1 - 0.1 = 0.9, \quad P(\overline{T_2}) = 1 - 0.2 = 0.8 P(T3‾)=1−0.3=0.7,P(T4‾)=1−0.4=0.6P(\overline{T_3}) = 1 - 0.3 = 0.7, \quad P(\overline{T_4}) = 1 - 0.4 = 0.6
  2. A successful transmission occurs if and only if one station transmits while all other three remain silent. Because station choices are mutually independent, the total success probability is the sum of four disjoint scenarios: P(Success)=P(E1)+P(E2)+P(E3)+P(E4)P(\text{Success}) = P(E_1) + P(E_2) + P(E_3) + P(E_4) where:
    • P(E1)=P(S1 only)=0.1×0.8×0.7×0.6=0.1×0.336=0.0336P(E_1) = P(S_1 \text{ only}) = 0.1 \times 0.8 \times 0.7 \times 0.6 = 0.1 \times 0.336 = \mathbf{0.0336}
    • P(E2)=P(S2 only)=0.9×0.2×0.7×0.6=0.18×0.42=0.0756P(E_2) = P(S_2 \text{ only}) = 0.9 \times 0.2 \times 0.7 \times 0.6 = 0.18 \times 0.42 = \mathbf{0.0756}
    • P(E3)=P(S3 only)=0.9×0.8×0.3×0.6=0.72×0.18=0.1296P(E_3) = P(S_3 \text{ only}) = 0.9 \times 0.8 \times 0.3 \times 0.6 = 0.72 \times 0.18 = \mathbf{0.1296}
    • P(E4)=P(S4 only)=0.9×0.8×0.7×0.4=0.72×0.28=0.2016P(E_4) = P(S_4 \text{ only}) = 0.9 \times 0.8 \times 0.7 \times 0.4 = 0.72 \times 0.28 = \mathbf{0.2016}
  3. Sum the four probabilities: P(Success)=0.0336+0.0756+0.1296+0.2016=0.4404P(\text{Success}) = 0.0336 + 0.0756 + 0.1296 + 0.2016 = \mathbf{0.4404}

Example 3: Symmetric nn-Station Slotted ALOHA​

Problem Statement: In a slotted broadcast channel with nn active stations, each station independently attempts transmission in any given slot with probability pp.

  1. Derive the mathematical expression for the probability that exactly one station successfully transmits in a given slot.
  2. Determine the optimal value of pp that maximizes system efficiency.
  3. Show the limiting throughput as n→∞n \to \infty.

Step-by-Step Solution:

  1. Derivation of Success Probability PsuccP_{\text{succ}}: For a specific station AA to succeed, AA must transmit (probability pp) and all remaining (n−1)(n-1) stations must remain silent (probability (1−p)n−1(1-p)^{n-1}). Since any of the nn stations can be the successful transmitter: Psucc=(n1)p1(1−p)n−1=np(1−p)n−1\Large P_{\text{succ}} = \binom{n}{1} p^1 (1-p)^{n-1} = n p (1-p)^{n-1}
  2. Finding the Optimal Attempt Probability p∗p^*: To maximize PsuccP_{\text{succ}}, differentiate with respect to pp and set to 0: ddp[np(1−p)n−1]=n[(1−p)n−1+p(n−1)(1−p)n−2(−1)]=0\frac{d}{dp} \left[ n p (1-p)^{n-1} \right] = n \left[ (1-p)^{n-1} + p (n-1) (1-p)^{n-2} (-1) \right] = 0 n(1−p)n−2[(1−p)−p(n−1)]=0n (1-p)^{n-2} \left[ (1-p) - p(n-1) \right] = 0 1−p−np+p=0  ⟹  1−np=0  ⟹  p∗=1n1 - p - np + p = 0 \implies 1 - np = 0 \implies \Large p^* = \frac{1}{n}

    Intuition: To maximize success, the expected number of transmissions per slot (n×pn \times p) should be exactly equal to 11.

  3. Limiting Throughput as n→∞n \to \infty: Substitute p∗=1np^* = \frac{1}{n} into PsuccP_{\text{succ}}: Psucc,max⁡=n(1n)(1−1n)n−1=(1−1n)n1−1nP_{\text{succ},\max} = n \left(\frac{1}{n}\right) \left(1 - \frac{1}{n}\right)^{n-1} = \frac{\left(1 - \frac{1}{n}\right)^n}{1 - \frac{1}{n}} As n→∞n \to \infty, recall the fundamental calculus identity lim⁡n→∞(1−1n)n=e−1=1e\lim_{n \to \infty} \left(1 - \frac{1}{n}\right)^n = e^{-1} = \frac{1}{e}: lim⁡n→∞Psucc,max⁡=e−11−0=1e≈0.368 (36.8%)\lim_{n \to \infty} P_{\text{succ},\max} = \frac{e^{-1}}{1 - 0} = \frac{1}{e} \approx \mathbf{0.368 \ (36.8\%)} This confirms that Slotted ALOHA achieves a universal asymptotic bound of 36.8%36.8\% even when scaled to thousands of contending stations.

Example 4: Channel Capacity & Usable Bit Rate​

Problem Statement: A pure ALOHA network operates on a shared channel with a transmission bandwidth of 56 kbps56\text{ kbps}. If each frame is 1000 bits1000\text{ bits} long:

  1. What is the maximum throughput in frames per second?
  2. What is the maximum usable data rate of the channel?

Step-by-Step Solution:

  1. Frame Transmission Time (TtT_t): Tt=1000 bits56×103 bps=156 seconds≈0.01786 s (17.86 ms)T_t = \frac{1000\text{ bits}}{56 \times 10^3\text{ bps}} = \frac{1}{56}\text{ seconds} \approx 0.01786\text{ s} \ (17.86\text{ ms})
  2. Channel Capacity in Frames/Second: Raw Frame Rate=1Tt=56 frames/second\text{Raw Frame Rate} = \frac{1}{T_t} = 56\text{ frames/second}
  3. Maximum Throughput (Smax⁡S_{\max}): Smax⁡=18.4%  ⟹  Throughput=56×0.1839≈10.3 frames/secondS_{\max} = 18.4\% \implies \text{Throughput} = 56 \times 0.1839 \approx \mathbf{10.3\text{ frames/second}}
  4. Maximum Usable Data Rate: Usable Bitrate=Bandwidth×Smax⁡=56 kbps×0.1839≈10.3 kbps\text{Usable Bitrate} = \text{Bandwidth} \times S_{\max} = 56\text{ kbps} \times 0.1839 \approx \mathbf{10.3\text{ kbps}}

🎯 Exam & Interview Pitfall Check​

Core Conceptual Questions
  • Why is Pure ALOHA's vulnerable period 2Tt2 T_t while Slotted ALOHA's is 1Tt1 T_t? In Pure ALOHA, stations transmit without synchronization. A transmission started at t0t_0 collides with any frame started between t0−Ttt_0 - T_t and t0t_0 (tail collision) OR between t0t_0 and t0+Ttt_0 + T_t (head collision), spanning a continuous interval of 2Tt2 T_t. In Slotted ALOHA, discrete slot boundaries eliminate all partial overlaps; frames can only collide if stations transmit at the exact same slot boundary, reducing the vulnerable period to TtT_t.
  • At what offered load GG does Slotted ALOHA achieve maximum throughput? At G=1.0G = 1.0 (meaning an average of 1 transmission attempt per time slot), yielding S=1⋅e−1=36.8%S = 1 \cdot e^{-1} = 36.8\%. For Pure ALOHA, the optimum occurs at G=0.5G = 0.5, yielding S=0.5⋅e−1=18.4%S = 0.5 \cdot e^{-1} = 18.4\%.
Common Interview Traps
  • Trap: Assuming GG equals SS. GG is the total offered channel traffic (new frames + retransmitted colliding frames), while SS is the successful throughput. For any non-zero collision probability, G>SG > S. In heavily congested channels (G≫1G \gg 1), throughput drops towards zero as almost all transmissions collide (S→0S \to 0).
  • Trap: Forgetting that Carrier Sensing fails over long-delay satellite links. Interviewers often ask: "Why not use CSMA/CD on satellite links instead of Slotted ALOHA?" Because TpT_p is ∼250 ms\sim 250\text{ ms}. By the time a station senses an idle carrier, another station hundreds of kilometers away transmitted hundreds of milliseconds ago. The carrier sense signal is stale, making CSMA/CD useless on satellite links.

💬

Discussion & Doubts