chapter 13 traffic and congestion control in atm networks 1 chapter 13 traffic and congestion...

87
Chapter 13 Traffic and Congestion Control in ATM Ne tworks 1 Chapter 13 Chapter 13 Traffic and Congestion Control in ATM Networks

Upload: samuel-newman

Post on 16-Dec-2015

236 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks1

Chapter 13Chapter 13Traffic and Congestion Control in ATM Networks

Page 2: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks2

IntroductionIntroduction

Control needed to prevent switch buffer overflow

High speed and small cell size gives different problems from other networks

Limited number of overhead bitsITU-T specified restricted initial set

– I.371ATM forum Traffic Management

Specification 41

Page 3: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks3

OverviewOverview

Congestion problem Framework adopted by ITU-T and ATM forum

– Control schemes for delay sensitive traffic Voice & video

– Not suited to bursty traffic– Traffic control– Congestion control

Bursty traffic– Available Bit Rate (ABR)– Guaranteed Frame Rate (GFR)

Page 4: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks4

Requirements for ATM Traffic Requirements for ATM Traffic and Congestion Controland Congestion ControlMost packet switched and frame relay

networks carry non-real-time bursty data– No need to replicate timing at exit node– Simple statistical multiplexing– User Network Interface capacity slightly

greater than average of channelsCongestion control tools from these

technologies do not work in ATM

Page 5: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks5

Problems with ATM Congestion Problems with ATM Congestion ControlControl Most traffic not amenable to flow control

– Voice & video can not stop generating Feedback slow

– Small cell transmission time v propagation delay Wide range of applications

– From few kbps to hundreds of Mbps– Different traffic patterns– Different network services

High speed switching and transmission– Volatile congestion and traffic control

Page 6: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks6

Key Performance Issues-Key Performance Issues-Latency/Speed EffectsLatency/Speed Effects

E.g. data rate 150Mbps Takes (53 x 8 bits)/(150 x 106) =2.8 x 10-6 seconds to

insert a cell Transfer time depends on number of intermediate

switches, switching time and propagation delay. Assuming no switching delay and speed of light propagation, round trip delay of 48 x 10-3 sec across USA

A dropped cell notified by return message will arrive after source has transmitted N further cells

N=(48 x 10-3 seconds)/(2.8 x 10-6 seconds per cell) =1.7 x 104 cells = 7.2 x 106 bits i.e. over 7 Mbits

Page 7: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks7

Key Performance Issues-Key Performance Issues-Cell Delay VariationCell Delay Variation

For digitized voice delay across network must be small Rate of delivery must be constant Variations will occur Dealt with by Time Reassembly of CBR cells (see next

slide) Results in cells delivered at CBR with occasional gaps

due to dropped cells Subscriber requests minimum cell delay variation from

network provider– Increase data rate at UNI relative to load– Increase resources within network

Page 8: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks8

Time Reassembly of CBR CellsTime Reassembly of CBR Cells

Page 9: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks9

Network Contribution to Cell Network Contribution to Cell Delay VariationDelay Variation In packet switched network

– Queuing effects at each intermediate switch– Processing time for header and routing

Less for ATM networks– Minimal processing overhead at switches

Fixed cell size, header format No flow control or error control processing

– ATM switches have extremely high throughput– Congestion can cause cell delay variation

Build up of queuing effects at switches Total load accepted by network must be controlled

Page 10: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks10

Cell Delay Variation at UNICell Delay Variation at UNI

Caused by processing in three layers of ATM model– See next slide for details

None of these delays can be predictedNone follow repetitive patternSo, random element exists in time interval

between reception by ATM stack and transmission

Page 11: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks11

Origins of Cell Delay VariationOrigins of Cell Delay Variation

Page 12: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks12

ATM Traffic-Related AttributesATM Traffic-Related Attributes

Six service categories (see chapter 5)– Constant bit rate (CBR)– Real time variable bit rate (rt-VBR)– Non-real-time variable bit rate (nrt-VBR)– Unspecified bit rate (UBR)– Available bit rate (ABR)– Guaranteed frame rate (GFR)

Characterized by ATM attributes in four categories– Traffic descriptors– QoS parameters– Congestion– Other

Page 13: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks13

ATM Service Category ATM Service Category AttributesAttributes

Page 14: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks14

Traffic ParametersTraffic Parameters

Traffic pattern of flow of cells– Intrinsic nature of traffic

Source traffic descriptor

– Modified inside networkConnection traffic descriptor

Page 15: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks15

Source Traffic Descriptor (1)Source Traffic Descriptor (1) Peak cell rate

– Upper bound on traffic that can be submitted

– Defined in terms of minimum spacing between cells T

– PCR = 1/T

– Mandatory for CBR and VBR services Sustainable cell rate

– Upper bound on average rate

– Calculated over large time scale relative to T

– Required for VBR

– Enables efficient allocation of network resources between VBR sources

– Only useful if SCR < PCR

Page 16: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks16

Source Traffic Descriptor (2)Source Traffic Descriptor (2)

Maximum burst size– Max number of cells that can be sent at PCR– If bursts are at MBS, idle gaps must be enough to keep overall rate

below SCR– Required for VBR

Minimum cell rate– Min commitment requested of network– Can be zero– Used with ABR and GFR– ABR & GFR provide rapid access to spare network capacity up to

PCR– PCR – MCR represents elastic component of data flow– Shared among ABR and GFR flows

Page 17: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks17

Source Traffic Descriptor (3)Source Traffic Descriptor (3)

Maximum frame size

– Max number of cells in frame that can be carried over GFR connection

– Only relevant in GFR

Page 18: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks18

Connection Traffic DescriptorConnection Traffic Descriptor

Includes source traffic descriptor plus:- Cell delay variation tolerance

– Amount of variation in cell delay introduced by network interface and UNI

– Bound on delay variability due to slotted nature of ATM, physical layer overhead and layer functions (e.g. cell multiplexing)

– Represented by time variable τ Conformance definition

– Specify conforming cells of connection at UNI– Enforced by dropping or marking cells over definition

Page 19: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks19

Quality of Service Parameters-Quality of Service Parameters-maxCTDmaxCTD Cell transfer delay (CTD)

– Time between transmission of first bit of cell at source and reception of last bit at destination

– Typically has probability density function (see next slide)

– Fixed delay due to propagation etc.– Cell delay variation due to buffering and scheduling– Maximum cell transfer delay (maxCTD)is max

requested delay for connection– Fraction α of cells exceed threshold

Discarded or delivered late

Page 20: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks20

Quality of Service Parameters-Quality of Service Parameters-Peak-to-peak CDV & CLRPeak-to-peak CDV & CLRPeak-to-peak Cell Delay Variation

– Remaining (1-α) cells within QoS– Delay experienced by these cells is between

fixed delay and maxCTD– This is peak-to-peak CDV– CDVT is an upper bound on CDV

Cell loss ratio– Ratio of cells lost to cells transmitted

Page 21: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks21

Cell Transfer Delay PDFCell Transfer Delay PDF

Page 22: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks22

Congestion Control AttributesCongestion Control Attributes

Only feedback is defined– ABR and GFR– Actions taken by network and end systems to

regulate traffic submittedABR flow control

– Adaptively share available bandwidth

Page 23: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks23

Other AttributesOther Attributes

Behaviour class selector (BCS)– Support for IP differentiated services (chapter

16)– Provides different service levels among UBR

connections– Associate each connection with a behaviour

class– May include queuing and scheduling

Minimum desired cell rate

Page 24: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks24

Traffic Management Traffic Management FrameworkFrameworkObjectives of ATM layer traffic and

congestion control– Support QoS for all foreseeable services– Not rely on network specific AAL protocols

nor higher layer application specific protocols– Minimize network and end system complexity– Maximize network utilization

Page 25: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks25

Timing LevelsTiming Levels

Cell insertion timeRound trip propagation timeConnection durationLong term

Page 26: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks26

Traffic Control and Congestion Traffic Control and Congestion FunctionsFunctions

Page 27: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks27

Traffic Control StrategyTraffic Control Strategy

Determine whether new ATM connection can be accommodated

Agree performance parameters with subscriber

Traffic contract between subscriber and network

This is congestion avoidance If it fails congestion may occur

– Invoke congestion control

Page 28: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks28

Traffic ControlTraffic Control

Resource management using virtual pathsConnection admission controlUsage parameter controlSelective cell discardTraffic shapingExplicit forward congestion indication

Page 29: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks29

Resource Management Using Resource Management Using Virtual PathsVirtual PathsAllocate resources so that traffic is

separated according to service characteristics

Virtual path connection (VPC) are groupings of virtual channel connections (VCC)

Page 30: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks30

ApplicationsApplications

User-to-user applications– VPC between UNI pair– No knowledge of QoS for individual VCC– User checks that VPC can take VCCs’ demands

User-to-network applications– VPC between UNI and network node– Network aware of and accommodates QoS of VCCs

Network-to-network applications– VPC between two network nodes– Network aware of and accommodates QoS of VCCs

Page 31: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks31

Resource Management Resource Management ConcernsConcerns Cell loss ratio Max cell transfer delay Peak to peak cell delay variation All affected by resources devoted to VPC If VCC goes through multiple VPCs, performance

depends on consecutive VPCs and on node performance– VPC performance depends on capacity of VPC and

traffic characteristics of VCCs– VCC related function depends on switching/processing

speed and priority

Page 32: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks32

VCCs and VPCs ConfigurationVCCs and VPCs Configuration

Page 33: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks33

Allocation of Capacity to VPCAllocation of Capacity to VPC

Aggregate peak demand– May set VPC capacity (data rate) to total of VCC peak rates

Each VCC can give QoS to accommodate peak demand VPC capacity may not be fully used

Statistical multiplexing– VPC capacity >= average data rate of VCCs but < aggregate

peak demand– Greater CDV and CTD– May have greater CLR– More efficient use of capacity– For VCCs requiring lower QoS– Group VCCs of similar traffic together

Page 34: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks34

Connection Admission ControlConnection Admission Control

User must specify service required in both directions– Category– Connection traffic descriptor

Source traffic descriptor CDVT Requested conformance definition

– QoS parameter requested and acceptable value Network accepts connection only if it can

commit resources to support requests

Page 35: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks35

Procedures to Set Traffic Procedures to Set Traffic Control ParametersControl Parameters

Page 36: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks36

Cell Loss PriorityCell Loss Priority

Two levels requested by user– Priority for individual cell indicated by CLP

bit in header– If two levels are used, traffic parameters for

both flows specifiedHigh priority CLP = 0All traffic CLP = 0 + 1

– May improve network resource allocation

Page 37: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks37

Usage Parameter ControlUsage Parameter Control

UPCMonitors connection for conformity to

traffic contractProtect network resources from overload

on one connectionDone at VPC or VCC levelVPC level more important

– Network resources allocated at this level

Page 38: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks38

Location of UPC FunctionLocation of UPC Function

Page 39: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks39

Peak Cell Rate AlgorithmPeak Cell Rate Algorithm

How UPC determines whether user is complying with contract

Control of peak cell rate and CDVT– Complies if peak does not exceed agreed peak– Subject to CDV within agreed bounds– Generic cell rate algorithm– Leaky bucket algorithm

Page 40: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks40

Generic Generic Cell Cell Rate Rate AlgorithmAlgorithm

Page 41: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks41

Virtual Scheduling AlgorithmVirtual Scheduling Algorithm

Page 42: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks42

Cell Arrival atCell Arrival at UNI ( UNI (TT=4.5=4.5δ)δ)

Page 43: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks43

Leaky Bucket AlgorithmLeaky Bucket Algorithm

Page 44: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks44

Continuous Leaky Bucket Continuous Leaky Bucket AlgorithmAlgorithm

Page 45: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks45

Sustainable Cell Rate Sustainable Cell Rate AlgorithmAlgorithmOperational definition of relationship

between sustainable cell rate and burst tolerance

Used by UPC to monitor complianceSame algorithm as peak cell rate

Page 46: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks46

UPC ActionsUPC Actions

Compliant cell pass, non-compliant cells discarded If no additional resources allocated to CLP=1 traffic,

CLP=0 cells C If two level cell loss priority cell with:

– CLP=0 and conforms passes

– CLP=0 non-compliant for CLP=0 traffic but compliant for CLP=0+1 is tagged and passes

– CLP=0 non-compliant for CLP=0 and CLP=0+1 traffic discarded

– CLP=1 compliant for CLP=0+1 passes

– CLP=1 non-compliant for CLP=0+1 discarded

Page 47: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks47

Possible Actions of UPCPossible Actions of UPC

Page 48: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks48

Selective Cell DiscardSelective Cell Discard

Starts when network, at point beyond UPC, discards CLP=1 cells

Discard low priority cells to protect high priority cells

No distinction between cells labelled low priority by source and those tagged by UPC

Page 49: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks49

Traffic ShapingTraffic Shaping

GCRA is a form of traffic policing– Flow of cells regulated– Cells exceeding performance level tagged or

discardedTraffic shaping used to smooth traffic flow

– Reduce cell clumping– Fairer allocation of resources– Reduced average delay

Page 50: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks50

Token Bucket for Traffic Token Bucket for Traffic ShapingShaping

Page 51: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks51

Explicit Forward Congestion Explicit Forward Congestion IndicationIndication

Essentially same as frame relayIf node experiencing congestion, set

forward congestion indication is cell headers– Tells users that congestion avoidance should

be initiated in this direction– User may take action at higher level

Page 52: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks52

ABR Traffic ManagementABR Traffic Management

QoS for CBR, VBR based on traffic contract and UPC described previously

No congestion feedback to source Open-loop control Not suited to non-real-time applications

– File transfer, web access, RPC, distributed file systems

– No well defined traffic characteristics except PCR– PCR not enough to allocate resources

Use best efforts or closed-loop control

Page 53: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks53

Best EffortsBest Efforts

Share unused capacity between applications

As congestion goes up:– Cells are lost– Sources back off and reduce rate– Fits well with TCP techniques (chapter 12)– Inefficient

Cells dropped causing re-transmission

Page 54: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks54

Closed-Loop ControlClosed-Loop Control

Sources share capacity not used by CBR and VBR

Provide feedback to sources to adjust loadAvoid cell lossShare capacity fairlyUsed for ABR

Page 55: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks55

Characteristics of ABRCharacteristics of ABR

ABR connections share available capacity– Access instantaneous capacity unused by CBR/VBR– Increases utilization without affecting CBR/VBR QoS

Share used by single ABR connection is dynamic– Varies between agreed MCR and PCR

Network gives feedback to ABR sources– ABR flow limited to available capacity– Buffers absorb excess traffic prior to arrival of feedback

Low cell loss– Major distinction from UBR

Page 56: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks56

Feedback Mechanisms (1)Feedback Mechanisms (1)

Cell transmission rate characterized by:– Allowable cell rate

Current rate

– Minimum cell rateMin for ACRMay be zero

– Peak cell rateMax for ACR

– Initial cell rate

Page 57: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks57

Feedback Mechanisms (2)Feedback Mechanisms (2)

Start with ACR=ICRAdjust ACR based on feedbackFeedback in resource management (RM)

cells– Cell contains three fields for feedback

Congestion indicator bit (CI)No increase bit (NI)Explicit cell rate field (ER)

Page 58: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks58

Source Reaction to FeedbackSource Reaction to Feedback

If CI=1– Reduce ACR by amount proportional to

current ACR but not less than CRElse if NI=0

– Increase ACR by amount proportional to PCR but not more than PCR

If ACR>ER set ACR<-max[ER,MCR]

Page 59: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks59

Variations in ACRVariations in ACR

Page 60: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks60

Cell Flow on ABRCell Flow on ABR

Two types of cell– Data & resource management (RM)

Source receives regular RM cells– Feedback

Bulk of RM cells initiated by source– One forward RM cell (FRM) per (Nrm-1) data cells

Nrm preset – usually 32

– Each FRM is returned by destination as backwards RM (BRM) cell

– FRM typically CI=0, NI=0 or 1 ER desired transmission rate in range ICR<=ER<=PCR

– Any field may be changed by switch or destination before return

Page 61: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks61

ATM Switch Rate Control ATM Switch Rate Control FeedbackFeedback EFCI marking

– Explicit forward congestion indication– Causes destination to set CI bit in ERM

Relative rate marking– Switch directly sets CI or NI bit of RM– If set in FRM, remains set in BRM– Faster response by setting bit in passing BRM– Fastest by generating new BRM with bit set

Explicit rate marking– Switch reduces value of ER in FRM or BRM

Page 62: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks62

Flow of Data and RM Cells Flow of Data and RM Cells

Page 63: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks63

ARB Feedback v TCP ACKARB Feedback v TCP ACK

ABR feedback controls rate of transmission– Rate control

TCP feedback controls window size– Credit control

ARB feedback from switches or destination

TCP feedback from destination only

Page 64: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks64

RM Cell RM Cell FormatFormat

Page 65: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks65

RM Cell Format NotesRM Cell Format Notes

ATM header has PT=110 to indicate RM cell On virtual channel VPI and VCI same as data cells on

connection On virtual path VPI same, VCI=6 Protocol id identifies service using RM (ARB=1) Message type

– Direction FRM=0, BRM=1– BECN cell. Source (BN=0) or switch/destination (BN=1)– CI (=1 for congestion)– NI (=1 for no increase)– Request/Acknowledge (not used in ATM forum spec)

Page 66: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks66

Initial Values of RM Cell FieldsInitial Values of RM Cell Fields

Page 67: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks67

ARB ARB ParametersParameters

Page 68: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks68

ARB Capacity AllocationARB Capacity Allocation

ATM switch must perform:– Congestion control

Monitor queue length

– Fair capacity allocationThrottle back connections using more than fair

shareATM rate control signals are explicitTCP are implicit

– Increasing delay and cell loss

Page 69: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks69

Congestion Control Algorithms-Congestion Control Algorithms-Binary FeedbackBinary Feedback Use only EFCI, CI and NI bits Switch monitors buffer utilization When congestion approaches, binary notification

– Set EFCI on forward data cells or CI or NI on FRM or BRM

Three approaches to which to notify– Single FIFO queue

– Multiple queues

– Fair share notification

Page 70: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks70

Single FIFO QueueSingle FIFO Queue

When buffer use exceeds threshold (e.g. 80%)– Switch starts issuing binary notifications

– Continues until buffer use falls below threshold

– Can have two thresholds One for start and one for stop Stops continuous on/off switching

– Biased against connections passing through more switches

Page 71: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks71

Multiple QueuesMultiple Queues

Separate queue for each VC or group of VCs Separate threshold on each queue Only connections with long queues get binary

notifications– Fair

– Badly behaved source does not affect other VCs

– Delay and loss behaviour of individual VCs separated Can have different QoS on different VCs

Page 72: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks72

Fair ShareFair Share

Selective feedback or intelligent markingTry to allocate capacity dynamically E.g. fairshare =(target rate)/(number of connections)Mark any cells where CCR>fairshare

Page 73: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks73

Explicit Rate Feedback Explicit Rate Feedback SchemesSchemes Compute fair share of capacity for each VC Determine current load or congestion Compute explicit rate (ER) for each connection

and send to source Three algorithms

– Enhanced proportional rate control algorithm EPRCA

– Explicit rate indication for congestion avoidance ERICA

– Congestion avoidance using proportional control CAPC

Page 74: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks74

Enhanced Proportional Rate Enhanced Proportional Rate Control Algorithm(EPRCA)Control Algorithm(EPRCA) Switch tracks average value of current load on each

connection– Mean allowed cell rate (MARC)– MACR(I)=(1-α)*(MACR(I-1) + α*CCR(I)

– CCR(I) is CCR field in Ith FRM– Typically α=1/16– Bias to past values of CCR over current– Gives estimated average load passing through switch– If congestion, switch reduces each VC to no more than

DPF*MACR DPF=down pressure factor, typically 7/8 ER<-min[ER, DPF*MACR]

Page 75: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks75

Load FactorLoad Factor

Adjustments based on load factor LF=Input rate/target rate

– Input rate measured over fixed averaging interval

– Target rate slightly below link bandwidth (85 to 90%)

– LF>1 congestion threatened VCs will have to reduce rate

Page 76: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks76

Explicit Rate Indication for Explicit Rate Indication for Congestion Avoidance (ERICA)Congestion Avoidance (ERICA) Attempt to keep LF close to 1 Define:fairshare = (target rate)/(number of connections)VCshare = CCR/LF = (CCR/(Input Rate)) *(Target Rate) ERICA selectively adjusts VC rates

– Total ER allocated to connections matches target rate– Allocation is fair– ER = max[fairshare, VCshare]– VCs whose VCshare is less than their fairshare get

greater increase

Page 77: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks77

Congestion Avoidance Using Congestion Avoidance Using Proportional Control (CAPC)Proportional Control (CAPC) If LF<1 fairshare<-fairshare*min[ERU,1+(1-LF)*Rup] If LF>1 fairshare<-fairshare*min[ERU,1-(1-LF)*Rdn] ERU>1, determines max increase Rup between 0.025 and 0.1, slope parameter Rdn, between 0.2 and 0.8, slope parameter ERF typically 0.5, max decrease in allottment of fair share If fairshare < ER value in RM cells, ER<-fairshare Simpler than ERICA Can show large rate oscillations if RIF (Rate increase factor) too

high Can lead to unfairness

Page 78: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks78

GRF OverviewGRF Overview Simple as UBR from end system view

– End system does no policing or traffic shaping– May transmit at line rate of ATM adaptor

Modest requirements on ATM network No guarantee of frame delivery Higher layer (e.g. TCP) react to congestion causing dropped

frames User can reserve cell rate capacity for each VC

– Application can send at min rate without loss Network must recognise frames as well as cells If congested, network discards entire frame All cells of a frame have same CLP setting

– CLP=0 guaranteed delivery, CLP=1 best efforts

Page 79: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks79

GFR Traffic ContractGFR Traffic Contract

Peak cell rate PCRMinimum cell rate MCRMaximum burst size MBSMaximum frame size MFSCell delay variation tolerance CDVT

Page 80: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks80

Mechanisms for supporting Mechanisms for supporting Rate GuaranteesRate GuaranteesTagging and policingBuffer managementScheduling

Page 81: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks81

Tagging and PolicingTagging and Policing

Tagging identifies frames that conform to contract and those that don’t– CLP=1 for those that don’t

Set by network element doing conformance check May be network element or source showing less important

frames

– Get lower QoS in buffer management and scheduling

– Tagged cells can be discarded at ingress to ATM network or subsequent switch

– Discarding is a policing function

Page 82: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks82

Buffer ManagementBuffer Management

Treatment of cells in buffers or when arriving and requiring buffering

If congested (high buffer occupancy) tagged cells discarded in preference to untagged

Discard tagged cell to make room for untagged cell

May buffer per-VC Discards may be based on per queue thresholds

Page 83: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks83

SchedulingScheduling

Give preferential treatment to untagged cells Separate queues for each VC

– Per VC scheduling decisions

– E.g. FIFO modified to give CLP=0 cells higher priority

Scheduling between queues controls outgoing rate of VCs– Individual cells get fair allocation while meeting

traffic contract

Page 84: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks84

Components of GFR Components of GFR MechanismMechanism

Page 85: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks85

GFR Conformance DefinitionGFR Conformance Definition

UPC function– UPC monitors VC for traffic conformance

– Tag or discard non-conforming cells Frame conforms if all cells in frame conform

– Rate of cells within contract Generic cell rate algorithm PCR and CDVT specified for

connection

– All cells have same CLP

– Within maximum frame size (MFS)

Page 86: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks86

QoS Eligibility TestQoS Eligibility Test

Test for contract conformance– Discard or tag non-conforming cells

Looking at upper bound on traffic

– Determine frames eligible for QoS guarantee Under GFR contract for VC Looking at lower bound for traffic

Frames are one of:– Nonconforming: cells tagged or discarded– Conforming ineligible: best efforts– Conforming eligible: guaranteed delivery

Page 87: Chapter 13 Traffic and Congestion Control in ATM Networks 1 Chapter 13 Traffic and Congestion Control in ATM Networks

Chapter 13 Traffic and Congestion Control in ATM Networks87

Simplified Frame Based GCRASimplified Frame Based GCRA