46
Multimedia Networking and Quality of Service Mario Baldi www.baldi.info

Multimedia Networking and Quality of Service

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Multimedia Networking and Quality of Service

Multimedia Networkingand

Quality of Service

Mario Baldiwww.baldi.info

Page 2: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 2

Nota di CopyrightThis set of transparencies, hereinafter referred to as slides, is protected bycopyright laws and provisions of International Treaties. The title andcopyright regarding the slides (including, but not limited to, each and everyimage, photography, animation, video, audio, music and text) are propertyof the authors specified on page 1.

The slides may be reproduced and used freely by research institutes,schools and Universities for non-profit institutional purposes. In suchcases, no authorization is requested.

Any total or partial use or reproduction (including, but not limited to,reproduction on magnetic media, computer networks, and printedreproduction) is forbidden, unless explicitly authorized by the authors bymeans of written license.

Information included in these slides is deemed as accurate at the date ofpublication. Such information is supplied for merely educational purposesand may not be used in designing systems, products, networks, etc. In anycase, these slides are subject to changes without any previous notice. Theauthors do not assume any responsibility for the contents of these slides(including, but not limited to, accuracy, completeness, enforceability,updated-ness of information hereinafter provided).

In any case, accordance with information hereinafter included must not bedeclared.

In any case, this copyright notice must never be removed and must bereported even in partial uses.

Page 3: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 17

Networked Multimedia Applications

different features with respect to traditional

applications

Maybe just one media, but …

Page 4: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 18

Distinctive Features:Streaming

Continuous playout

The profile of generated flow must be the same as the profile of the flow to be played back

Continuous flow of data

Very different from traditional applications

Page 5: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 19

Distinctive Features:Interactivity

With another human

With a computer

Short response time

Page 6: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 20

Distinctive Features

Large transmission bandwidth

Many to many communications

Group communications

Page 7: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 21

Requirements on the network

Page 8: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 22

Network

Constant delays

Many applications tolerate loss to some extent

Limited loss

Streaming

Page 9: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 23

Verbal interaction: below 100 ~ 150 ms one way

Low delay

Interactivity

Page 10: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 24

High resource availability

Transmission capacity

Memory in network nodes (buffers)

Processing power (routing, etc.)

Switching

Technology advances help

Large Transmission Bandwidth

Page 11: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 26

Delay: That’s the Problem!!

Multimedia applications are also generally called

real-time applications

Page 12: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 27

Delay: What’s the Problem?

It is different depending on the instantaneous load on

network nodes

Page 13: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 35

Traffic classification

WFQ, RR, WRR, CBQ

Sophisticated scheduling algorithms

At various levels

Control on traffic entering the network

Countermeasures in the Network

(QoS routing)

Page 14: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 36

In other words

Limit the amount of packets arriving at network nodes

Handle appropriately packets that need specific QoS

Page 15: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 37

Shaping/policing

Packet level

Control on Traffic

Signalling with resource reservation

Call/flow level

RSVPResource reSerVation Protocol (IP)

UNIUser Network Interface (ATM)

Page 16: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 38

Network engineering

A priori

Limit on the number of users

Traffic engineering

Network dimensioning according to expected traffic

Controlled distribution of traffic across the network

Control on Traffic

Page 17: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 39

Countermeasures in the Network

Page 18: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 42

Tools for Quality of Service Support

Classification

Page 19: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 43

Identifying packets to which quality is to be guaranteed

In which queue to store an incoming packet

Classification

in other words

Page 20: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 44

Based on information contained in the IP and TCP/UDP headers (quintuplet)

Destination IP address

Classification

Source IP address

Transport protocol

Destination port

Source port

Page 21: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 45

ASIC:Application Specific Integrated Circuit

Classification

CAM:Content Addressable Memory

Complex algorithms

Hardware implementations

Page 22: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 46

Tools for Quality of Service Support

Packet scheduling

Page 23: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 47

Simple QueuingFIFO (First In First Out)

Transmitter

Queue

TX

Page 24: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 48

Statistical Multiplexing

BA C C A

A A

C C

BSwitch

Page 25: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 49

TX

Multiple Queues and Scheduling

Page 26: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 50

Weighted Round Robin

Round Robin

Class Based Queuing (CBQ)

Priority Queuing

Scheduling Algorithms

Weighted Fair Queuing (WFQ)

Deadline queuing Jitter Earliest Due Date

(non work-conserving)

Page 27: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 51

There is no guarantee for packetsto be swithed as they arrive

Queuing and Switching

The “simplest” solution

Output queuing

Switching capacity is a limited resource

but …

Page 28: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 52

Switching Capacity

The transfer speed of the switchingfabric is higher than the input link speed

Guaranteed immediate switching requires speed-up

Particularly critical when operating with high capacity links

Page 29: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 53

Queuing and Switching

Distributed control (complex)

Input queuing

Queues inside the switching fabric

(distributed queuing)

Virtual output queuing

Page 30: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 54

Are We Set?

AC B C A

A A

C C

BSwitch

BA C C ABA C C ACB A C A

Page 31: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 55

Tools forQuality of Service Support

Control on Traffic

Page 32: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 56

Make sure that traffic entering the network has

the expected profile

Policing and shaping

TX

Token bucket

Leaky Bucket

Page 33: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 57

Delayed

Non conformant packets are

Set at a lower priority(possibly best effort)

Leaky bucket

Discarded

TX

Token bucket

Made conformant

Page 34: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 58

Description of generated traffic

Signalling

Call Admission Control(CAC)

Description of required service

Examples: RSVP e UNI ATM

Resource Reservation

Page 35: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 59

Very dynamic information

Routing protocols distribute in real-time information on resource availability

QoS routing

Finding a route with required resources

Page 36: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 60

Not only on topological information

Routing decisions are based on resource availability information

QoS routing

Instability with connectionless data transfer

Cranckback

E.g., PNNI (private network node interface) in ATM

Page 37: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 61

Statistics on user traffic

Network is dimensioned for the (almost) worst case

Preventive actions

Traffic distribution

Traffic matrix is determined

Network engineeringTraffic engineering

Page 38: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 62

Network engineeringTraffic engineering

Network state is continuously monitored

Network dimensioning and traffic matrix can be chenged if needed

Actions throughout

Page 39: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 63

Network engineeringTraffic engineering

Low efficiency in network resource utilization

Simplicity and scalability

Distinctive properties

Page 40: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 68

InternetQuality of Service Support

Frameworks

IntServ and DiffServ

Page 41: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 69

Per-flow resource reservation

RSVP: Resource reSerVation Protocol

Guaranteed quality of service

Per-flow queuing inside routers

Internet’s Ambitious Solution:Integrated Services (IntServ)

Features

Page 42: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 70

Internet’s Ambitious Solution:Integrated Services (IntServ)

Limits

High complexity

Low scalability

Page 43: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 71

Standard completed

Implemented by router vendors

RSVP message handling

Queuing algorithms (?)

Unusable on a large scale (public networks)

Internet’s Ambitious Solution:Integrated Services (IntServ)

State of the art

Page 44: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 72

No quality of service guarantees

No resource reservation

Different service to different types (class) of traffic: class of service

DS (DiffServ) field

Per-class queuing

Lowering Ambitions:Differentiated Services (DiffServ)

Page 45: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 73

Lowering Ambitions:Differentiated Services (DiffServ)

Network engineering

Access control at the boudaries

How

Policing

Traffic engineering

Page 46: Multimedia Networking and Quality of Service

© M. Baldi: see page 2Multimedia&QoS_e - 74

Lowering Ambitions:Differentiated Services (DiffServ)

Features

Low efficiency

Increasingly used

Large fraction of traffic is best- effort

Simplicity and scalability

IP telephony