SlideShare a Scribd company logo
1 of 23
Lecture#10
Computer Communications
& Networks CS-576
Multiple Access
2
Random Access
 ALOHA
 Unslotted ALOHA
 Slotted ALOHA
 CSMA (Carrier Sense Multiple Access)
 1 persistence
 Non persistence
 P persistence
 CSMA/CD
 CSMA/CA
3
Random Access Protocols
 When node has packet to send
 transmit at full channel data rate R.
 no a priori coordination among nodes
 Two or more transmitting nodes ➜ “collision”,
 Random Access protocol specifies:
 how to detect collisions
 how to recover from collisions (e.g., via delayed
retransmissions)
4
WHY Random Access
5
 Also called contention methods.
 Two reasons
 There is no scheduled time for a station to
transmit; transmission is random among the
stations. No station is superior than other.
 No rule specifies which station should send
next. Each station has to compete with other
to access the medium.
ALOHA
6
 Also Name as Pure ALOHA , Unslotted ALOHA
ALOHA
● A user transmits whenever it has packets to transmit
● When two or more packet transmissions overlap in time,
a collision occurs and all the packets involved in the
collision are destroyed. (non-capture)
● If ACK not received within timeout, then a user picks
random backoff time (to avoid repeated collision)
● User retransmits packet after backoff time
7
8
Slotted ALOHA
9
Slotted ALOHA
 Time is divided into slots of Tfr s and stations are
forced to send only at the beginning of time slot
 Stations are allowed to send the packet only at the
beginning of time slot for synchronization.
 If a station misses its time slot, it has to wait for the
next slot.
 If two stations try to send the packet at the beginning
of each time slot, then there is a possibility of
collision.
 Slotted ALOHA was invented to improve the
efficiency of Pure ALOHA
10
CSMA
 Carrier sense multiple access (CSMA)
It is a probabilistic media access control (MAC)
protocol in which a node verifies the absence of
other traffic before transmitting on a shared
transmission medium, such as an electrical bus,
or a band of the electromagnetic spectrum.
11
Basic Principle
 Principle: "sense before transmit" or "listen before talk"
 Carrier sense means that a transmitter attempts to determine
whether another transmission is in progress before initiating a
transmission. That is, it tries to detect the presence of a
carrier wave from another node before attempting to transmit.
If a carrier is sensed, the node waits for the transmission in
progress to end before initiating its own transmission.
 Multiple access means that multiple nodes may send and
receive on the medium. Transmissions by one node are
generally received by all other nodes connected to the
medium
12
Protocol Variety
 CSMA with collision detection
 CSMA/CD is used to improve CSMA performance by
terminating transmission as soon as a collision is detected,
thus shortening the time required before a retry can be
attempted.
 CSMA with collision avoidance
• In CSMA/CA collision avoidance is used to improve the
performance of CSMA. If the transmission medium is
sensed busy before transmission, then the transmission is
deferred for a random interval.
13
CSMA/CD
14
CSMA/CA
15
Virtual Time CSMA
Virtual time CSMA
VTCSMA is designed to avoid collision generated by nodes
transmitting signals simultaneously, used mostly in hard real-
time systems. The VTCSMA uses two clocks at every node, a
virtual clock (vc) and a real clock (rc) which tells "real time".
When the transmission medium is sensed to be busy, the vc
freezes, when the transmission medium is free, it is reset.
Hence, calculating vc runs faster than rc when channel is
free, and vc is not initiated when the transmission medium is
busy.
16
CSMA
 Several types of CSMA protocols:
 1-persistent CSMA
 Nonpersistent CSMA
 p-persistent CSMA
17
1-persistent
 Sense the channel
 If busy
 keep listening to the channel and transmit immediately
when the channel becomes idle
 If idle
 Transmit a packet immediately
 If collision occurs:
 Wait a random amount of time and start over again
1-persistent CSMA is used in CSMA/CD systems
including Ethernet.
18
1-persistent
19
Behavior Diagram of 1-persistent
Flow Diagram of 1-persistent
Nonpersistent
 Sense the channel
 If busy
 Wait a random amount of time and sense the channel
again
 If idle
 Transmit a packet immediately
 If collision occurs
 Wait a random amount of time and start all over again
 Merits
 Better channel utilization
 Reduces chances of collision
 Reduces efficiency
20
Nonpersistent
21
Behavior Diagram of Non persistent
Flow Diagram of Nonpersistent
p-persistent
 Applied for slotted channels.
 This is an approach between 1-persistent and non-
persistent CSMA access modes.
 If idle
 It transmits immediately.
 If busy
 It senses the transmission medium continuously until it
becomes idle, then transmits a frame with probability p.
 If the node does not transmit (the probability of this
event is 1-p)
p-persistent CSMA is used in CSMA/CA systems
including Wi-Fi and other packet radio systems.
22
p-persistent
23
Behavior Diagram of p-persistent
Flow Diagram of p-persistent

More Related Content

What's hot

Carrier-sense multiple access with collision avoidance CSMA/CA
Carrier-sense multiple access with collision avoidance CSMA/CACarrier-sense multiple access with collision avoidance CSMA/CA
Carrier-sense multiple access with collision avoidance CSMA/CASoumen Santra
 
Stop and Wait arq
Stop and Wait arqStop and Wait arq
Stop and Wait arqpramodmmrv
 
Comparative Analysis of Different TCP Variants in Mobile Ad-Hoc Network
Comparative Analysis of Different TCP Variants in Mobile Ad-Hoc Network Comparative Analysis of Different TCP Variants in Mobile Ad-Hoc Network
Comparative Analysis of Different TCP Variants in Mobile Ad-Hoc Network partha pratim deb
 
Cse3213 11 flow_errorcontrol_f2010
Cse3213 11 flow_errorcontrol_f2010Cse3213 11 flow_errorcontrol_f2010
Cse3213 11 flow_errorcontrol_f2010namokar
 
Congestion control
Congestion controlCongestion control
Congestion controlAbhay Pai
 
TCP Congestion Control By Owais Jara
TCP Congestion Control By Owais JaraTCP Congestion Control By Owais Jara
TCP Congestion Control By Owais JaraOwaîs Járå
 
Leaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingLeaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingVimal Dewangan
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithmUmesh Gupta
 

What's hot (20)

Carrier-sense multiple access with collision avoidance CSMA/CA
Carrier-sense multiple access with collision avoidance CSMA/CACarrier-sense multiple access with collision avoidance CSMA/CA
Carrier-sense multiple access with collision avoidance CSMA/CA
 
Computer network
Computer networkComputer network
Computer network
 
Stop and Wait arq
Stop and Wait arqStop and Wait arq
Stop and Wait arq
 
Stop-and-Wait ARQ Protocol
Stop-and-Wait ARQ ProtocolStop-and-Wait ARQ Protocol
Stop-and-Wait ARQ Protocol
 
Go Back N Arq1
Go  Back N Arq1Go  Back N Arq1
Go Back N Arq1
 
csma ca
 csma ca csma ca
csma ca
 
Stop And Wait ARQ
Stop And Wait ARQStop And Wait ARQ
Stop And Wait ARQ
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
Ch 11
Ch 11Ch 11
Ch 11
 
aloha
alohaaloha
aloha
 
Comparative Analysis of Different TCP Variants in Mobile Ad-Hoc Network
Comparative Analysis of Different TCP Variants in Mobile Ad-Hoc Network Comparative Analysis of Different TCP Variants in Mobile Ad-Hoc Network
Comparative Analysis of Different TCP Variants in Mobile Ad-Hoc Network
 
Stop and-wait protocol
Stop and-wait protocolStop and-wait protocol
Stop and-wait protocol
 
Tcp congestion avoidance
Tcp congestion avoidanceTcp congestion avoidance
Tcp congestion avoidance
 
Group B Ppt
Group B PptGroup B Ppt
Group B Ppt
 
Analysis of TCP variants
Analysis of TCP variantsAnalysis of TCP variants
Analysis of TCP variants
 
Cse3213 11 flow_errorcontrol_f2010
Cse3213 11 flow_errorcontrol_f2010Cse3213 11 flow_errorcontrol_f2010
Cse3213 11 flow_errorcontrol_f2010
 
Congestion control
Congestion controlCongestion control
Congestion control
 
TCP Congestion Control By Owais Jara
TCP Congestion Control By Owais JaraTCP Congestion Control By Owais Jara
TCP Congestion Control By Owais Jara
 
Leaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingLeaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shaping
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithm
 

Similar to Lecture 10

CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfJoshuaeeda1
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Meenakshi Paul
 
WHAT IS MAC-1 presentation for information .pptx
WHAT IS MAC-1 presentation for information  .pptxWHAT IS MAC-1 presentation for information  .pptx
WHAT IS MAC-1 presentation for information .pptxSaqlainKhan39
 
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
 
csma (BWU-DCS-20-013).pptx
csma (BWU-DCS-20-013).pptxcsma (BWU-DCS-20-013).pptx
csma (BWU-DCS-20-013).pptxSandipPradhan23
 
Computer Network presention Pravin Bhargav , Surykant Ratrey (1).pptx
Computer Network presention  Pravin Bhargav , Surykant Ratrey (1).pptxComputer Network presention  Pravin Bhargav , Surykant Ratrey (1).pptx
Computer Network presention Pravin Bhargav , Surykant Ratrey (1).pptxPravinbhargav
 
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...Soumen Santra
 
Jaimin chp-4 - media access sub-layer- 2011 batch
Jaimin   chp-4 - media access sub-layer- 2011 batchJaimin   chp-4 - media access sub-layer- 2011 batch
Jaimin chp-4 - media access sub-layer- 2011 batchJaimin Jani
 
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 Lecture 10 (20)

CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdf
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
 
WHAT IS MAC-1 presentation for information .pptx
WHAT IS MAC-1 presentation for information  .pptxWHAT IS MAC-1 presentation for information  .pptx
WHAT IS MAC-1 presentation for information .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
 
Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02
 
csma (BWU-DCS-20-013).pptx
csma (BWU-DCS-20-013).pptxcsma (BWU-DCS-20-013).pptx
csma (BWU-DCS-20-013).pptx
 
Computer Network presention Pravin Bhargav , Surykant Ratrey (1).pptx
Computer Network presention  Pravin Bhargav , Surykant Ratrey (1).pptxComputer Network presention  Pravin Bhargav , Surykant Ratrey (1).pptx
Computer Network presention Pravin Bhargav , Surykant Ratrey (1).pptx
 
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
 
tow
towtow
tow
 
Jaimin chp-4 - media access sub-layer- 2011 batch
Jaimin   chp-4 - media access sub-layer- 2011 batchJaimin   chp-4 - media access sub-layer- 2011 batch
Jaimin chp-4 - media access sub-layer- 2011 batch
 
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
 
csmacd.pptx
csmacd.pptxcsmacd.pptx
csmacd.pptx
 
csmacd.pptx
csmacd.pptxcsmacd.pptx
csmacd.pptx
 
Unit 1 mac vsd
Unit 1 mac vsdUnit 1 mac vsd
Unit 1 mac vsd
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
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
 
Mac sub layer
Mac sub layerMac sub layer
Mac sub layer
 
MAC
MACMAC
MAC
 
high speedla-ns
high speedla-nshigh speedla-ns
high speedla-ns
 

More from Anwal Mirza

Training & development
Training & developmentTraining & development
Training & developmentAnwal Mirza
 
Training and dev
Training and devTraining and dev
Training and devAnwal Mirza
 
Testing and selection
Testing and selectionTesting and selection
Testing and selectionAnwal Mirza
 
Strategic planning
Strategic planningStrategic planning
Strategic planningAnwal Mirza
 
Hci scanrio-exercise
Hci scanrio-exerciseHci scanrio-exercise
Hci scanrio-exerciseAnwal Mirza
 
Hci user interface-design principals
Hci user interface-design principalsHci user interface-design principals
Hci user interface-design principalsAnwal Mirza
 
Hci user interface-design principals lec 7
Hci user interface-design principals lec 7Hci user interface-design principals lec 7
Hci user interface-design principals lec 7Anwal Mirza
 
Hci user centered design 11
Hci user centered design 11Hci user centered design 11
Hci user centered design 11Anwal Mirza
 
Hci lec 1 & 2
Hci lec 1 & 2Hci lec 1 & 2
Hci lec 1 & 2Anwal Mirza
 
Hci interace affects the user lec 8
Hci interace affects the user lec 8Hci interace affects the user lec 8
Hci interace affects the user lec 8Anwal Mirza
 
Hci evaluationa frame work lec 14
Hci evaluationa frame work lec 14Hci evaluationa frame work lec 14
Hci evaluationa frame work lec 14Anwal Mirza
 
Hci design collaboration lec 9 10
Hci  design collaboration lec 9 10Hci  design collaboration lec 9 10
Hci design collaboration lec 9 10Anwal Mirza
 

More from Anwal Mirza (20)

Training & development
Training & developmentTraining & development
Training & development
 
Training and dev
Training and devTraining and dev
Training and dev
 
Testing and selection
Testing and selectionTesting and selection
Testing and selection
 
Strategic planning
Strategic planningStrategic planning
Strategic planning
 
Recruitment
RecruitmentRecruitment
Recruitment
 
Job analysis
Job analysisJob analysis
Job analysis
 
Interviewing
Interviewing Interviewing
Interviewing
 
Hrm ppt ch. 01
Hrm ppt ch. 01Hrm ppt ch. 01
Hrm ppt ch. 01
 
Hrm challenges
Hrm challengesHrm challenges
Hrm challenges
 
Firstpage
FirstpageFirstpage
Firstpage
 
Hci scanrio-exercise
Hci scanrio-exerciseHci scanrio-exercise
Hci scanrio-exercise
 
Hci user interface-design principals
Hci user interface-design principalsHci user interface-design principals
Hci user interface-design principals
 
Hci user interface-design principals lec 7
Hci user interface-design principals lec 7Hci user interface-design principals lec 7
Hci user interface-design principals lec 7
 
Hci user centered design 11
Hci user centered design 11Hci user centered design 11
Hci user centered design 11
 
Hci lec 5,6
Hci lec 5,6Hci lec 5,6
Hci lec 5,6
 
Hci lec 4
Hci lec 4Hci lec 4
Hci lec 4
 
Hci lec 1 & 2
Hci lec 1 & 2Hci lec 1 & 2
Hci lec 1 & 2
 
Hci interace affects the user lec 8
Hci interace affects the user lec 8Hci interace affects the user lec 8
Hci interace affects the user lec 8
 
Hci evaluationa frame work lec 14
Hci evaluationa frame work lec 14Hci evaluationa frame work lec 14
Hci evaluationa frame work lec 14
 
Hci design collaboration lec 9 10
Hci  design collaboration lec 9 10Hci  design collaboration lec 9 10
Hci design collaboration lec 9 10
 

Recently uploaded

Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...aditipandeya
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Roomgirls4nights
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一Fs
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一3sw2qly1
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 

Recently uploaded (20)

Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 

Lecture 10

  • 3. Random Access  ALOHA  Unslotted ALOHA  Slotted ALOHA  CSMA (Carrier Sense Multiple Access)  1 persistence  Non persistence  P persistence  CSMA/CD  CSMA/CA 3
  • 4. Random Access Protocols  When node has packet to send  transmit at full channel data rate R.  no a priori coordination among nodes  Two or more transmitting nodes ➜ “collision”,  Random Access protocol specifies:  how to detect collisions  how to recover from collisions (e.g., via delayed retransmissions) 4
  • 5. WHY Random Access 5  Also called contention methods.  Two reasons  There is no scheduled time for a station to transmit; transmission is random among the stations. No station is superior than other.  No rule specifies which station should send next. Each station has to compete with other to access the medium.
  • 6. ALOHA 6  Also Name as Pure ALOHA , Unslotted ALOHA
  • 7. ALOHA ● A user transmits whenever it has packets to transmit ● When two or more packet transmissions overlap in time, a collision occurs and all the packets involved in the collision are destroyed. (non-capture) ● If ACK not received within timeout, then a user picks random backoff time (to avoid repeated collision) ● User retransmits packet after backoff time 7
  • 8. 8
  • 10. Slotted ALOHA  Time is divided into slots of Tfr s and stations are forced to send only at the beginning of time slot  Stations are allowed to send the packet only at the beginning of time slot for synchronization.  If a station misses its time slot, it has to wait for the next slot.  If two stations try to send the packet at the beginning of each time slot, then there is a possibility of collision.  Slotted ALOHA was invented to improve the efficiency of Pure ALOHA 10
  • 11. CSMA  Carrier sense multiple access (CSMA) It is a probabilistic media access control (MAC) protocol in which a node verifies the absence of other traffic before transmitting on a shared transmission medium, such as an electrical bus, or a band of the electromagnetic spectrum. 11
  • 12. Basic Principle  Principle: "sense before transmit" or "listen before talk"  Carrier sense means that a transmitter attempts to determine whether another transmission is in progress before initiating a transmission. That is, it tries to detect the presence of a carrier wave from another node before attempting to transmit. If a carrier is sensed, the node waits for the transmission in progress to end before initiating its own transmission.  Multiple access means that multiple nodes may send and receive on the medium. Transmissions by one node are generally received by all other nodes connected to the medium 12
  • 13. Protocol Variety  CSMA with collision detection  CSMA/CD is used to improve CSMA performance by terminating transmission as soon as a collision is detected, thus shortening the time required before a retry can be attempted.  CSMA with collision avoidance • In CSMA/CA collision avoidance is used to improve the performance of CSMA. If the transmission medium is sensed busy before transmission, then the transmission is deferred for a random interval. 13
  • 16. Virtual Time CSMA Virtual time CSMA VTCSMA is designed to avoid collision generated by nodes transmitting signals simultaneously, used mostly in hard real- time systems. The VTCSMA uses two clocks at every node, a virtual clock (vc) and a real clock (rc) which tells "real time". When the transmission medium is sensed to be busy, the vc freezes, when the transmission medium is free, it is reset. Hence, calculating vc runs faster than rc when channel is free, and vc is not initiated when the transmission medium is busy. 16
  • 17. CSMA  Several types of CSMA protocols:  1-persistent CSMA  Nonpersistent CSMA  p-persistent CSMA 17
  • 18. 1-persistent  Sense the channel  If busy  keep listening to the channel and transmit immediately when the channel becomes idle  If idle  Transmit a packet immediately  If collision occurs:  Wait a random amount of time and start over again 1-persistent CSMA is used in CSMA/CD systems including Ethernet. 18
  • 19. 1-persistent 19 Behavior Diagram of 1-persistent Flow Diagram of 1-persistent
  • 20. Nonpersistent  Sense the channel  If busy  Wait a random amount of time and sense the channel again  If idle  Transmit a packet immediately  If collision occurs  Wait a random amount of time and start all over again  Merits  Better channel utilization  Reduces chances of collision  Reduces efficiency 20
  • 21. Nonpersistent 21 Behavior Diagram of Non persistent Flow Diagram of Nonpersistent
  • 22. p-persistent  Applied for slotted channels.  This is an approach between 1-persistent and non- persistent CSMA access modes.  If idle  It transmits immediately.  If busy  It senses the transmission medium continuously until it becomes idle, then transmits a frame with probability p.  If the node does not transmit (the probability of this event is 1-p) p-persistent CSMA is used in CSMA/CA systems including Wi-Fi and other packet radio systems. 22
  • 23. p-persistent 23 Behavior Diagram of p-persistent Flow Diagram of p-persistent

Editor's Notes

  1. If even a single bit of two frames collide, then both the frames will be destroyed. Only two framed managed to survive; frame 1.1 & frame 3.2.