SlideShare a Scribd company logo
1 of 20
S.VIJAYALAKSHMI M.SC(CS)
NADAR SARASWATHI COLLEGE OF
ARTS AND SCIENCE
THENI
Media Access Control
Multiple access links
There is ‘collision if more than one node sends at the same ime only
one node can send successfully at a time.
 When a "collision" occurs, the signals will get distorted and the frame will be lose
the link bandwidth is wasted during collision
 Question: How to coordinate the access of multiple sending and receiving
nodes to the shared link ?
 Solution: We need a protocol to determine how nodes share channelMedium
Access control (MAC) protocol
 The main task of a MAC protocol is to minimize collisions in order to utilize
the bandwidth by:
Determining when a node can use the link (medium)
What a node should do when the link is busy
What the node should do when it is involved in collision
Channel partitioning MAC protocols:
 Share channel efficiently and fairly at high load
 Inefficient at low load: delay in channel access, 1/N bandwidth
allocated even if only 1 active node!
“Taking turns” protocols
 Eliminates empty slots without causing collisions
 Vulnerable to failures (e.g., failed node or lost token)
Random access MAC protocols
 Efficient at low load: single node can fully utilize channel
 High load: collision overhead
Multiple Access Protocols
Developed in the 1970s for a packet
radio network
Improvement: Start transmission only at
fixed times (slots)
CSMA = Carrier Sense Multiple Access
Improvement: Start transmission only if no
transmission is ongoing
CD = Collision Detection
Improvement: Stop ongoing transmission if
a collision is detected (e.g. Ethernet)
Evolution of Contention Protocols
Slotted
Aloha
CSMA
Aloha
CSMA/CD
ALOHA
Pure ALOHA
 Developed by Abramson in the 1970s for a packet radio network by
Hawaii University.
 Whenever a station has a data, it transmits immediately. 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.
Slotted ALOHA
 Improvement: Time is slotted and a packet can only be transmitted at
the beginning of one slot. Thus, it can reduce the collision duration.
ALOHA
 Mountainous islands – land network difficult to install
 Fully decentralized protocol
 The node waits for an ACK for time-out equals to the maximum
round-trip propagation delay = 2* tprop
Frame Transmission in pure ALOHA
 If the frame is collided (no ACK was received) the stations wait
for a random time and retransmit the frame again.
 ThroughputAnalysis
A frame (red frame) will be in a collision if and only if another
transmission begins in the vulnerable period of the frame
 Vulnerable period has the length of 2 frame times
Frame which collides
with start of red frame
Frame
t0 t0+F
Vulnerable
Period of red frame
Time
Frame which collides
with end of red frame
Vulnerable time- example
 A pure ALOHA network transmits 200-bit frames on a shared channel
of 200 kbps. What is the requirement to make this frame collision-free?
Solution
 Average frame transmission time Tfr is 200 bits/200 kbps or 1 ms. The
vulnerable time is 2 × 1 ms = 2 ms. This means no station should send
later than 1 ms before this station starts transmission and no station
should start sending during the one 1-ms period that this station is
sending.
 For small G: S ≈ G, there is nearly no collision, S is small
because the load is small
 For large G: G >> S, there are many backlogged users, S is
small because there are many collisions
ThroughputAnalysis
SlottedALOHA
 time divided into discrete intervals (1 interval = 1 frame)
 the sending station waits until the beginning of the next discrete
interval
Throughput for slottedALOHA
S=Ge-G
Pure and Slotted ALOHA Throughput
 Simple improvement but big impact
8
0.4
0.3
0.2
0.1
00
SlottedAloha
Aloha
0.368
0.184
G
S
CSMA (Carrier Sense MultipleAccess
 Collisions hurt the efficiency of ALOHA protocol
At best, channel is useful 37% of the time
 CSMA gives improved throughput compared to Aloha protocols.
 CSMA: listen before transmit
If channel sensed idle: transmit entire frame
If channel sensed busy, defer transmission
 Human analogy: don’t interrupt others!
 Collisions can still occur: propagation delay means two nodes may
not hear each other’s transmission
 Collision: entire packet
 transmission time wasted
Kinds of CSMA
Non-persistent
CSMA
CSMA
1-persistent CSMA
Persistent CSMA
p-persistent CSMA
 reduces chance of collisions
 reduces the efficiency
increases the chance for collisions
1-persistan
p-persistent
increase the chance for collisions
Improves efficiency
Nonpersistent vs. persistent
Media Access Control

More Related Content

What's hot (20)

Framing in data link layer
Framing in data link layerFraming in data link layer
Framing in data link layer
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networking
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Transport layer
Transport layer Transport layer
Transport layer
 
Csma
CsmaCsma
Csma
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
 
Mac protocols of adhoc network
Mac protocols of adhoc networkMac protocols of adhoc network
Mac protocols of adhoc network
 
Issues in Data Link Layer
Issues in Data Link LayerIssues in Data Link Layer
Issues in Data Link Layer
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
WLAN
WLANWLAN
WLAN
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
 
Error control
Error controlError control
Error control
 
WIRELESS TRANSMISSION
WIRELESS TRANSMISSIONWIRELESS TRANSMISSION
WIRELESS TRANSMISSION
 
Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
 
Medium access control unit 3-33
Medium access control  unit 3-33Medium access control  unit 3-33
Medium access control unit 3-33
 
Ethernet
EthernetEthernet
Ethernet
 
Routing in Mobile Ad hoc Networks
Routing in Mobile Ad hoc NetworksRouting in Mobile Ad hoc Networks
Routing in Mobile Ad hoc Networks
 

Similar to Media Access Control

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
 
CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfJoshuaeeda1
 
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
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-nsMayur Garg
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-nsMayur Garg
 
Network Topologies
Network TopologiesNetwork Topologies
Network TopologiesJason Hando
 
9 multiple access
9 multiple access9 multiple access
9 multiple accessampas03
 
Unit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdfUnit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdfSmtPArunaKumari
 

Similar to Media Access Control (20)

aloha
alohaaloha
aloha
 
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
 
CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdf
 
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
 
Unit 1 mac vsd
Unit 1 mac vsdUnit 1 mac vsd
Unit 1 mac vsd
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
Mac
MacMac
Mac
 
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
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
 
10 high speedla-ns
10 high speedla-ns10 high speedla-ns
10 high speedla-ns
 
Chapt-06.ppt
Chapt-06.pptChapt-06.ppt
Chapt-06.ppt
 
Network Topologies
Network TopologiesNetwork Topologies
Network Topologies
 
kamalaveni.ppt
kamalaveni.pptkamalaveni.ppt
kamalaveni.ppt
 
9 multiple access
9 multiple access9 multiple access
9 multiple access
 
Unit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdfUnit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdf
 
Mac sub layer
Mac sub layerMac sub layer
Mac sub layer
 
Mac
MacMac
Mac
 

Recently uploaded

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Recently uploaded (20)

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 

Media Access Control

  • 1. S.VIJAYALAKSHMI M.SC(CS) NADAR SARASWATHI COLLEGE OF ARTS AND SCIENCE THENI
  • 2. Media Access Control Multiple access links There is ‘collision if more than one node sends at the same ime only one node can send successfully at a time.
  • 3.  When a "collision" occurs, the signals will get distorted and the frame will be lose the link bandwidth is wasted during collision  Question: How to coordinate the access of multiple sending and receiving nodes to the shared link ?  Solution: We need a protocol to determine how nodes share channelMedium Access control (MAC) protocol  The main task of a MAC protocol is to minimize collisions in order to utilize the bandwidth by: Determining when a node can use the link (medium) What a node should do when the link is busy What the node should do when it is involved in collision
  • 4. Channel partitioning MAC protocols:  Share channel efficiently and fairly at high load  Inefficient at low load: delay in channel access, 1/N bandwidth allocated even if only 1 active node! “Taking turns” protocols  Eliminates empty slots without causing collisions  Vulnerable to failures (e.g., failed node or lost token) Random access MAC protocols  Efficient at low load: single node can fully utilize channel  High load: collision overhead
  • 6. Developed in the 1970s for a packet radio network Improvement: Start transmission only at fixed times (slots) CSMA = Carrier Sense Multiple Access Improvement: Start transmission only if no transmission is ongoing CD = Collision Detection Improvement: Stop ongoing transmission if a collision is detected (e.g. Ethernet) Evolution of Contention Protocols Slotted Aloha CSMA Aloha CSMA/CD
  • 7. ALOHA Pure ALOHA  Developed by Abramson in the 1970s for a packet radio network by Hawaii University.  Whenever a station has a data, it transmits immediately. 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. Slotted ALOHA  Improvement: Time is slotted and a packet can only be transmitted at the beginning of one slot. Thus, it can reduce the collision duration.
  • 8. ALOHA  Mountainous islands – land network difficult to install  Fully decentralized protocol  The node waits for an ACK for time-out equals to the maximum round-trip propagation delay = 2* tprop
  • 9. Frame Transmission in pure ALOHA  If the frame is collided (no ACK was received) the stations wait for a random time and retransmit the frame again.
  • 10.  ThroughputAnalysis A frame (red frame) will be in a collision if and only if another transmission begins in the vulnerable period of the frame  Vulnerable period has the length of 2 frame times Frame which collides with start of red frame Frame t0 t0+F Vulnerable Period of red frame Time Frame which collides with end of red frame
  • 11. Vulnerable time- example  A pure ALOHA network transmits 200-bit frames on a shared channel of 200 kbps. What is the requirement to make this frame collision-free? Solution  Average frame transmission time Tfr is 200 bits/200 kbps or 1 ms. The vulnerable time is 2 × 1 ms = 2 ms. This means no station should send later than 1 ms before this station starts transmission and no station should start sending during the one 1-ms period that this station is sending.
  • 12.  For small G: S ≈ G, there is nearly no collision, S is small because the load is small  For large G: G >> S, there are many backlogged users, S is small because there are many collisions ThroughputAnalysis
  • 13. SlottedALOHA  time divided into discrete intervals (1 interval = 1 frame)  the sending station waits until the beginning of the next discrete interval
  • 15. Pure and Slotted ALOHA Throughput  Simple improvement but big impact 8 0.4 0.3 0.2 0.1 00 SlottedAloha Aloha 0.368 0.184 G S
  • 16. CSMA (Carrier Sense MultipleAccess  Collisions hurt the efficiency of ALOHA protocol At best, channel is useful 37% of the time  CSMA gives improved throughput compared to Aloha protocols.  CSMA: listen before transmit If channel sensed idle: transmit entire frame If channel sensed busy, defer transmission  Human analogy: don’t interrupt others!
  • 17.  Collisions can still occur: propagation delay means two nodes may not hear each other’s transmission  Collision: entire packet  transmission time wasted
  • 18. Kinds of CSMA Non-persistent CSMA CSMA 1-persistent CSMA Persistent CSMA p-persistent CSMA
  • 19.  reduces chance of collisions  reduces the efficiency increases the chance for collisions 1-persistan p-persistent increase the chance for collisions Improves efficiency Nonpersistent vs. persistent