Multimedia Networking and Quality of Service

Similar documents
Multimedia Applications over Packet Networks

Traffic priority - IEEE 802.1p

Spanning Tree Protocol

ETSF10 Internet Protocols Transport Layer Protocols

Real-Time Protocol (RTP)

ICMPv6. Internet Control Message Protocol version 6. Mario Baldi. Politecnico di Torino. (Technical University of Turin)

Multimedia Networking Introduction

Multimedia Networking

Mohammad Hossein Manshaei 1393

Multimedia Networking. Network Support for Multimedia Applications

Improving QOS in IP Networks. Principles for QOS Guarantees

Network Support for Multimedia

Advanced Computer Networks

Multimedia networking: outline

Quality of Service in the Internet

Configuring IPsec on Cisco Routers Mario Baldi Politecnico di Torino (Technical University of Torino)

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

Real-Time Control Protocol (RTCP)

Quality of Service (QoS)

Multimedia Networking

of-service Support on the Internet

Quality of Service (QoS)

Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

Quality of Service in the Internet

IP over. Mario Baldi. Politecnico di Torino. (Technical University of Turin) IPinterconnection - 1 Copyright: si veda nota a pag.

Multicast and Quality of Service. Internet Technologies and Applications

Lecture 24: Scheduling and QoS

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Leaky Bucket Algorithm

VoIP Protocols and QoS

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

Basics (cont.) Characteristics of data communication technologies OSI-Model

Internet Services & Protocols. Quality of Service Architecture

Master Course Computer Networks IN2097

MPLS Multi-protocol label switching Mario Baldi Politecnico di Torino (Technical University of Torino)

Master Course Computer Networks IN2097

Quality of Service (QoS) Computer network and QoS ATM. QoS parameters. QoS ATM QoS implementations Integrated Services Differentiated Services

IGMP Snooping. Mario Baldi. Pietro Nicoletti. Politecnico di Torino. Studio Reti

Multimedia Networking

CS 457 Multimedia Applications. Fall 2014

Static Routing Design Exercises

CSE 461 Quality of Service. David Wetherall

Differentiated Services

PESIT Bangalore South Campus Hosur road, 1km before Electronic City, Bengaluru -100 Department of Computer Science & Engineering

Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Presentation Outline. Evolution of QoS Architectures. Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

Unit 2 Packet Switching Networks - II

Institute of Computer Technology - Vienna University of Technology. L73 - IP QoS Integrated Services Model. Integrated Services Model

Quality of Service II

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

Design Intentions. IP QoS IntServ. Agenda. Design Intentions. L73 - IP QoS Integrated Services Model. L73 - IP QoS Integrated Services Model

RSVP and the Integrated Services Architecture for the Internet

Transport protocols Introduction

CSE 123b Communications Software

Prof. Dr. Abdulmotaleb El Saddik. site.uottawa.ca mcrlab.uottawa.ca. Quality of Media vs. Quality of Service

A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

Quality of Service. Qos Mechanisms. EECS 122: Lecture 15

Today. March 7, 2006 EECS122 Lecture 15 (AKP) 4. D(t) Scheduling Discipline. March 7, 2006 EECS122 Lecture 15 (AKP) 5

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

Convergence of communication services

Multimedia Networking Introduction

MPLS Multi-protocol label switching Mario Baldi Politecnico di Torino (Technical University of Torino)

Networking Applications

UNIT IV TRANSPORT LAYER

H3C S9500 QoS Technology White Paper

Week 7: Traffic Models and QoS

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices

Multimedia Networking

QUALITY of SERVICE. Introduction

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Part1: Lecture 4 QoS

Last time! Overview! 14/04/15. Part1: Lecture 4! QoS! Router architectures! How to improve TCP? SYN attacks SCTP. SIP and H.

Differentiated Services

ROUTING PROTOCOLS. Mario Baldi Routing - 1. see page 2

Tutorial 9 : TCP and congestion control part I

Digital Asset Management 5. Streaming multimedia

ATM Quality of Service (QoS)

VLAN. Mario Baldi. Pietro Nicoletti. Politecnico di Torino. Studio Reti

Introduction to IP QoS

Streaming (Multi)media

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

"Filling up an old bath with holes in it, indeed. Who would be such a fool?" "A sum it is, girl," my father said. "A sum. A problem for the mind.

EE 122: Differentiated Services

4 rd class Department of Network College of IT- University of Babylon

IP Network Emulation

Telematics 2. Chapter 3 Quality of Service in the Internet. (Acknowledgement: These slides have been compiled from Kurose & Ross, and other sources)

Lecture Outline. Bag of Tricks

Kommunikationssysteme [KS]

Lecture 14: Performance Architecture

Hands-On IP Multicasting for Multimedia Distribution Networks

QOS IN PACKET NETWORKS

Lecture 13: Transportation layer

Troubleshooting Tools

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

UNIT 2 TRANSPORT LAYER

3. Quality of Service

Chapter 24 Congestion Control and Quality of Service 24.1

Transcription:

Multimedia Networking and Quality of Service Mario Baldi Politecnico di Torino (Technical Univeristy of Torino) Department of Computer Engineering mario.baldi [at] polito.it +39 011 564 7067 staff.polito.it/mario.baldi

Nota di Copyright This set of transparencies, hereinafter referred to as slides, is protected by copyright laws and provisions of International Treaties. The title and copyright regarding the slides (including, but not limited to, each and every image, photography, animation, video, audio, music and text) are property of 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 such cases, no authorization is requested. Any total or partial use or reproduction (including, but not limited to, reproduction on magnetic media, computer networks, and printed reproduction) is forbidden, unless explicitly authorized by the authors by means of written license. Information included in these slides is deemed as accurate at the date of publication. Such information is supplied for merely educational purposes and may not be used in designing systems, products, networks, etc. In any case, these slides are subject to changes without any previous notice. The authors 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 be declared. In any case, this copyright notice must never be removed and must be reported even in partial uses. Multimedia&QoS_e - 2

Outline Multimedia applications Requirements and consequences on the network Quality of service techniques Queuing Access control Quality of service approaches IntServ and DiffServ Multimedia&QoS_e - 3

Multimedia Applications over Packet Networks Multimedia&QoS_e - 4

What is Multimedia? Simultaneous deployment of various media Text Soud Images Video Multimedia&QoS_e - 5

Media Coding Sampling and quantization Loss of quality Un-noticeable Coding of samples Possibility of playing back without loss of quality Multimedia&QoS_e - 6

Compression Spatial Temporal Redundancy elimination Possible information loss Loss of quality Multimedia&QoS_e - 7

Image Coding JPEG JPEG2000 GIF TIFF Multimedia&QoS_e - 8

Video Coding MPEG1 Low quality 1.5 Mb/s MPEG2 High quality (DVD) 3.6 Mb/s Multimedia&QoS_e - 9

Video Coding MPEG4 Coding and compression based on identification of objects H.261 Videoconference Low quality Low bandwidth Multimedia&QoS_e - 10

Voice Coding PCM (64 Kb/s 56 Kb/s) GSM (13 Kb/s) G.729 (8 Kb/s) G723.3 (6.4 Kb/s & 5.3 Kb/s) Multimedia&QoS_e - 11

Audio Coding AVI MP3 (MPEG layer 3 - audio) 128 Kb/s or 112 Kb/s CD equivalent quality Multimedia&QoS_e - 12

Audio Coding MP3 Particularly robust Each fragment can be played back independently from the others Suitable to the Internet Multimedia&QoS_e - 13

Coding Standards: Which one to choose? The coding choice depends on Processing capability of terminals Resource availability in the network Type of application Live (real-time) Store&retrieve Multimedia&QoS_e - 14

Networked Multimedia Applications World Wide Web Video broadcasting Video on Demand Telephony Radio Jukebox service Multimedia&QoS_e - 15

Networked Multimedia Applications Teleconference Interactive distributed games Distance learning Virtual reality Multimedia&QoS_e - 16

Networked Multimedia Applications Maybe just one media, but different features with respect to traditional applications Multimedia&QoS_e - 17

Distinctive Features: Streaming Continuous flow of data The profile of generated flow must be the same as the profile of the flow to be played back Continuous playout Very different from traditional applications Multimedia&QoS_e - 18

Distinctive Features: Interactivity With another human With a computer Short response time Multimedia&QoS_e - 19

Distinctive Features Large transmission bandwidth Group communications Many to many communications Multimedia&QoS_e - 20

Requirements on the network Multimedia&QoS_e - 21

Streaming Limited loss Many applications tolerate loss to some extent Constant delays Network Multimedia&QoS_e - 22

Interactivity Low delay Verbal interaction: below 100 ~ 150 ms one way Multimedia&QoS_e - 23

Large Transmission Bandwidth High resource availability Transmission capacity Memory in network nodes (buffers) Processing power (routing, etc.) Switching Technology advances help Multimedia&QoS_e - 24

Group Communications Multicast transmission services IP multicasting MBone Server with reflector functionality or multiconference unit Multimedia&QoS_e - 25

Delay: That s the Problem!! Multimedia applications are also generally called real-time applications Multimedia&QoS_e - 26

Delay: What s the Problem? It is different depending on the instantaneous load on network nodes Multimedia&QoS_e - 27

Countermeasures in End-Systems Compensate delay variations Replay buffer Fixed dimension for non-interactive applications Adaptive for interactive applications Multimedia&QoS_e - 28

Countermeasures in End-Systems The only way to compensate for delay variations is to conform each data unit to maximum delay End-to-end delay increase Critical for interactive applications (telephony, conferencing, games, virtual reality) Multimedia&QoS_e - 29

Countermeasures in End-Systems Adaptation to network conditions Decrease traffic generated when quality of session decreases Adaptability of applications is not unlimited Multimedia&QoS_e - 30

Tools Multimedia&QoS_e - 31

Information Exchange Time data RTP - Real-time Transport Protocol Time stamp Communication state RTCP - RTP Control Protocol Multimedia&QoS_e - 32

Adaptive Coding Quantization granularity Compression parameters Feedback E.g., RTCP Multimedia&QoS_e - 33

Layered Coding Base Layer Transmitted at higher priority Resources are possibly reserved Additional layers enable quality improvement Transmitted at lower priority Possibly as best-effort Multimedia&QoS_e - 34

Countermeasures in the Network Traffic classification Sophisticated scheduling algorithms WFQ, RR, WRR, CBQ Control on traffic entering the network At various levels (QoS routing) Multimedia&QoS_e - 35

Control on Traffic Packet level Shaping/policing Call/flow level Signalling with resource reservation RSVP Resource reservation Protocol (IP) UNI User Network Interface (ATM) Multimedia&QoS_e - 36

Control on Traffic A priori Network engineering Network dimensioning according to expected traffic Limit on the number of users Traffic engineering Controlled distribution of traffic across the network Multimedia&QoS_e - 37

Countermeasures in the Network Multimedia&QoS_e - 38

Collateral Problems UDP at the transport layer RTP UDP IP Real-time requirements are usually incompatible with TCP retransmission timing An originally lost or corrupted packet eventually reaching the destination is useless because it took too long Lost packets prevent delivery of following packets to applications Multimedia&QoS_e - 39

Greedy Applications TCP adapts to traffic conditions, UDP ignores them Multimedia applications can harm the others Especially those based on TCP, that is polite Traffic segregation and policing (bandwidth shaper) Multimedia&QoS_e - 40

Tools for Quality of Service Support Classification Multimedia&QoS_e - 41

Classification Identifying packets to which quality is to be guaranteed in other words In which queue to store an incoming packet Multimedia&QoS_e - 42

Classification Based on information contained in the IP and TCP/UDP headers (quintuplet) Destination IP address Source IP address Transport protocol Destination port Source port Multimedia&QoS_e - 43

Classification Complex algorithms Hardware implementations ASIC: Application Specific Integrated Circuit CAM: Content Addressable Memory Multimedia&QoS_e - 44

Tools for Quality of Service Support Packet scheduling Multimedia&QoS_e - 45

Simple Queuing FIFO (First In First Out) Queue TX Transmitter Multimedia&QoS_e - 46

Statistical Multiplexing A A C B C Switch A C B C A Multimedia&QoS_e - 47

Multiple Queues and Scheduling TX Multimedia&QoS_e - 48

Scheduling Algorithms Priority Queuing Round Robin Weighted Round Robin Class Based Queuing (CBQ) Weighted Fair Queuing (WFQ) Deadline queuing Jitter Earliest Due Date (non work-conserving) Multimedia&QoS_e - 49

Queuing and Switching Output queuing The simplest solution but Switching capacity is a limited resource There is no guarantee for packets to be swithed as they arrive Multimedia&QoS_e - 50

Switching Capacity Guaranteed immediate switching requires speed-up The transfer speed of the switching fabric is higher than the input link speed Particularly critical when operating with high capacity links Multimedia&QoS_e - 51

Queuing and Switching Input queuing Distributed control (complex) Virtual output queuing Queues inside the switching fabric (distributed queuing) Multimedia&QoS_e - 52

Are We Set? A A C B C Switch AB C B A C A C A B C A Multimedia&QoS_e - 53

Tools for Quality of Service Support Control on Traffic Multimedia&QoS_e - 54

Policing and shaping Make sure that traffic entering the network has the expected profile Token bucket Leaky Bucket TX Multimedia&QoS_e - 55

Leaky bucket Non conformant packets are Delayed Made conformant Discarded Token bucket Set at a lower priority (possibly best effort) TX Multimedia&QoS_e - 56

Call Admission Control (CAC) Signalling Description of generated traffic Description of required service Examples: RSVP e UNI ATM Resource Reservation Multimedia&QoS_e - 57

QoS routing Finding a route with required resources Routing protocols distribute in real-time information on resource availability Very dynamic information Multimedia&QoS_e - 58

QoS routing Routing decisions are based on resource availability information Not only on topological information Instability with connectionless data transfer E.g., PNNI (private network node interface) in ATM Cranckback Multimedia&QoS_e - 59

Network engineering Traffic engineering Preventive actions Network is dimensioned for the (almost) worst case Statistics on user traffic Traffic matrix is determined Traffic distribution Multimedia&QoS_e - 60

Network engineering Traffic engineering Actions throughout Network state is continuously monitored Network dimensioning and traffic matrix can be chenged if needed Multimedia&QoS_e - 61

Network engineering Traffic engineering Distinctive properties Low efficiency in network resource utilization Simplicity and scalability Multimedia&QoS_e - 62

Tools for Quality of Service Support Complementary Issues Multimedia&QoS_e - 63

Policy Defines general aspects of how the network functions Determines specific aspects of how a device functions Queuing strategy Call admission control rules Leaky bucket parameters Multimedia&QoS_e - 64

Flexibility: Policy Management A policy might depend on Type of traffic Time of day You don t want to have to configure every single device...... and to periodically change its configuration Multimedia&QoS_e - 65

COPS (Common Open Policy Service) Automatic policy distribution Network devices retrieve policies from a server Distribution model A server actively installs policies into devices Provisioning model Multimedia&QoS_e - 66

Internet Quality of Service Support Frameworks IntServ and DiffServ Multimedia&QoS_e - 67

Internet s Ambitious Solution: Integrated Services (IntServ) Features Per-flow resource reservation RSVP: Resource reservation Protocol Guaranteed quality of service Per-flow queuing inside routers Multimedia&QoS_e - 68

Internet s Ambitious Solution: Integrated Services (IntServ) Limits High complexity Low scalability Multimedia&QoS_e - 69

Internet s Ambitious Solution: Integrated Services (IntServ) State of the art Standard completed Implemented by router vendors RSVP message handling Queuing algorithms (?) Unusable on a large scale (public networks) Multimedia&QoS_e - 70

Lowering Ambitions: Differentiated Services (DiffServ) 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 Multimedia&QoS_e - 71

Lowering Ambitions: Differentiated Services (DiffServ) How Network engineering Traffic engineering Access control at the boudaries Policing Multimedia&QoS_e - 72

Lowering Ambitions: Differentiated Services (DiffServ) Features Low efficiency Large fraction of traffic is best- effort Simplicity and scalability Increasingly used IP telephony Multimedia&QoS_e - 73