Alohanet: Soulimane Mammar February 25, 2021
Alohanet: Soulimane Mammar February 25, 2021
Soulimane MAMMAR
1 Introduction
ALOHAnet, also known as the ALOHA System, or simply ALOHA, was de-
veloped at the University of Hawaii under the leadership of Norman Abram-
son along with Thomas Gaarder, Franklin Kuo, Shu Lin, Wesley Peterson
and Edward Weldon. The goal was to use low-cost commercial radio equip-
ment to connect users on Oahu and the other Hawaiian islands with a central
time-sharing computer on the main Oahu campus. The first packet broad-
casting unit went into operation in June 1971 providing the first public
demonstration of a wireless packet data network. Terminals were connected
to a special purpose ”terminal connection unit” using RS-232 at 9600 bit/s.
ALOHA originally stood for Additive Links On-line Hawaii Area.
The original version of ALOHA used two distinct frequencies in a hub
configuration, with the hub machine broadcasting packets to everyone on the
”outbound” channel, and the various client machines sending data packets
to the hub on the ”inbound” channel. If data was received correctly at the
hub, a short acknowledgment packet was sent to the client; if an acknowledg-
ment was not received by a client machine after a short wait time, it would
automatically retransmit the data packet after waiting a randomly selected
time interval. This acknowledgment mechanism was used to detect and cor-
rect for ”collisions” created when two client machines both attempted to
send a packet at the same time.
In the early 1980s frequencies for mobile networks became available,
and in 1985 frequencies suitable for what became known as Wi-Fi were
allocated in the US. These regulatory developments made it possible to
use the ALOHA random-access techniques in both Wi-Fi and in mobile
telephone networks.
ALOHA channels were used in a limited way in the 1980s in 1G mobile
phones for signaling and control purposes. In the late 1980s, the Euro-
pean standardisation group GSM who worked on the Pan-European Digital
mobile communication system GSM greatly expanded the use of ALOHA
channels for access to radio channels in mobile telephony. In the early 2000s
additional ALOHA channels were added to 2.5G and 3G mobile phones.
1
ALOHAnet’s primary importance was its use of a shared medium for
client transmissions. This solution became known as a pure ALOHA, or
random-access channel, and was the basis for subsequent Ethernet develop-
ment and later Wi-Fi networks. Various versions of the ALOHA protocol
(such as Slotted ALOHA) also appeared later in satellite communications,
and were used in wireless data networks such as ARDIS, Mobitex, CDPD,
and GSM.
2 ALOHA Protocol
2.1 Pure ALOHA
In pure ALOHA, the time of transmission is continuous.
– In some ALOHA systems, after each station has sent its frame
to the central computer, this computer rebroadcasts the frame
to all of the stations. A sending station can thus listen for the
broadcast from the hub to see if its frame has gotten through.
– In other systems, the sender might be able to listen for collisions
while transmitting (such as wired LANs).
– In another category of systems, the receiver sends an acknowl-
edgment upon the receipt of a frame
Note that the first step implies that Pure ALOHA does not check whether
the channel is busy before transmitting. Since collisions can occur and data
may have to be sent again, ALOHA cannot use 100% of the capacity of the
communications channel.
If the frame was destroyed, the sender just waits a random amount of
time and sends it again. The waiting time must be random or the same
frames will collide over and over, in lockstep. Systems in which multiple
users share a common channel in a way that can lead to conflicts are known
as contention systems.
A sketch of frame generation in an ALOHA system is given in Figure 1.
Frames have all the same length because the throughput of ALOHA sys-
tems is maximized by having a uniform frame size rather than by allowing
variable-length frames.
Whenever two frames try to occupy the channel at the same time, there
will be a collision (as seen in Figure 1) and both will be garbled.
An interesting question is: what is the efficiency of an ALOHA channel?
In other words, what fraction of all transmitted frames escape collisions
2
Figure 1: In pure ALOHA, frames are transmitted at completely arbitrary
times.
3
that a frame does not suffer a collision.
A frame will not suffer a collision if no other frames are sent within one
frame time of its start, as shown in Figure 2. Under what conditions will
the shaded frame arrive undamaged? Let t be the time required to send
one frame. If any other user has generated a frame between time t0 and
t0 + t, the end of that frame will collide with the beginning of the shaded
one. In fact, the shaded frame’s fate was already sealed even before the
first bit was sent, but since in pure ALOHA a station does not listen to the
channel before transmitting, it has no way of knowing that another frame
was already underway. Similarly, any other frame started between t0 + t
andt0 + 2t will bump into the end of the shaded frame.
The probability that k frames are generated during a given frame time,
in which G frames are expected, is given by the Poisson distribution
Gk e−G
P r[k] =
k!
so the probability of zero frames is just e−G . In an interval two frame times
long, the mean number of frames generated is 2G. The probability of no
frames being initiated during the entire vulnerable period is thus given by
P0 = e−2G . Using S = GP0 , we get
S = Ge−2G
The relation between the offered traffic and the throughput is shown in
Figure 3. The maximum throughput occurs at G = 0.5, with S = 1/2e,
which is about 0.184. In other words, the best we can hope for is a channel
utilization of 18%. This result is not very encouraging, but with everyone
transmitting at will, we could hardly have expected a 100% success rate.
4
Figure 3: Throughput versus offered traffic for ALOHA systems.
5
The expected number of transmissions, E, per line typed at a terminal is
then
X∞ X∞
E= kPk = ke−G (1 − e−G )k−1 = eG
k=1 k=1