multimedia & comm. lab rate control for abr service in atm networks 98/9/30 multimedia &...

39
Multimedia & Comm. Lab Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정정정

Upload: irma-mathews

Post on 30-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

Multimedia & Comm. LabMultimedia & Comm. Lab

Rate control for ABR service in ATM Networks

98/9/30

Multimedia & Comm. Lab

정승훈

Page 2: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

2Multimedia & Comm. LabMultimedia & Comm. Lab

Contents

Introduction

ABR Service

Congestion Control Mechanisms

Source-level Rate Adaptation

Examples

Open Issues

Page 3: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

3Multimedia & Comm. LabMultimedia & Comm. Lab

Introduction

Classes of Service

Why need Congestion Control

Traffic Management Functions

What is Expected from Congestion Control

Page 4: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

4Multimedia & Comm. LabMultimedia & Comm. Lab

Classes of Service

ABR (Available bit rate) Follows feedback instructions. Network gives max throughput with minimum loss.

UBR (Unspecified bit rate) User sends whenever it wants. No feedback mechanism, No guarantee. Cells may be dropped during congestion.

CBR (Constant bit rate) Throughput, delay, and Jitter guaranteed.

VBR (Variable bit rate)

Page 5: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

5Multimedia & Comm. LabMultimedia & Comm. Lab

Why need Congestion Control

Will the congestion problem be solved when: Memory becomes cheap (infinite memory)? Links become cheap (very high speed links)? Processors become cheap?

Congestion is a dynamic problem Static solutions are not sufficient

Bandwidth explosion More unbalanced networks.

Buffer shortage is a symptom, not the cause.

Page 6: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

6Multimedia & Comm. LabMultimedia & Comm. Lab

Traffic Management Functions

Connection Admission Control (CAC) Verify that the requested bandwidth and QoS can be

supported

Traffic Shaping Limit burst length, Space-out cells

Usage Parameter Control (UPC) Monitor and control traffic at the network entrance

Network Resource Management Scheduling, Queueing, Virtual path resource reservation

Page 7: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

7Multimedia & Comm. LabMultimedia & Comm. Lab

Traffic Management Functions

Priority Control Cell Loss Priority (CLP) = 1 cells may be dropped

Selective Cell Discarding Frame discard

Feedback Controls Network tell the source to increase or decrease its load Explicit forward congestion indication (EFCI) Explicit rate (ER) Backward explicit congestion notification (BECN)

Page 8: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

8Multimedia & Comm. LabMultimedia & Comm. Lab

What is expected ?

Objectives Support a set of QoS parameters and classes for all ATM

services Minimize network and end-system complexity while

maximizing network utilization

Selection Criteria Scalability Fairness Robustness Implementability

Page 9: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

9Multimedia & Comm. LabMultimedia & Comm. Lab

ABR Service

The Nature of the ABR Service

Some Early Debates

The Role of the Network

The Role of the End Systems

Page 10: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

10Multimedia & Comm. LabMultimedia & Comm. Lab

The Nature of the ABR Service

ABR Service ABR connections will share the available bandwidth The share of available bandwidth for each ABR connection

is dynamic and may diminish down to a specified minimum cell rate (MCR)

The dynamic nature of the ABR service can be seen from the feedback model

The ABR service is appropriate only for applications which can adapt their rates to the time-varying available bandwidth and tolerate unpredictable cell delays

a low or zero cell loss rate is guaranteed to users who adapts their rates properly

Page 11: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

11Multimedia & Comm. LabMultimedia & Comm. Lab

Some Early Debates

Open-Loop vs. Close-Loop

Credit-based vs. Rate-based

Binary Feedback vs. Explicit Feedback

Page 12: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

12Multimedia & Comm. LabMultimedia & Comm. Lab

Open-Loop vs. Close-Loop

Open-Loop not need end-to-end feedback prior-reservation and hop-to-hop flow control

Close-Loop the source adjust its cell rate in responding to the feedback

information from the network. Too slow in high-speed networks But, ABR service is designed to use any bandwidth ATM Forum specified that feedback is necessary for ABR

flow control

Page 13: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

13Multimedia & Comm. LabMultimedia & Comm. Lab

Credit-based vs. Rate-based

Credit-based hop-by-hop per-VC window Static : Full round-trip worth of credit per VC Adaptive : Credits depend upon activity

Rate-based End-to-end rate control Binary : Feedback via congestion bit in cells Explicit : Feedback via resource management (RM) cells

Page 14: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

14Multimedia & Comm. LabMultimedia & Comm. Lab

Credit vs. Rate Debate : Issues

Per-VC queueing Switch complexity, Nonscalable

Switch vs. end-system complexity

Zero cell loss

Isolation and misbehaving users

Buffer requirements Full round-trip per VC

Page 15: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

15Multimedia & Comm. LabMultimedia & Comm. Lab

Binary vs. Explicit Rate

Binary Feedback One-bit Feedback Explicit forward congestion indicator (EFCI) set to 0 at

source Congested switch set EFCI to 1 Every nth cell, destination sends a RM cell to the source

indicating increase amount or decrease factor

Page 16: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

16Multimedia & Comm. LabMultimedia & Comm. Lab

Binary vs. Explicit Rate

Explicit Rate Feedback Every Nrm cells, the sources send a control cell

The switches measure load over a period The destination returns the cell to the source The switches specify explicit rate in cell The source adjusts the transmission rate

Page 17: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

17Multimedia & Comm. LabMultimedia & Comm. Lab

Binary vs. Explicit Rate

ER feedback schemes have several advantages The switches know more information along the flow path Faster to get the source to the optimal operating point Policing is straight forward

Two ways for ER feedback Forward feedback Backward feedback

Page 18: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

18Multimedia & Comm. LabMultimedia & Comm. Lab

The Role of The Network

The network might provide information directly to the users No information A binary congestion indication

EFCI Detailed congestion indication

RM cells with queue levels and severity level Explicit bandwidth (or rate) information

RM cell with the current available bandwidth that can be adjusted by nodes along the connection in the forward direction

The destination returns the RM cell to the source with either and absolute rate or a relative rate adjustment

Page 19: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

19Multimedia & Comm. LabMultimedia & Comm. Lab

The role of the End systems

How the source and destination end systems work with Feedback information to adapt the source rate Negative Feedback

source increments its rate by default Positive Feedback

source decrements its rate by default Explicit Feedback

source maintains its rate by default

Page 20: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

20Multimedia & Comm. LabMultimedia & Comm. Lab

Congestion Control Mechanisms

Fairness

Binary Feedback EFCI PRCA

Explicit Rate Feedback EPRCA ERICA

Page 21: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

21Multimedia & Comm. LabMultimedia & Comm. Lab

Fairness

Max-Min available bandwidth = C / N

MCR plus equal share available bandwidth = MCR + (C - MCR) / N

Maximum of MCR or Max-Min share available bandwidth = max{MCR, Max-Min share}

Allocation proportional to MCR The bandwidth allocation for a connection is weighted

proportional to its MCR

Weighted allocation

Page 22: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

22Multimedia & Comm. LabMultimedia & Comm. Lab

EFCI

Mechanism The network uses EFCI to convey congestion information

(in the forward direction) Feedback is returned via RM cells from the destination end

system to source. The sources adjust their rates by additive increase and

multiplicative decrease (at periodic update intervals). The feedback is negative, the source increase their rates by

default and decrease only if an RM cell is received

Page 23: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

23Multimedia & Comm. LabMultimedia & Comm. Lab

PRCA

Proportional rate control algorithm positive feedback RM cells are generated at a rate proportional to the source

rate End system requires a means to discover when to generate

an RM cell. Every Nrm cells, only one cell with EFCI=0

Source DestATM node ATM node

RM cell

If EFCI=0cellreceived

EFCI=1 EFCI=0

Nrm

Page 24: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

24Multimedia & Comm. LabMultimedia & Comm. Lab

EPRCA

Enhanced proportional rate control algorithm Source behavior

The source sends data cells with EFCI set to 0 and sends RM cells every n data cells.

The RM cells contain desired explicit rate(ER), current cell rate (CCR) and congestion indication(CI).

The source initializes CCR to the allowed cell rate(ACR) and CI to 0.

Source DestATM node ATM node

RM cell

CI=0 if nocongestionCI=1otherwise

User cellEFCI=0

RM cellCI=1

Nrm

Page 25: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

25Multimedia & Comm. LabMultimedia & Comm. Lab

EPRCA (cont’d) Switch behavior

computes a mean allowed cell rate(MACR) for all VCs using: MACR = (1 - ) * MACR + *CCR

and the fair share as a fraction of this average The ER field in the returning RM cells are reduced to fair share. May set the CI bit in the cells passing.

Destination behavior monitors the EFCI bits and mark the CI bit in the RM cell if the l

ast seen data cell had EFCI bit set. Problems

congestion detection is based on the queue length. This method is shown to result in unfairness.

Sources that start up late may get lower throughput than those start early

Page 26: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

26Multimedia & Comm. LabMultimedia & Comm. Lab

ERICA

Explicit Rate Indication for Congestion Avoidance Switch behavior

Set target rate at 95% of link bandwidth Monitor input rate and number of active VCs k

Overload = Input rate / Target rate

VC’s share = VC’s current cell rate / Overload Fairshare = Target rate / k ER = Max(Fairshare, This VC’s share) ER in Cell = Min(ER in Cell, ER)

Features Measured overload/load at switch. Small queue lengths during steady state. Fast response.

Page 27: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

27Multimedia & Comm. LabMultimedia & Comm. Lab

Source level rate adaptation

Architecture

Encoder-level rate shaping

Rate shaping for precoded video

Page 28: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

28Multimedia & Comm. LabMultimedia & Comm. Lab

Rate control architecture

QuantizerRate

shaper

Ratecontrol

ATMNetworks

Output buffer

Quantizationlevel index

MPEG CodecMPEG Codec Rate ShaperRate Shaper

Feedback

Page 29: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

29Multimedia & Comm. LabMultimedia & Comm. Lab

Rate shaping for precoded video

Frame discarding

Selective Block dropping

Eliminate some DCT coefficients

Block dropping with Error concealment

Feature-based block dropping

Page 30: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

30Multimedia & Comm. LabMultimedia & Comm. Lab

Examples of Rate control

Explicit Backward Congestion Notification

Composite Rate Control Scheme

Weighted Max-Min Fairness

Shaped VBR

Page 31: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

31Multimedia & Comm. LabMultimedia & Comm. Lab

EBCN

Using queue occupancy of the VP buffer of an ATM switchRM cells : increase / decrease quantizer step size

qnew = max[qold + qdiff, qmax]

Tc Tn

VideoSources

Server

Buffer occupancymax 0

Explicit Backward Congestion NotificationExplicit Backward Congestion NotificationM. Ghanbari - Essex Univ.GLOBECOM ‘96

Page 32: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

32Multimedia & Comm. LabMultimedia & Comm. Lab

CRCS

Composite Rate Control Scheme From

S. Karademir - Garleton Univ in Canada GLOBECOM ‘96

Congestion Notification Explicit Feedback mechanism Feedback cell

Traffic prediction Prediction parameter

feedback info. Average transmission rate during the last two cycles.

Prediction Model TES : nonlinear auto-regressive model

Page 33: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

33Multimedia & Comm. LabMultimedia & Comm. Lab

WMMF

Weighted Max-Min Fairness from

T.V. Lakshman - Bell Labs. INFOCOM ‘97

Design Goals simple admission control high statistical multiplexing gain frequent bandwidth negotiation adaptation of source rates to match available bandwidth maintain low end-to-end delays

Key Idea RCBR associate a weight with each flow

Page 34: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

34Multimedia & Comm. LabMultimedia & Comm. Lab

WMMF (cont’d)

RCBR Renegotiated CBR

hybrid of the CBR and VBR the simplicity of admission control for CBR the greater statistical multiplexing gains of VBR.

Key Points short-term fluctuations are absorbed in local source buffers long-term changes make the source renegotiate the bandwidth

Weighted fair share Key

Using difference of flow activity

Page 35: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

35Multimedia & Comm. LabMultimedia & Comm. Lab

WMMF (cont’d)

Source Adaptation Mechanism Demand Prediction

Discrete Auto-regressive model Xn+k = + k(Xn-) correlation efficient : mean number of cels per frame

Gamma-Beta Auto-regressive Model Heymann ‘96

Encoder Rate Adaptation rate adaptation function

avg = Travg - [ * (Bp - SETPOINT) / Thorizon ]

Travg : Transmission Rate

Bp : Predicted Buffer

Page 36: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

36Multimedia & Comm. LabMultimedia & Comm. Lab

SVBR

Shaped VBR From

M. Hamdi - ENST IEEE JSAC Aug. ‘97

Key Idea CBR 의 장점과 VBR 의 장점을 혼합한 형태 비디오 전체에 대해 VBR 로 인코딩

CBR 의 단점인 buffer delay 를 제거 Bursty 한 부분의 영역에 대해서는 CBR 을 적용

VBR 의 burstiness 감소 Shaped Variable Bit Rate

Page 37: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

37Multimedia & Comm. LabMultimedia & Comm. Lab

SVBR (cont’d)

Rate Shaping Principle

하나의 GOP 에 할당되는 비트수의 최대값을 설정 (leak rate)

GoP 단위로 비트수를 계산하여 leak rate 를 넘으면 Quantization parameter Q 를 증가

GoP scale rate prediction GoP 단위로 rate prediction 을 적용 다음 GoP 의 크기를 예측한 후 , 해당 GoP 를 위한 Q 를 재조정

Qk+1 = QkRk/Rk+1

Qk : k 번째 GOP 의 quantization parameter

Rk: k 번째 GOP 의 bit 수

Page 38: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

38Multimedia & Comm. LabMultimedia & Comm. Lab

Open Issues

Policing dynamic UPC control time lag estimation

Point-to-Multipoint Connections Branchpoint behavior

Priority service for RM cells

Virtual Source / destination

Page 39: Multimedia & Comm. Lab Rate control for ABR service in ATM Networks 98/9/30 Multimedia & Comm. Lab 정승훈

39Multimedia & Comm. LabMultimedia & Comm. Lab

Conclusion

Rate control for ABR Services

Congestion Control algorithm

Source-level rate adaptation