SlideShare a Scribd company logo
1 of 39
Download to read offline
A Medium Access Protocol:
ALOHA
Prepared by: Hinal Lunagariya
Contents
• ALOHA: Meaning
• History
• Contention protocol
• Basic idea
• Versions of ALOHA
• Pure ALOHA
• Analysis of pure ALOHA
• Slotted ALOHA
• Analysis of slotted ALOHA
• Summary
• References
ALOHA : Meaning[1]
It has been derived from a compound of the Hawaiian words:
ALO means “share”.
HA means “essence of life”
History[1]
Development of the ALOHA network was begun in 1968 at the University
of Hawaii under the leadership of Norman Abramson.
The goal was to use low-cost commercial radio equipment to connect
users on Oahu(an island of Hawaii) and the other Hawaiian islands with a
central time-sharing computer on the main Oahu campus.
ALOHAnet became operational in June, 1971, providing the first public
demonstration of a wireless packet data network.
Although ALOHAnet was designed for wireless communication, there
were two other media available for the application of an ALOHA channel –
cables and satellites.
In the 1970s ALOHA random access was employed in the widely used
Ethernet cable based network and then in the satellite network.
Contention is a media access method that is used to share a broadcast
medium.
In contention, any computer in the network can transmit data at any
time (first come-first served).
The ALOHAnet solution was to allow each client to send its data without
controlling when it was sent, with an acknowledgment/retransmission
scheme used to deal with collisions.
ALOHA: A family of Contention Protocols
Basic Idea Behind ALOHA
Use of two distinct frequencies in a hub/star configuration.
The hub machine broadcasting packets to everyone on the "outbound"
channel.
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 acknowledgment 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 correct for
"collisions" created when two client machines both attempted to send a
packet at the same time.
Outbound channel
Downstream channel
Hub
Basic Idea Behind ALOHA
Use of two distinct frequencies in a
hub/star configuration.




Hub
Broadcasting 
Basic Idea Behind ALOHA




Hub
Sending data packets to hub Clients
Basic Idea Behind ALOHA




Hub
Acknowledgement
Basic Idea Behind ALOHA
Versions Of ALOHA Protocol
ALOHA
Pure ALOHA
Slotted ALOHA
Versions Of ALOHA Protocol
ALOHA
Pure ALOHA
Slotted ALOHA
Original
version of
ALOHA.
Versions Of ALOHA Protocol
ALOHA
Pure ALOHA
Slotted ALOHA
•Modified version.
•Division in time slots.
Pure ALOHA
• Whenever a station has a data, it transmits i.e. frames are
transmitted at completely arbitrary times.
•Sender finds out whether transmission was successful or
experienced a collision by listening to the broadcast from
the destination station.
•Sender retransmits after some random time if there is a
collision.
Frame 1.1
Frame 2.1
Frame 1.2
Frame 4.2
Frame 3.2
Frame 2.2
Frame 4.1
Frame 3.1
Collision
duration
Collision
duration
Station 1
Station 2
Station 3
Station 4
Frames in a pure ALOHA network
Procedure for pure ALOHA protocol
Analysis of Pure ALOHA…
• Notation:
– Tf : Frame time (processing, transmission, propagation)
– S : Average number of successful transmissions per Tf ;
that is, the throughput or efficiency.
– G : Average number of total frames transmitted per Tf
– D : Average delay between the time a packet is ready for
transmission and the completion of successful
transmission.
We will make the following assumptions:
All frames are of constant length
The channel is noise-free; the errors are only due to
collisions.
Frames do not queue at individual stations
The channel acts as a Poisson process.
Since S represents the number of “good” or “succeed”
transmissions per frame time, and G represents the total number
of attempted transmissions per frame time, then we have:
S = G * (Probability of good transmission)
….Analysis Of Pure ALOHA….
….Analysis Of Pure ALOHA….
Vulnerable time for pure ALOHA protocol:
( )
( )
!
k t
k
t e
P t
k

 

The probability of having k arrivals during a time interval of
length t is given by:
where λ is the arrival rate.
….Analysis Of Pure ALOHA….
12.21
….Analysis Of Pure ALOHA….
The vulnerable time for a successful transmission is 2Tf
i.e. collision probability increases
So, the probability of good transmission is not to have an “arrival”
during the vulnerable time .
!
)(
)(
k
et
tP
tk
k

 

And setting t = 2Tf and k = 0, we get,
20
2
0
2
( 2 )
(2 )
0!
becasue . Thus,
fT
f G
f
G
f
T e
P T e
G
S G e
T







 
  
For PURE ALOHA, the probability of a successful
transmission is e-2G .
Expected number of transmissions = e2G
Which means that a small increase in the channel load,
that is G, can drastically reduce its performance.
The throughput for pure ALOHA is
S = G × e −2G .
The maximum throughput
Smax = 0.184 when G= (1/2).
The ALOHA protocol is an example of an unstable
protocol.
….Analysis Of Pure ALOHA….
Pure ALOHA Offered Load vs. Throughput
 Max at G = 0.5, S = 1/2e, only about 0.184 (18%)!
– Can we do better?
24
Slotted ALOHA
 Slotted ALOHA was invented to improve the efficiency of
pure ALOHA as chances of collision in pure ALOHA are very
high.
 In slotted ALOHA, there is still a possibility of collision if
two stations try to send at the beginning of the same time
slot
 Slotted ALOHA still has an edge over pure ALOHA as
chances of collision are reduced to one-half.
Assumptions Made In Slotted ALOHA
• All frames consist of exactly L bits.
• Time is divided into slots of size L/R seconds (i.e., a slot
equals the time to transmit one frame).
• Nodes start to transmit frames only at the beginnings of
slots.
• The nodes are synchronized so that each node knows when
the slots begin.
• If two or more frames collide in a slot, then all the nodes
detect the collision event before the slot ends.
.
While there is a new frame A to send do
1. Send frame A at a slot boundary and wait for ACK
2. If after “some” time ACK is received, successful
transmission of frame.
3. If there is a collision, the node detects the collision
before the end of the slot.
4. wait a random amount of time and go to 1
End
The node retransmits its frame in each subsequent slot with
probability p until the frame is transmitted without a collision
Procedure for slotted ALOHA
Frame 1.1
Frame 2.1
Frame 1.2
Frame 4.2
Frame 3.2
Frame 2.2
Frame 4.1
Frame 3.1
Collision duration
Station 1
Station 2
Station 3
Station 4
Frames in a Slotted ALOHA network
Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 Slot 6
Analysis of Slotted ALOHA….
Suppose N stations have packets to send,
each transmits in slot with probability p
probability of successful transmission S is:
•by any specific single node: S= p (1-p)(N-1)
•by any of N nodes
S = Prob (only one transmits)
= N p (1-p)(N-1)
for optimum p as N -> infty ...
S = 1/e = .37
At best: channel use for useful
transmissions 37% of time!!!!!
12.30
Vulnerable time for slotted ALOHA protocol
..Analysis of Slotted ALOHA…
• Note that the vulnerable period is now reduced in
half.
Hence,
!
)(
)(
k
et
tP
tk
k

 

And putting t = Tf and k = 0, we get
0
0
( )
( )
0!
because . Thus,
fT
f G
f
G
f
T e
P T e
G
S G e
T







 
  
..Analysis of Slotted ALOHA…
32
Throughput of Slotted ALOHA
  G
eP 
0
• The probability of no collision is given by
  G
eGPGS 
 0
• The throughput S is
368.0
1
max 
e
S
• The Maximum throughput of slotted ALOHA is
..Analysis of Slotted ALOHA…
• Best (G = 1):
– 37% empty
– 37% success
– 26% collisions
• Raising G, reduces empties but increases collisions
exponentially
• Expected transmissions (includes original)
E = eG
– G=0, then 1 transmission; G=1 then 2*X transmissions.
• Small increase in load, big decrease in performance.
..Analysis of Slotted ALOHA…
Pros and Cons of Slotted ALOHA
Pros
• single active node can continuously transmit at full
rate of channel
• highly decentralized: only slots in nodes need to be
in sync
• Simple protocol
Cons
• collisions, wasting slots
• idle slots
• nodes may be able to detect collision in less than time to
transmit packet
• clock synchronization
35
Throughput versus offered traffic for
ALOHA systems.
G
86420
0.5
0.4
0.3
0.2
0.1
0
Slotted Aloha
Aloha
0.368
0.184
S
G 
Summary
ALOHA is one of the random access protocol implemented
at link layer.
Chances of collisions are more in pure ALOHA as compared
to Slotted ALOHA , but still it is least efficient as compared
to other random access protocol such as CSMA(CD/CA).
These protocols works efficiently when there are less active
nodes.
Modified versions of ALOHA are being used in some services
such as Mobile Slotted ALOHA[1].
References
[1] Wikipedia
[2] http://www.cse.iitk.ac.in/users/dheeraj/cs425/lec04.html/index.html
[3] Data Communication and Networking by Behrouz A Forouzan
[4] computer networks and the internet by Ross & Kurose
ALOHA: A Medium Access Protocol for Wireless Networks
ALOHA: A Medium Access Protocol for Wireless Networks

More Related Content

What's hot

Multiple Access Techniques
Multiple Access TechniquesMultiple Access Techniques
Multiple Access Techniquesinayat khan
 
MULTIPLE ACCESS PROTOCOL COMPUTER NETWORKS
MULTIPLE ACCESS PROTOCOL COMPUTER NETWORKS MULTIPLE ACCESS PROTOCOL COMPUTER NETWORKS
MULTIPLE ACCESS PROTOCOL COMPUTER NETWORKS garishma bhatia
 
Dynamic time warping and PIC 16F676 for control of devices
Dynamic time warping and PIC 16F676 for control of devicesDynamic time warping and PIC 16F676 for control of devices
Dynamic time warping and PIC 16F676 for control of devicesRoger Gomes
 
Hardware Description Beyond Register-Transfer Level (RTL) Languages
Hardware Description Beyond Register-Transfer Level (RTL) LanguagesHardware Description Beyond Register-Transfer Level (RTL) Languages
Hardware Description Beyond Register-Transfer Level (RTL) LanguagesLEGATO project
 
Transport protocols
Transport protocolsTransport protocols
Transport protocolsAman Jaiswal
 
RFID tag anti collision protocols
RFID tag anti collision protocolsRFID tag anti collision protocols
RFID tag anti collision protocolsArsnet
 
Microcontrollers iii
Microcontrollers iiiMicrocontrollers iii
Microcontrollers iiiTeame Hadush
 
267698140 vo lte-trouble-shooting-in-ericsson-lte-rtt
267698140 vo lte-trouble-shooting-in-ericsson-lte-rtt267698140 vo lte-trouble-shooting-in-ericsson-lte-rtt
267698140 vo lte-trouble-shooting-in-ericsson-lte-rttMarcos Dominguez
 
Performance Evaluation of GTP-U and SRv6 Stateless Translation
Performance Evaluation of GTP-U and SRv6 Stateless TranslationPerformance Evaluation of GTP-U and SRv6 Stateless Translation
Performance Evaluation of GTP-U and SRv6 Stateless TranslationChunghan Lee
 
Switching Tech And Data Link
Switching Tech And Data LinkSwitching Tech And Data Link
Switching Tech And Data Linkanishgoel
 
Nondeterministic Finite Automata
Nondeterministic Finite Automata Nondeterministic Finite Automata
Nondeterministic Finite Automata parmeet834
 
Routing, Network Performance, and Role of Analytics
Routing, Network Performance, and Role of AnalyticsRouting, Network Performance, and Role of Analytics
Routing, Network Performance, and Role of AnalyticsAPNIC
 
Distributed routing
Distributed routingDistributed routing
Distributed routingMurali Reddy
 

What's hot (20)

Multiple Access Techniques
Multiple Access TechniquesMultiple Access Techniques
Multiple Access Techniques
 
MULTIPLE ACCESS PROTOCOL COMPUTER NETWORKS
MULTIPLE ACCESS PROTOCOL COMPUTER NETWORKS MULTIPLE ACCESS PROTOCOL COMPUTER NETWORKS
MULTIPLE ACCESS PROTOCOL COMPUTER NETWORKS
 
Mac sub layer
Mac sub layerMac sub layer
Mac sub layer
 
Dynamic time warping and PIC 16F676 for control of devices
Dynamic time warping and PIC 16F676 for control of devicesDynamic time warping and PIC 16F676 for control of devices
Dynamic time warping and PIC 16F676 for control of devices
 
Hardware Description Beyond Register-Transfer Level (RTL) Languages
Hardware Description Beyond Register-Transfer Level (RTL) LanguagesHardware Description Beyond Register-Transfer Level (RTL) Languages
Hardware Description Beyond Register-Transfer Level (RTL) Languages
 
Go Back N Arq1
Go  Back N Arq1Go  Back N Arq1
Go Back N Arq1
 
Stop And Wait
Stop And WaitStop And Wait
Stop And Wait
 
Lecture9
Lecture9Lecture9
Lecture9
 
RACH Procedures
RACH ProceduresRACH Procedures
RACH Procedures
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
 
RFID tag anti collision protocols
RFID tag anti collision protocolsRFID tag anti collision protocols
RFID tag anti collision protocols
 
Microcontrollers iii
Microcontrollers iiiMicrocontrollers iii
Microcontrollers iii
 
267698140 vo lte-trouble-shooting-in-ericsson-lte-rtt
267698140 vo lte-trouble-shooting-in-ericsson-lte-rtt267698140 vo lte-trouble-shooting-in-ericsson-lte-rtt
267698140 vo lte-trouble-shooting-in-ericsson-lte-rtt
 
Performance Evaluation of GTP-U and SRv6 Stateless Translation
Performance Evaluation of GTP-U and SRv6 Stateless TranslationPerformance Evaluation of GTP-U and SRv6 Stateless Translation
Performance Evaluation of GTP-U and SRv6 Stateless Translation
 
Switching Tech And Data Link
Switching Tech And Data LinkSwitching Tech And Data Link
Switching Tech And Data Link
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Level of abstraction
Level of abstractionLevel of abstraction
Level of abstraction
 
Nondeterministic Finite Automata
Nondeterministic Finite Automata Nondeterministic Finite Automata
Nondeterministic Finite Automata
 
Routing, Network Performance, and Role of Analytics
Routing, Network Performance, and Role of AnalyticsRouting, Network Performance, and Role of Analytics
Routing, Network Performance, and Role of Analytics
 
Distributed routing
Distributed routingDistributed routing
Distributed routing
 

Similar to ALOHA: A Medium Access Protocol for Wireless Networks

Packet radio protocol
Packet radio protocolPacket radio protocol
Packet radio protocolPriya Kaushal
 
Computer network by uttam
Computer network by uttamComputer network by uttam
Computer network by uttamSunil Kumar
 
Dc ch09 : high speed la ns and wireless lans
Dc ch09 : high speed la ns and wireless lansDc ch09 : high speed la ns and wireless lans
Dc ch09 : high speed la ns and wireless lansSyaiful Ahdan
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocaltes31
 
Unit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdfUnit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdfSmtPArunaKumari
 
RANDOM ACCESS PROTOCOL IN COMMUNICATION
RANDOM ACCESS PROTOCOL IN COMMUNICATION           RANDOM ACCESS PROTOCOL IN COMMUNICATION
RANDOM ACCESS PROTOCOL IN COMMUNICATION AMOGHA A K
 
CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfJoshuaeeda1
 
link-medium-access-control.pptx
link-medium-access-control.pptxlink-medium-access-control.pptx
link-medium-access-control.pptxpatrickwang85
 
multipleaccessprotocol-140213082552-phpapp02.pdf
multipleaccessprotocol-140213082552-phpapp02.pdfmultipleaccessprotocol-140213082552-phpapp02.pdf
multipleaccessprotocol-140213082552-phpapp02.pdfGauravWankar2
 
Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02arifur rahman
 
seminar report on multiple access control protocol submitted by munesh
seminar report on multiple access control protocol submitted by munesh seminar report on multiple access control protocol submitted by munesh
seminar report on multiple access control protocol submitted by munesh meenamunesh
 

Similar to ALOHA: A Medium Access Protocol for Wireless Networks (20)

Mac layer
Mac  layerMac  layer
Mac layer
 
aloha
alohaaloha
aloha
 
Packet radio protocol
Packet radio protocolPacket radio protocol
Packet radio protocol
 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
Computer network by uttam
Computer network by uttamComputer network by uttam
Computer network by uttam
 
Dc ch09 : high speed la ns and wireless lans
Dc ch09 : high speed la ns and wireless lansDc ch09 : high speed la ns and wireless lans
Dc ch09 : high speed la ns and wireless lans
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
Unit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdfUnit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdf
 
RANDOM ACCESS PROTOCOL IN COMMUNICATION
RANDOM ACCESS PROTOCOL IN COMMUNICATION           RANDOM ACCESS PROTOCOL IN COMMUNICATION
RANDOM ACCESS PROTOCOL IN COMMUNICATION
 
CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdf
 
MAC
MACMAC
MAC
 
link-medium-access-control.pptx
link-medium-access-control.pptxlink-medium-access-control.pptx
link-medium-access-control.pptx
 
Chapt-06.ppt
Chapt-06.pptChapt-06.ppt
Chapt-06.ppt
 
multipleaccessprotocol-140213082552-phpapp02.pdf
multipleaccessprotocol-140213082552-phpapp02.pdfmultipleaccessprotocol-140213082552-phpapp02.pdf
multipleaccessprotocol-140213082552-phpapp02.pdf
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02
 
seminar report on multiple access control protocol submitted by munesh
seminar report on multiple access control protocol submitted by munesh seminar report on multiple access control protocol submitted by munesh
seminar report on multiple access control protocol submitted by munesh
 
Unit 3 - Data Link Layer - Part B
Unit 3 - Data Link Layer - Part BUnit 3 - Data Link Layer - Part B
Unit 3 - Data Link Layer - Part B
 
note9.ppt
note9.pptnote9.ppt
note9.ppt
 

Recently uploaded

女王大学硕士毕业证成绩单(加急办理)认证海外毕业证
女王大学硕士毕业证成绩单(加急办理)认证海外毕业证女王大学硕士毕业证成绩单(加急办理)认证海外毕业证
女王大学硕士毕业证成绩单(加急办理)认证海外毕业证obuhobo
 
Ethics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.pptEthics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.pptShafqatShakeel1
 
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)obuhobo
 
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service CuttackVIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service CuttackSuhani Kapoor
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一A SSS
 
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士obuhobo
 
NPPE STUDY GUIDE - NOV2021_study_104040.pdf
NPPE STUDY GUIDE - NOV2021_study_104040.pdfNPPE STUDY GUIDE - NOV2021_study_104040.pdf
NPPE STUDY GUIDE - NOV2021_study_104040.pdfDivyeshPatel234692
 
Sonam +91-9537192988-Mind-blowing skills and techniques of Ahmedabad Call Girls
Sonam +91-9537192988-Mind-blowing skills and techniques of Ahmedabad Call GirlsSonam +91-9537192988-Mind-blowing skills and techniques of Ahmedabad Call Girls
Sonam +91-9537192988-Mind-blowing skills and techniques of Ahmedabad Call GirlsNiya Khan
 
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Servicejennyeacort
 
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...Suhani Kapoor
 
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证diploma001
 
Digital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Discovery Institute
 
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一A SSS
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改yuu sss
 
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一2s3dgmej
 
Application deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdfApplication deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdfCyril CAUDROY
 
Gray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdfGray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdfpadillaangelina0023
 
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一lvtagr7
 
Black and White Minimalist Co Letter.pdf
Black and White Minimalist Co Letter.pdfBlack and White Minimalist Co Letter.pdf
Black and White Minimalist Co Letter.pdfpadillaangelina0023
 

Recently uploaded (20)

女王大学硕士毕业证成绩单(加急办理)认证海外毕业证
女王大学硕士毕业证成绩单(加急办理)认证海外毕业证女王大学硕士毕业证成绩单(加急办理)认证海外毕业证
女王大学硕士毕业证成绩单(加急办理)认证海外毕业证
 
Ethics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.pptEthics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.ppt
 
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
 
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service CuttackVIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
 
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
 
NPPE STUDY GUIDE - NOV2021_study_104040.pdf
NPPE STUDY GUIDE - NOV2021_study_104040.pdfNPPE STUDY GUIDE - NOV2021_study_104040.pdf
NPPE STUDY GUIDE - NOV2021_study_104040.pdf
 
Sonam +91-9537192988-Mind-blowing skills and techniques of Ahmedabad Call Girls
Sonam +91-9537192988-Mind-blowing skills and techniques of Ahmedabad Call GirlsSonam +91-9537192988-Mind-blowing skills and techniques of Ahmedabad Call Girls
Sonam +91-9537192988-Mind-blowing skills and techniques of Ahmedabad Call Girls
 
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
 
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
 
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
 
Young Call~Girl in Pragati Maidan New Delhi 8448380779 Full Enjoy Escort Service
Young Call~Girl in Pragati Maidan New Delhi 8448380779 Full Enjoy Escort ServiceYoung Call~Girl in Pragati Maidan New Delhi 8448380779 Full Enjoy Escort Service
Young Call~Girl in Pragati Maidan New Delhi 8448380779 Full Enjoy Escort Service
 
Digital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, India
 
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
 
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
 
Application deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdfApplication deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdf
 
Gray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdfGray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdf
 
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
 
Black and White Minimalist Co Letter.pdf
Black and White Minimalist Co Letter.pdfBlack and White Minimalist Co Letter.pdf
Black and White Minimalist Co Letter.pdf
 

ALOHA: A Medium Access Protocol for Wireless Networks

  • 1. A Medium Access Protocol: ALOHA Prepared by: Hinal Lunagariya
  • 2. Contents • ALOHA: Meaning • History • Contention protocol • Basic idea • Versions of ALOHA • Pure ALOHA • Analysis of pure ALOHA • Slotted ALOHA • Analysis of slotted ALOHA • Summary • References
  • 3. ALOHA : Meaning[1] It has been derived from a compound of the Hawaiian words: ALO means “share”. HA means “essence of life”
  • 4. History[1] Development of the ALOHA network was begun in 1968 at the University of Hawaii under the leadership of Norman Abramson. The goal was to use low-cost commercial radio equipment to connect users on Oahu(an island of Hawaii) and the other Hawaiian islands with a central time-sharing computer on the main Oahu campus. ALOHAnet became operational in June, 1971, providing the first public demonstration of a wireless packet data network. Although ALOHAnet was designed for wireless communication, there were two other media available for the application of an ALOHA channel – cables and satellites. In the 1970s ALOHA random access was employed in the widely used Ethernet cable based network and then in the satellite network.
  • 5. Contention is a media access method that is used to share a broadcast medium. In contention, any computer in the network can transmit data at any time (first come-first served). The ALOHAnet solution was to allow each client to send its data without controlling when it was sent, with an acknowledgment/retransmission scheme used to deal with collisions. ALOHA: A family of Contention Protocols
  • 6. Basic Idea Behind ALOHA Use of two distinct frequencies in a hub/star configuration. The hub machine broadcasting packets to everyone on the "outbound" channel. 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 acknowledgment 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 correct for "collisions" created when two client machines both attempted to send a packet at the same time.
  • 7. Outbound channel Downstream channel Hub Basic Idea Behind ALOHA Use of two distinct frequencies in a hub/star configuration.
  • 9.     Hub Sending data packets to hub Clients Basic Idea Behind ALOHA
  • 11. Versions Of ALOHA Protocol ALOHA Pure ALOHA Slotted ALOHA
  • 12. Versions Of ALOHA Protocol ALOHA Pure ALOHA Slotted ALOHA Original version of ALOHA.
  • 13. Versions Of ALOHA Protocol ALOHA Pure ALOHA Slotted ALOHA •Modified version. •Division in time slots.
  • 14. Pure ALOHA • Whenever a station has a data, it transmits i.e. frames are transmitted at completely arbitrary times. •Sender finds out whether transmission was successful or experienced a collision by listening to the broadcast from the destination station. •Sender retransmits after some random time if there is a collision.
  • 15. Frame 1.1 Frame 2.1 Frame 1.2 Frame 4.2 Frame 3.2 Frame 2.2 Frame 4.1 Frame 3.1 Collision duration Collision duration Station 1 Station 2 Station 3 Station 4 Frames in a pure ALOHA network
  • 16. Procedure for pure ALOHA protocol
  • 17. Analysis of Pure ALOHA… • Notation: – Tf : Frame time (processing, transmission, propagation) – S : Average number of successful transmissions per Tf ; that is, the throughput or efficiency. – G : Average number of total frames transmitted per Tf – D : Average delay between the time a packet is ready for transmission and the completion of successful transmission.
  • 18. We will make the following assumptions: All frames are of constant length The channel is noise-free; the errors are only due to collisions. Frames do not queue at individual stations The channel acts as a Poisson process. Since S represents the number of “good” or “succeed” transmissions per frame time, and G represents the total number of attempted transmissions per frame time, then we have: S = G * (Probability of good transmission) ….Analysis Of Pure ALOHA….
  • 19. ….Analysis Of Pure ALOHA…. Vulnerable time for pure ALOHA protocol:
  • 20. ( ) ( ) ! k t k t e P t k     The probability of having k arrivals during a time interval of length t is given by: where λ is the arrival rate. ….Analysis Of Pure ALOHA….
  • 21. 12.21 ….Analysis Of Pure ALOHA…. The vulnerable time for a successful transmission is 2Tf i.e. collision probability increases So, the probability of good transmission is not to have an “arrival” during the vulnerable time . ! )( )( k et tP tk k     And setting t = 2Tf and k = 0, we get, 20 2 0 2 ( 2 ) (2 ) 0! becasue . Thus, fT f G f G f T e P T e G S G e T            
  • 22. For PURE ALOHA, the probability of a successful transmission is e-2G . Expected number of transmissions = e2G Which means that a small increase in the channel load, that is G, can drastically reduce its performance. The throughput for pure ALOHA is S = G × e −2G . The maximum throughput Smax = 0.184 when G= (1/2). The ALOHA protocol is an example of an unstable protocol. ….Analysis Of Pure ALOHA….
  • 23. Pure ALOHA Offered Load vs. Throughput  Max at G = 0.5, S = 1/2e, only about 0.184 (18%)! – Can we do better?
  • 24. 24 Slotted ALOHA  Slotted ALOHA was invented to improve the efficiency of pure ALOHA as chances of collision in pure ALOHA are very high.  In slotted ALOHA, there is still a possibility of collision if two stations try to send at the beginning of the same time slot  Slotted ALOHA still has an edge over pure ALOHA as chances of collision are reduced to one-half.
  • 25. Assumptions Made In Slotted ALOHA • All frames consist of exactly L bits. • Time is divided into slots of size L/R seconds (i.e., a slot equals the time to transmit one frame). • Nodes start to transmit frames only at the beginnings of slots. • The nodes are synchronized so that each node knows when the slots begin. • If two or more frames collide in a slot, then all the nodes detect the collision event before the slot ends.
  • 26. . While there is a new frame A to send do 1. Send frame A at a slot boundary and wait for ACK 2. If after “some” time ACK is received, successful transmission of frame. 3. If there is a collision, the node detects the collision before the end of the slot. 4. wait a random amount of time and go to 1 End The node retransmits its frame in each subsequent slot with probability p until the frame is transmitted without a collision Procedure for slotted ALOHA
  • 27. Frame 1.1 Frame 2.1 Frame 1.2 Frame 4.2 Frame 3.2 Frame 2.2 Frame 4.1 Frame 3.1 Collision duration Station 1 Station 2 Station 3 Station 4 Frames in a Slotted ALOHA network Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 Slot 6
  • 28. Analysis of Slotted ALOHA…. Suppose N stations have packets to send, each transmits in slot with probability p probability of successful transmission S is: •by any specific single node: S= p (1-p)(N-1) •by any of N nodes S = Prob (only one transmits) = N p (1-p)(N-1) for optimum p as N -> infty ... S = 1/e = .37
  • 29. At best: channel use for useful transmissions 37% of time!!!!!
  • 30. 12.30 Vulnerable time for slotted ALOHA protocol ..Analysis of Slotted ALOHA…
  • 31. • Note that the vulnerable period is now reduced in half. Hence, ! )( )( k et tP tk k     And putting t = Tf and k = 0, we get 0 0 ( ) ( ) 0! because . Thus, fT f G f G f T e P T e G S G e T             ..Analysis of Slotted ALOHA…
  • 32. 32 Throughput of Slotted ALOHA   G eP  0 • The probability of no collision is given by   G eGPGS   0 • The throughput S is 368.0 1 max  e S • The Maximum throughput of slotted ALOHA is ..Analysis of Slotted ALOHA…
  • 33. • Best (G = 1): – 37% empty – 37% success – 26% collisions • Raising G, reduces empties but increases collisions exponentially • Expected transmissions (includes original) E = eG – G=0, then 1 transmission; G=1 then 2*X transmissions. • Small increase in load, big decrease in performance. ..Analysis of Slotted ALOHA…
  • 34. Pros and Cons of Slotted ALOHA Pros • single active node can continuously transmit at full rate of channel • highly decentralized: only slots in nodes need to be in sync • Simple protocol Cons • collisions, wasting slots • idle slots • nodes may be able to detect collision in less than time to transmit packet • clock synchronization
  • 35. 35 Throughput versus offered traffic for ALOHA systems. G 86420 0.5 0.4 0.3 0.2 0.1 0 Slotted Aloha Aloha 0.368 0.184 S G 
  • 36. Summary ALOHA is one of the random access protocol implemented at link layer. Chances of collisions are more in pure ALOHA as compared to Slotted ALOHA , but still it is least efficient as compared to other random access protocol such as CSMA(CD/CA). These protocols works efficiently when there are less active nodes. Modified versions of ALOHA are being used in some services such as Mobile Slotted ALOHA[1].
  • 37. References [1] Wikipedia [2] http://www.cse.iitk.ac.in/users/dheeraj/cs425/lec04.html/index.html [3] Data Communication and Networking by Behrouz A Forouzan [4] computer networks and the internet by Ross & Kurose