Professional Documents
Culture Documents
Aloha means "Hello". Aloha is a multiple access protocol at the datalink layer and
proposes how multiple terminals access the medium without interference or collision. In
1972 Roberts developed a protocol that would increase the capacity of aloha two fold. The
Slotted Aloha protocol involves dividing the time interval into discrete slots and each slot
interval corresponds to the time period of one frame. This method requires synchronization
between the sending nodes to prevent collisions.
ALOHA Page 1
In fig there are four stations that .contended with one another for access to shared
channel. All these stations are transmitting frames. Some of these frames collide because
multiple frames are in contention for the shared channel. Only two frames, frame 1.1 and
frame 2.2 survive. All other frames are destroyed.
Whenever two frames try to occupy the channel at the same time, there will be a collision
and both will be damaged. If first bit of a new frame overlaps with just the last bit of a
frame almost finished, both frames will be totally destroyed and both will have to be
retransmitted.
The first version of the protocol (now called "Pure ALOHA", and the one implemented in
ALOHAnet) was quite simple:
ALOHA Page 3
P[X = x] =
!
Therefore, the probability that during any particular period from t=2nT to t=(2n+1)T, (that
is for any particular non-zero integer value of n) exactly one node will begin transmission is
1
P[X = 1] = = Ge-G
1!
And the probability that during any particular period t=(2n+1)T to t=(2n+2)T, no node will
begin transmission is
0
P[X = 0] = = e-G
0!
But for successful transmission of a frame, both the events should occur simultaneously.
That is during period t=2nT to t=(2n+1)T, exactly one node begins transmission and during
t=(2n+1)T to t=(2n+2)T no node begins transmission.
Hence the probability that both the independent events will occur simultaneously is
P=P(0)*P(1)= Ge-G * e-G = Ge-2G
This is the throughput.
Throughput is intended to mean the probability of successful transmission during
minimum possible period. Therefore, the throughput in pure ALOHA,
Spure=Ge-2G
Similarly for slotted ALOHA, a frame will be successfully transmitted, if exactly one node
will begin transmission at the beginning of any particular time slot (equal to frame time T).
But the probability that one node will begin during any particular time slot is
1
P[X = 1] = = Ge-G
1!
ALOHA Page 4
In slotted ALOHA, if any station is not able to place the frame onto the channel at the
beginning of the slot i.e. it misses the time slot then the station has to wait until the
beginning of the next time slot.
In slotted ALOHA, there is still a possibility of collision if two stations try to send at the
beginning of the same time slot as shown in fig.
Slotted ALOHA still has an edge over pure ALOHA as chances of collision are reduced to
one-half.
An improvement to the original ALOHA protocol was "Slotted ALOHA", which introduced
discrete timeslots and increased the maximum throughput.[14] A station can start a
transmission only at the beginning of a timeslot, and thus collisions are reduced. In this
case, only transmission-attempts within 1 frame-time and not 2 consecutive frame-times
need to be considered, since collisions can only occur during each timeslot. Thus, the
probability of there being zero transmission-attempts by other stations in a single timeslot
is:
Prob slotted =e -G
ALOHA Page 5