11-atm

46
Data and Computer Data and Computer Communications Communications Eighth Edition Eighth Edition by William Stallings by William Stallings Lecture slides by Lawrie Lecture slides by Lawrie Brown Brown Chapter 11 – Asynchronous Chapter 11 – Asynchronous Transfer Mode Transfer Mode

Upload: jaher-wasim

Post on 04-Jan-2016

214 views

Category:

Documents


0 download

DESCRIPTION

11-ATM

TRANSCRIPT

Page 1: 11-ATM

Data and Computer Data and Computer CommunicationsCommunications

Eighth EditionEighth Edition

by William Stallingsby William Stallings

Lecture slides by Lawrie BrownLecture slides by Lawrie Brown

Chapter 11 – Asynchronous Transfer Chapter 11 – Asynchronous Transfer ModeMode

Page 2: 11-ATM

Asynchronous Transfer ModeAsynchronous Transfer Mode

One man had a vision of railways that would link all the One man had a vision of railways that would link all the mainline railroad termini. His name was Charles Pearson mainline railroad termini. His name was Charles Pearson and, though born the son of an upholsterer, he became and, though born the son of an upholsterer, he became Solicitor to the city of London. There had previously been a Solicitor to the city of London. There had previously been a plan for gaslit subway streets through which horse-drawn plan for gaslit subway streets through which horse-drawn traffic could pass. This was rejected on the grounds that such traffic could pass. This was rejected on the grounds that such sinister tunnels would become lurking places for thieves. sinister tunnels would become lurking places for thieves. Twenty years before his system was built, Pearson envisaged a Twenty years before his system was built, Pearson envisaged a line running through "a spacious archway," well-lit and well-line running through "a spacious archway," well-lit and well-ventilated.ventilated.

His was a scheme for trains in a drain.His was a scheme for trains in a drain.

—King Solomon's Carpet, Barbara Vine (Ruth Rendell)

Page 3: 11-ATM

WAN Packet Switching Tech.WAN Packet Switching Tech.

X.21

LAPB

X.25

X.21

LAPB

X.21

LAPB

X.25

X.21

LAPB

X.21

LAPB

X.21

LAPBX.25

FR

PHY

LAPFPHY

LAPF

PHYLAPF

PHY

LAPF

PHY

LAPF

PHY

LAPF

ATM

PHY

ATMPHY

ATM

PHYATM

PHY

ATM

PHY

ATM

PHY

ATM

AAL AAL

U-plane

U-planeC-plane

U-planeC-planeM-plane

Page 4: 11-ATM

ATMATM

a streamlined packet transfer interfacea streamlined packet transfer interface similarities to packet switchingsimilarities to packet switching

transfers data in discrete chunkstransfers data in discrete chunks supports multiple logical connections over a supports multiple logical connections over a

single physical interfacesingle physical interface ATM uses fixed sized packets called cellsATM uses fixed sized packets called cells with minimal error and flow controlwith minimal error and flow control data rates of 25.6Mbps to 622.08Mbpsdata rates of 25.6Mbps to 622.08Mbps

Page 5: 11-ATM

Protocol ArchitectureProtocol Architecture

Page 6: 11-ATM

Reference Model PlanesReference Model Planes

user planeuser plane provides for user information transferprovides for user information transfer

control planecontrol plane call and connection controlcall and connection control

management planemanagement plane plane managementplane management

• whole system functionswhole system functions layer managementlayer management

• Resources and parameters in protocol entitiesResources and parameters in protocol entities

Page 7: 11-ATM

ATM Logical ConnectionsATM Logical Connections

virtual channel connections (VCC)virtual channel connections (VCC) analogous to virtual circuit in X.25analogous to virtual circuit in X.25

basic unit of switching between two end usersbasic unit of switching between two end users full duplexfull duplex fixed size cellsfixed size cells

also for also for user-network exchange (control) user-network exchange (control) network-network exchange (network mgmt & routing)network-network exchange (network mgmt & routing)

Page 8: 11-ATM

ATM Virtual Path ConnectionATM Virtual Path Connection

virtual path connection (VPC)virtual path connection (VPC) bundle of VCC with same end pointsbundle of VCC with same end points

Page 9: 11-ATM

Virtual Channel TerminologyVirtual Channel Terminology

Page 10: 11-ATM

Virtual Path TerminologyVirtual Path Terminology

VPI

Page 11: 11-ATM

VP/VC SwitchingVP/VC Switching -1 -1

VPI 1

VPI 2

VPI 3

VPI 4

VCI 1VCI 2VCI 3

VCI 1VCI 2VCI 3

VCI 1VCI 2VCI 3

VCI 1VCI 2VCI 3

VPI 1

VPI 2

VPI 4

VPI 5

VCI 1VCI 2VCI 3

VCI 1VCI 2VCI 3

VCI 1VCI 2VCI 3

VCI 1VCI 2

VCI 4

VPI 3VCI 3VCI 4

Page 12: 11-ATM

VP/VC SwitchingVP/VC Switching -2 -2

Page 13: 11-ATM

Advantages of Virtual PathsAdvantages of Virtual Paths

simplified network architecturesimplified network architecture increased network performance and increased network performance and

reliabilityreliability reduced processingreduced processing short connection setup timeshort connection setup time enhanced network servicesenhanced network services

Page 14: 11-ATM

Call Call EstablishEstablish

ment ment Using VPsUsing VPs

Page 15: 11-ATM

Virtual Channel Connection UsesVirtual Channel Connection Uses between end usersbetween end users

end to end user dataend to end user data control signalscontrol signals VPC provides overall capacityVPC provides overall capacity

• VCC organization done by usersVCC organization done by users

between end user and networkbetween end user and network control signalingcontrol signaling

between network entitiesbetween network entities network traffic managementnetwork traffic management routing for the exchange of network routing for the exchange of network

management informationmanagement information

Page 16: 11-ATM

VP/VC CharacteristicsVP/VC Characteristics quality of servicequality of service: : cell loss ratio, cell delay cell loss ratio, cell delay

variationvariation switched and semi-permanent channel switched and semi-permanent channel

connectionsconnections call sequence integritycall sequence integrity traffic parameter negotiation and usage traffic parameter negotiation and usage

monitoringmonitoring

VPC onlyVPC only virtual channel identifier restriction within VPCvirtual channel identifier restriction within VPC

Page 17: 11-ATM

Control Signaling - VCCControl Signaling - VCC

to establish or release VCCs & VPCs to establish or release VCCs & VPCs uses a separate connectionuses a separate connection methods are:methods are:

1.1. semi-permanent VCCsemi-permanent VCC

2.2. meta-signaling channelmeta-signaling channel

3.3. user to network signaling virtual channeluser to network signaling virtual channel

4.4. user to user signaling virtual channeluser to user signaling virtual channel

Page 18: 11-ATM

Control Signaling - VPCControl Signaling - VPC

methods for control signalling for VPCs:methods for control signalling for VPCs:1.1. Semi-permanentSemi-permanent

2.2. Customer controlledCustomer controlled

3.3. Network controlledNetwork controlled

Page 19: 11-ATM

ATM CellsATM Cells

Page 20: 11-ATM

ATM Header FieldsATM Header Fields

generic flow controlgeneric flow control Virtual path identifierVirtual path identifier Virtual channel identifierVirtual channel identifier payload typepayload type cell loss prioritycell loss priority header error controlheader error control

Page 21: 11-ATM

Generic Flow Control (GFC)Generic Flow Control (GFC) control traffic flow at user to network interface control traffic flow at user to network interface

(UNI) to alleviate short term overload(UNI) to alleviate short term overload two sets of procedurestwo sets of procedures

uncontrolled transmissionuncontrolled transmission controlled transmissioncontrolled transmission

every connection subject to flow control or notevery connection subject to flow control or not if subject to flow controlif subject to flow control

may be one group (A) defaultmay be one group (A) default may be two groups (A and B)may be two groups (A and B)

flow control is from subscriber to networkflow control is from subscriber to network

Page 22: 11-ATM

GFC - Single Group of GFC - Single Group of ConnectionsConnections

1.1. If If TRANSMIT=1TRANSMIT=1 send send uncontrolled cellsuncontrolled cells any any time. If TRANSMIT=0 no cells may be senttime. If TRANSMIT=0 no cells may be sent

2.2. If If HALT received, TRANSMIT=0HALT received, TRANSMIT=0 until until NO_HALTNO_HALT

3.3. If TRANSMIT=1 & no uncontrolled cell to send:If TRANSMIT=1 & no uncontrolled cell to send:1.1. If If GO_CNTR>0GO_CNTR>0, TE may send controlled cell and , TE may send controlled cell and

decrement GO_CNTRdecrement GO_CNTR

2.2. If GO_CNTR=0, TE may not send controlled cellsIf GO_CNTR=0, TE may not send controlled cells

4.4. TE sets GO_CNTR to TE sets GO_CNTR to GO_VALUEGO_VALUE upon upon receiving receiving SET signalSET signal

Page 23: 11-ATM

Use of HALTUse of HALT

to limit effective data rate on ATMto limit effective data rate on ATM should be cyclicshould be cyclic to reduce data rate by half, HALT issued to reduce data rate by half, HALT issued

to be in effect 50% of timeto be in effect 50% of time done on regular pattern over lifetime of done on regular pattern over lifetime of

connectionconnection

Page 24: 11-ATM

Two Queue ModelTwo Queue Model

uses two counters each with current & uses two counters each with current & initial values:initial values: GO_CNTR_AGO_CNTR_A GO_VALUE_AGO_VALUE_A GO_CNTR_BGO_CNTR_B GO_VALUE_BGO_VALUE_B

Page 25: 11-ATM

GFC Field CodingGFC Field CodingTwo directionsTwo directions

Flow control is exercised in the direction from the Flow control is exercised in the direction from the subscriber to the network by the network sidesubscriber to the network by the network side

Page 26: 11-ATM

Payload Type (PT) CodingPayload Type (PT) Coding

Page 27: 11-ATM

Header Error ControlHeader Error Control

Page 28: 11-ATM

Effect of Effect of Error in Error in

Cell Cell HeaderHeader

Page 29: 11-ATM

Impact of Random Bit ErrorsImpact of Random Bit Errors on HEC Performanceon HEC Performance

Page 30: 11-ATM

Transmission of ATM CellsTransmission of ATM Cells

I.432 specifies several data rates:I.432 specifies several data rates: 622.08Mbps622.08Mbps 155.52Mbps155.52Mbps 51.84Mbps51.84Mbps 25.6Mbps25.6Mbps

two choices of transmission structure:two choices of transmission structure: Cell based physical layerCell based physical layer SDH based physical layerSDH based physical layer

Page 31: 11-ATM

Cell Based Physical LayerCell Based Physical Layer

no framing imposedno framing imposed continuous stream of 53 octet cellscontinuous stream of 53 octet cells cell delineation based on header error cell delineation based on header error

control fieldcontrol field

Page 32: 11-ATM

Cell Delineation State Cell Delineation State DiagramDiagram

Page 33: 11-ATM

Impact of Random Bit Errors Impact of Random Bit Errors on Cell Delineation on Cell Delineation

PerformancePerformance

Page 34: 11-ATM

Acquisition Time v Bit Error Acquisition Time v Bit Error RateRate

Page 35: 11-ATM

SDH Based Physical LayerSDH Based Physical Layer

imposes structure on ATM streamimposes structure on ATM stream e.g. for 155.52Mbpse.g. for 155.52Mbps use STM-1 (STS-3) frameuse STM-1 (STS-3) frame

can carry ATM and STM payloadscan carry ATM and STM payloads specific connections can be circuit specific connections can be circuit

switched using SDH channelswitched using SDH channel SDH multiplexing techniques can combine SDH multiplexing techniques can combine

several ATM streamsseveral ATM streams

Page 36: 11-ATM

STM-1 Payload for SDH-STM-1 Payload for SDH-Based ATM Cell TransmissionBased ATM Cell Transmission

Page 37: 11-ATM

ATM Service CategoriesATM Service Categories

Real time - limit amount/variation of delayReal time - limit amount/variation of delay Constant bit rate (CBR)Constant bit rate (CBR) Real time variable bit rate (rt-VBR)Real time variable bit rate (rt-VBR)

Non-real time - for bursty trafficNon-real time - for bursty traffic Non-real time variable bit rate (nrt-VBR)Non-real time variable bit rate (nrt-VBR) Available bit rate (ABR)Available bit rate (ABR) Unspecified bit rate (UBR)Unspecified bit rate (UBR) Guaranteed frame rate (GFR)Guaranteed frame rate (GFR)

Page 38: 11-ATM

Constant Bit Rate (CBR)Constant Bit Rate (CBR)

fixed data rate continuously availablefixed data rate continuously available tight upper bound on delaytight upper bound on delay uncompressed audio and videouncompressed audio and video

video conferencingvideo conferencing interactive audiointeractive audio A/V distribution and retrievalA/V distribution and retrieval

Page 39: 11-ATM

Real-Time Variable Bit RateReal-Time Variable Bit Rate(rt-VBR)(rt-VBR)

for time sensitive applicationsfor time sensitive applications tightly constrained delay and delay variationtightly constrained delay and delay variation

rt-VBR applications transmit data at a rate that rt-VBR applications transmit data at a rate that varies with timevaries with time e.g. compressed video e.g. compressed video produces varying sized image framesproduces varying sized image frames original (uncompressed) frame rate constantoriginal (uncompressed) frame rate constant so compressed data rate variesso compressed data rate varies

hence can statistically multiplex connectionshence can statistically multiplex connections

Page 40: 11-ATM

Non-Real-Time Variable Bit Rate Non-Real-Time Variable Bit Rate (nrt-VBR)(nrt-VBR)

if can characterize expected bursty traffic flowif can characterize expected bursty traffic flow e.g. airline reservations, banking transactionse.g. airline reservations, banking transactions

ATM net allocates resources based on thisATM net allocates resources based on this to meet critical response-time requirementsto meet critical response-time requirements

giving improved QoS in loss and delaygiving improved QoS in loss and delay end system specifies:end system specifies:

peak cell rate peak cell rate sustainable or average rate sustainable or average rate measure of how bursty traffic ismeasure of how bursty traffic is

Page 41: 11-ATM

Available Bit Rate (ABR)Available Bit Rate (ABR)

application specifies application specifies peak cell ratepeak cell rate (PCR) (PCR) and and minimum cell rateminimum cell rate (MCR) (MCR)

resources allocated to give at least MCRresources allocated to give at least MCR spare capacity shared among all ABR spare capacity shared among all ABR

sourcessources e.g. LAN interconnectione.g. LAN interconnection

Page 42: 11-ATM

Unspecified Bit Rate (UBR)Unspecified Bit Rate (UBR)

may be additional capacity over and above that may be additional capacity over and above that used by CBR and VBR trafficused by CBR and VBR traffic not all resources dedicated to CBR/VBR trafficnot all resources dedicated to CBR/VBR traffic unused cells due to bursty nature of VBRunused cells due to bursty nature of VBR

for application that can tolerate some cell loss or for application that can tolerate some cell loss or variable delaysvariable delays e.g. TCP based traffice.g. TCP based traffic

cells forwarded on FIFO basiscells forwarded on FIFO basis best effortbest effort service service

Page 43: 11-ATM

ATM Bit Rate ServicesATM Bit Rate Services

Page 44: 11-ATM

Summary of ATMSummary of ATM 3-plane high-speed cell switching3-plane high-speed cell switching

Virtual Circuit in ATM layerVirtual Circuit in ATM layer 2-layered VC: VPI + VCI2-layered VC: VPI + VCI

Controls left in ATMControls left in ATM Generic Flow Control (User-Network Generic Flow Control (User-Network

Interface) Interface) Congestion ControlCongestion Control

Concept of Quality-of-Service (QoS)Concept of Quality-of-Service (QoS) QoS parameters + Traffic parametersQoS parameters + Traffic parameters

Page 45: 11-ATM

Summary of ATM ServicesSummary of ATM Services

QoS partQoS part Traffic partTraffic part

Tight delay boundTight delay bound Fixed data rateFixed data rateCBRCBR

rt-VBRrt-VBR

ABRABR

UBRUBR

nrt-VBRnrt-VBR

Tightly constrained Tightly constrained delay & delay variationdelay & delay variation

Peak/Avg. cell rate, Peak/Avg. cell rate, traffic burstinesstraffic burstiness

Improved QoS in loss Improved QoS in loss and delayand delay

Peak/Avg. cell rate, Peak/Avg. cell rate, traffic burstinesstraffic burstiness

Peak/Min. cell ratePeak/Min. cell rateSpare capacity shared Spare capacity shared among all ABR sourcesamong all ABR sources

Tolerate some cell loss Tolerate some cell loss or variable delays, BEor variable delays, BE

UnspecifiedUnspecified

Page 46: 11-ATM

SummarySummary

Asynchronous Transfer Mode (ATM)Asynchronous Transfer Mode (ATM) architecture & logical connectionsarchitecture & logical connections ATM Cell formatATM Cell format transmission of ATM cellstransmission of ATM cells ATM servicesATM services