Sub topic 7
Pure ALOHA and Its Throughput
Working model
Assume you know what a data frame, transmission time, and Poisson arrival process are. Pure ALOHA is a random-access protocol in which a station transmits a frame whenever it has one. It does not wait for a slot or listen to the channel first.
Let:
- \(T\) be the time needed to transmit one frame.
- \(G\) be the offered load, measured in attempted frames per frame time. This includes original transmissions and retransmissions.
- \(S\) be the throughput, measured in successfully transmitted frames per frame time.
A collision occurs if any other station starts transmitting during the vulnerable period around a frame.
Vulnerable period
Suppose station A starts at time \(t\). Another station can corrupt A's frame by starting:
- During the \(T\) time units before \(t\), because its frame would overlap A's frame.
- During the \(T\) time units after \(t\), because its frame would overlap the frame already in progress.
Therefore, the vulnerable period is \(2T\).
Assume frame-start attempts follow a Poisson distribution. If the average number of attempts during one frame time is \(G\), the average number during the vulnerable period is \(2G\).
The probability of zero interfering attempts is:
\[ P(0)=e^{-2G} \]
A frame succeeds only when no other attempt occurs in this period. Thus, the throughput is:
\[ S=G e^{-2G} \]
Maximum throughput
Differentiate \(S\) with respect to \(G\):
\[ \frac{dS}{dG}=e^{-2G}(1-2G) \]
The derivative is zero when:
\[ 1-2G=0 \quad\Rightarrow\quad G=0.5 \]
Substituting \(G=0.5\):
\[ S_{\max}=0.5e^{-1}=\frac{1}{2e}\approx0.184 \]
Pure ALOHA therefore achieves a maximum throughput of about 18.4 percent of the channel capacity.
| Quantity | Pure ALOHA result |
|---|---|
| Vulnerable period | \(2T\) |
| Throughput formula | \(S=Ge^{-2G}\) |
| Load at maximum throughput | \(G=0.5\) |
| Maximum throughput | \(1/(2e)\approx0.184\) |
import math
def pure_aloha(G):
return G * math.exp(-2 * G)
print(round(pure_aloha(0.5), 3)) # 0.184Exercise
If the offered load is G = 1, what is the Pure ALOHA throughput?
Show answer
S = 1e^-2 ≈ 0.135, or about 13.5 percent.