1 ethernet cse 3213 fall 2011 24 february 2016. introduction rapid changes in technology designs...
DESCRIPTION
Characteristics of Some High- Speed LANs 3TRANSCRIPT
![Page 1: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/1.jpg)
1
Ethernet
CSE 3213Fall 2011
May 6, 2023
![Page 2: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/2.jpg)
Introduction• Rapid changes in technology designs• Broader use of LANs• New schemes for high-speed LANs• High-speed LAN technologies:
—Fast and gigabit Ethernet—Fiber channel—High speed wireless LANs
2
![Page 3: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/3.jpg)
Characteristics of Some High-Speed LANs
3
![Page 4: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/4.jpg)
4
Ethernet (CSMA/CD)• Medium access control: Carrier Sense
Multiple Access with Collision Detection• Xerox - Ethernet• IEEE 802.3
![Page 5: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/5.jpg)
CSMA/CD Precursors
5
![Page 6: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/6.jpg)
6
ALOHA• Developed for packet radio networks.• When station has frame, it sends.• Station listens (for max round trip time) plus small
increment.• If ACK, fine. If not, retransmit.• If no ACK after repeated transmissions, give up.• Frame check sequence (as in HDLC).• If frame OK and address matches receiver, send ACK.• Frame may be damaged by noise or by another
station transmitting at the same time (collision).• Any overlap of frames causes collision.• Max utilization 18%.
![Page 7: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/7.jpg)
7
Slotted ALOHA• Time in uniform slots equal to frame
transmission time.• Need central clock (or other sync
mechanism).• Transmission begins at slot boundary.• Frames either miss or overlap totally.• Max utilization 37%.
![Page 8: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/8.jpg)
8
CSMA• Propagation time is much less than transmission
time.—All stations know that a transmission has started almost
immediately.
• First listen for clear medium (“carrier sense”).• If medium idle, transmit.• If two stations start at the same instant, collision.• Wait reasonable time (round trip plus ACK
contention).• No ACK then retransmit.
![Page 9: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/9.jpg)
CSMA (2)• Utilization far exceeds ALOHA.• Max utilization depends on propagation time
(medium length) and frame length.— Longer frame and shorter propagation gives better utilization.
• First listen for clear medium (“carrier sense”).• If medium idle, transmit.• If medium is busy, wait for idle then transmit.— This is called 1-persistent CSMA. Stations are selfish.• If two or more stations waiting, collision guaranteed.— Gets sorted out after collision.
9
![Page 10: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/10.jpg)
10
Nonpersistent CSMA1. If medium is idle, transmit.2. If medium is busy, wait amount of time drawn from
probability distribution (retransmission delay) and repeat 1.
• Random delays reduces probability of collisions.— Consider two stations become ready to transmit at same
time • While another transmission is in progress.
— If both stations delay same time before retrying, both will attempt to transmit at same time.
• Capacity is wasted because medium will remain idle following end of transmission.— Even if one or more stations waiting.
• Nonpersistent stations are deferential.
![Page 11: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/11.jpg)
11
p-persistent CSMA• Compromise that attempts to reduce collisions.
— Like nonpersistent• And reduce idle time.
— Like 1-persistent• Rules:1. If medium idle, transmit with probability p, and delay
one time unit with probability (1 – p).— Time unit typically maximum propagation delay.
2. If medium busy, listen until idle and repeat step 1.3. If transmission is delayed one time unit, repeat step
1.• What is an effective value of p?
![Page 12: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/12.jpg)
12
Value of p?• To avoid instability under heavy load.• Assume n stations waiting to send.• At the end of a transmission, the expected number of stations
attempting to transmit is np.— n = number of stations ready to transmit— p = probability of transmitting
• If np > 1 on average there will be a collision.• Repeated attempts to transmit almost guarantee more
collisions.• Retries compete with new transmissions.• Eventually, all stations will try to send.
— Continuous collisions; zero throughput• So we want np < 1 for expected peaks of n.• If heavy load expected, p should be small.• However, as p is made smaller, stations will wait longer.• At low loads, this gives very long delays.
![Page 13: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/13.jpg)
13
CSMA/CD• With CSMA, collision occupies medium for
duration of transmission capacity wasted.• To reduce this waste, stations continue to
listen to medium while transmitting.• Use CSMA/CD (see next slide).
• Important rule: frames should be long enough to allow collision detection prior to the end of transmission.
— Shorter frames: collision detection does not occur.— CSMA/CD performance same as CSMA.
![Page 14: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/14.jpg)
Description of CSMA/CD
![Page 15: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/15.jpg)
15
CSMA/CDOperation
![Page 16: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/16.jpg)
16
Which Persistence Algorithm?• IEEE 802.3 uses 1-persistent.• Nonpersistent: capacity wasted.• p-persistent: low p to avoid instability under high
loads, but will cause long delays under light loads.• 1-persistent (p = 1) seems more unstable than p-
persistent due to the greed of the stations.• But wasted time due to collisions is short (if
frames are long relative to propagation delay).• With random backoff, unlikely to collide on next
tries.• To ensure backoff maintains stability, IEEE 802.3
and Ethernet use binary exponential backoff.
![Page 17: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/17.jpg)
17
Binary Exponential Backoff• Attempt to transmit repeatedly if repeated collisions• First 10 attempts, mean value of random delay doubled• Value then remains the same for 6 further attempts• After 16 unsuccessful attempts, station gives up and
reports error• As congestion increases, stations back off by larger
amounts to reduce the probability of collision.• 1-persistent algorithm with binary exponential backoff
efficient over wide range of loads—Low loads, 1-persistence guarantees station can seize channel
once idle—High loads, at least as stable as other techniques
• Backoff algorithm gives last-in, first-out effect—Stations with no or few collisions transmit first
![Page 18: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/18.jpg)
18
Ethernet MAC Summary• Random Access
— Stations access medium randomly• Contention
—Stations content for time on medium• CSMA/CD with
—1-persistent—binary exponential backoff
![Page 19: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/19.jpg)
Collision Detection
![Page 20: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/20.jpg)
IEEE 802.3 MAC Frame Format
![Page 21: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/21.jpg)
10-Mbps Ethernet Specifications
![Page 22: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/22.jpg)
22
High Speed Ethernet (16.2)• 100-Mbps (Fast Ethernet)• Gigabit Ethernet• 10-Gbps Ethernet• 40-Gbps Ethernet• 100-Gbps Ethernet
![Page 23: 1 Ethernet CSE 3213 Fall 2011 24 February 2016. Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed](https://reader035.vdocument.in/reader035/viewer/2022081514/5a4d1b897f8b9ab0599bddba/html5/thumbnails/23.jpg)
Reading• Chapter 16, Stallings’ book• Assigned reading: Section 16.2 High
Speed Ethernet
23