DOC PREVIEW
U of I CS 438 - Multiple Access

This preview shows page 1-2-3-19-20-38-39-40 out of 40 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Multiple AccessSlide 2Shared MediaMultiple Access protocolsChannel PartitioningComputer Network CharacteristicsIdeal Multiple Access ProtocolRandom Access ProtocolsSlotted ALOHASlide 10Slotted Aloha efficiencyOptimal choice of pPure (unslotted) ALOHAPure Aloha efficiencyCarrier Sense Multiple AccessCSMA collisionsCSMA/CD (Collision Detection)CSMA/CD collision detectionEthernetEthernet TopologiesEthernet ConnectivitySlide 22Slide 23Ethernet Frame StructureEthernet Frame Structure (more)Ethernet SpecificationsEthernet MAC AlgorithmCollisionsCollision DetectionSlide 30RetransmissionBinary Exponential BackoffSlide 33CSMA/CD efficiencyFrame ReceptionCollision Detection Techniques: Bus TopologyCollision Detection Techniques: Hub Topology10Mbps Ethernet Media100Mbps Ethernet MediaEthernet in PracticeMultiple AccessReadings: Peterson & Davie, 2.6.2, 2.7, 2.8.2Multiple AccessMultiple hosts sharing the same mediumWhat are the new problems?Shared MediaEthernet busRadio channelToken ring network…Multiple Access protocolsSingle shared broadcast channel Two or more simultaneous transmissions by nodes: interference Collision if node receives two or more signals at the same timeMultiple Access ProtocolDistributed algorithm that determines how nodes share channel, i.e., determine when node can transmitCommunication about channel sharing must use channel itself! No out-of-band channel for coordinationChannel PartitioningFrequency Division MultiplexingEach node has a frequency bandTime Division MultiplexingEach node has a series of fixed time slotsWhat networks are these good for?Computer Network CharacteristicsTransmission needs varyBetween different nodesOver timeNetwork is not fully utilizedIdeal Multiple Access ProtocolBroadcast channel of rate R bps1. When one node wants to transmit, it can send at rate R.2. When M nodes want to transmit, each can send at average rate R/M3. Fully decentralized:no special node to coordinate transmissionsno synchronization of clocks, slots4. SimpleRandom 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 MAC protocol specifies: how to detect collisionshow to recover from collisions (e.g., via delayed retransmissions)Examples of random access MAC protocols:slotted ALOHAALOHACSMA, CSMA/CD, CSMA/CASlotted ALOHAAssumptionsall frames same sizetime is divided into equal size slots, time to transmit 1 framenodes start to transmit frames only at beginning of slotsnodes are synchronizedif 2 or more nodes transmit in slot, all nodes detect collisionOperationwhen node obtains fresh frame, it transmits in next slotno collision, node can send new frame in next slotif collision, node retransmits frame in each subsequent slot with prob. p until successSlotted ALOHAProssingle active node can continuously transmit at full rate of channelhighly decentralized: only slots in nodes need to be in syncsimpleConscollisions, wasting slotsidle slotsnodes may be able to detect collision in less than time to transmit packetclock synchronizationSlotted Aloha efficiencyEfficiency is the long-run fraction of successful slots when there are many nodes, each with many frames to sendSuppose N nodes with many frames to send, each transmits in slot with probability pprob that node 1 has success in a slot = p(1-p)N-1prob that any node has a success = Np(1-p)N-1Optimal choice of p For max efficiency with N nodes, find p* that maximizes Np(1-p)N-1For many nodes, take limit of Np*(1-p*)N-1 as N goes to infinity, gives 1/e = .37Efficiency is 37%, even with optimal pPure (unslotted) ALOHAunslotted Aloha: simpler, no synchronizationwhen frame first arrives transmit immediately collision probability increases:frame sent at t0 collides with other frames sent in [t0-1,t0+1]Pure Aloha efficiencyP(success by given node) = P(node transmits) . P(no other node transmits in [t0-1,t0] . P(no other node transmits in [t0,t0+1] = p . (1-p)N-1 . (1-p)N-1 = p . (1-p)2(N-1) … choosing optimum p and then letting n ->  ... Efficiency = 1/(2e) = .18 Even worse !Carrier Sense Multiple AccessCSMA: listen before transmit:If channel sensed idle: transmit entire frameIf channel sensed busy, defer transmission Human analogy: don’t interrupt others!CSMA collisionscollisions can still occur:propagation delay means two nodes may not heareach other’s transmissioncollision:entire packet transmission time wastednote:role of distance & propagation delay in determining collision probabilityCSMA/CD (Collision Detection)CSMA/CD: carrier sensing, deferral as in CSMAcollisions detected within short timecolliding transmissions aborted, reducing channel wastage collision detection: easy in wired LANs: measure signal strengths, compare transmitted, received signalsdifficult in wireless LANs: receiver shut off while transmittinghuman analogy: the polite conversationalistCSMA/CD collision detectionEthernetdominant wired LAN technology: cheap $20 for 100Mbs!first widely used LAN technologySimpler, cheaper than token LANs and ATMKept up with speed race: 10 Mbps – 10 Gbps Metcalfe’s EthernetsketchEthernet TopologiesBus Topology: SharedAll nodes connected to a wireStar Topology: All nodes connected to a central repeaterEthernet Connectivity10Base5 – ThickNet< 500mControllerVampire TapTransceiverBus TopologyEthernet Connectivity10Base2 – ThinNet< 200mControllerBNC T-JunctionTransceiverBus TopologyEthernet Connectivity10BaseT< 100mControllerStar TopologyEthernet Frame StructureSending adapter encapsulates IP datagram (or other network layer protocol packet) in Ethernet framePreamble: 7 bytes with pattern 10101010 followed by one byte with pattern 10101011Used to synchronize receiver, sender clock rates (Manchester encoding)Ethernet Frame Structure (more)Addresses: 6 bytesif adapter receives frame with matching destination address, or with broadcast address (eg ARP packet), it passes data in frame to net-layer protocolotherwise, adapter discards frameType: indicates the higher layer protocol (mostly IP but others may be supported such as Novell IPX and AppleTalk)CRC: checked at receiver, if error is detected, the frame is simply


View Full Document

U of I CS 438 - Multiple Access

Documents in this Course
Routing

Routing

5 pages

TCP

TCP

26 pages

TROLL

TROLL

3 pages

Load more
Download Multiple Access
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Multiple Access and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Multiple Access 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?