Multimedia Applications over Packet Networks

Similar documents
Multimedia Networking and Quality of Service

Traffic priority - IEEE 802.1p

ETSF10 Internet Protocols Transport Layer Protocols

Real-Time Protocol (RTP)

Spanning Tree Protocol

Multimedia Networking Introduction

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

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

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

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

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

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

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

Internet Services & Protocols. Quality of Service Architecture

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

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

Multimedia Networking

CS 457 Multimedia Applications. Fall 2014

Static Routing Design Exercises

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

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

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

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

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

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

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)

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

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

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

Multimedia networking: outline

Transcription:

Multimedia Networking and Quality of Service Mario Baldi Technical Univeristy of Torino Computer Engineering Department mario.baldi@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_en - 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 Applications over Packet Networks Multimedia&QoS_en - 3 Multimedia&QoS_en - 4

What is Multimedia? Simultaneous deployment of various media Text Soud Images Video Media Coding Sampling and quantization Loss of quality Un-noticeable Coding of samples Possibility of playing back without loss of quality Multimedia&QoS_en - 5 Multimedia&QoS_en - 6 Compression Image Coding Redundancy elimination Spatial Temporal Possible information loss Loss of quality JPEG JPEG2000 GIF TIFF Multimedia&QoS_en - 7 Multimedia&QoS_en - 8

Video Coding MPEG1 Low quality 1.5 Mb/s MPEG2 High quality (DVD) 3.6 Mb/s Video Coding MPEG4 Coding and compression based on identification of objects H.261 Videoconference Low quality Low bandwidth Multimedia&QoS_en - 9 Multimedia&QoS_en - 10 Voice Coding Audio Coding AVI PCM (64 Kb/s 56 Kb/s) GSM (13 Kb/s) MP3 (MPEG layer 3 - audio) 128 Kb/s or 112 Kb/s G.729 (8 Kb/s) CD equivalent quality G723.3 (6.4 Kb/s & 5.3 Kb/s) Multimedia&QoS_en - 11 Multimedia&QoS_en - 12

Audio Coding MP3 Particularly robust Each fragment can be played back independently from the others Suitable to the Internet 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_en - 13 Multimedia&QoS_en - 14 Networked Multimedia Applications Networked Multimedia Applications World Wide Web Video broadcasting Video on Demand Telephony Radio Jukebox service Teleconference Interactive distributed games Distance learning Virtual reality Multimedia&QoS_en - 15 Multimedia&QoS_en - 16

Networked Multimedia Applications Distinctive Features: Streaming Continuous flow of data Maybe just one media, but different features with respect to traditional applications 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_en - 17 Multimedia&QoS_en - 18 Distinctive Features: Interactivity Distinctive Features With another human Large transmission bandwidth With a computer Short response time Group communications Many to many communications Multimedia&QoS_en - 19 Multimedia&QoS_en - 20

Streaming Requirements on the network Limited loss Many applications tolerate loss to some extent Constant delays Network Multimedia&QoS_en - 21 Multimedia&QoS_en - 22 Interactivity Large Transmission Bandwidth Low delay Verbal interaction: below 100 ~ 150 ms one way High resource availability Transmission capacity Memory in network nodes (buffers) Processing power (routing, etc.) Switching Technology advances help Multimedia&QoS_en - 23 Multimedia&QoS_en - 24

Group Communications Delay: That s the Problem!! Multicast transmission services IP multicasting MBone Multimedia applications are also generally called real-time applications Server with reflector functionality or multiconference unit Multimedia&QoS_en - 25 Multimedia&QoS_en - 26 Delay: What s the Problem? Countermeasures in End-Systems Compensate delay variations Replay buffer Fixed dimension for non-interactive applications It is different depending on the instantaneous load on network nodes Adaptive for interactive applications Multimedia&QoS_en - 27 Multimedia&QoS_en - 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) Countermeasures in End-Systems Adaptation to network conditions Decrease traffic generated when quality of session decreases Adaptability of applications is not unlimited Multimedia&QoS_en - 29 Multimedia&QoS_en - 30 Information Exchange Tools Time data RTP - Real-time Transport Protocol Time stamp Communication state RTCP - RTP Control Protocol Multimedia&QoS_en - 31 Multimedia&QoS_en - 32

Adaptive Coding Layered Coding Quantization granularity Compression parameters Feedback E.g., RTCP 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_en - 33 Multimedia&QoS_en - 34 Countermeasures in the Network Control on Traffic Traffic classification Sophisticated scheduling algorithms WFQ, RR, WRR, CBQ Control on traffic entering the network At various levels (QoS routing) Packet level Shaping/policing Call/flow level Signalling with resource reservation RSVP Resource reservation Protocol (IP) UNI User Network Interface (ATM) Multimedia&QoS_en - 35 Multimedia&QoS_en - 36

Control on Traffic Countermeasures in the Network 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_en - 37 Multimedia&QoS_en - 38 Collateral Problems RTP Greedy Applications UDP at the transport layer UDP IP TCP adapts to traffic conditions, UDP ignores them 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 applications can harm the others Especially those based on TCP, that is polite Traffic segregation and policing (bandwidth shaper) Multimedia&QoS_en - 39 Multimedia&QoS_en - 40

Classification Tools for Quality of Service Support Classification Identifying packets to which quality is to be guaranteed in other words In which queue to store an incoming packet Multimedia&QoS_en - 41 Multimedia&QoS_en - 42 Classification 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 Complex algorithms Hardware implementations ASIC: Application Specific Integrated Circuit CAM: Content Addressable Memory Multimedia&QoS_en - 43 Multimedia&QoS_en - 44

Simple Queuing FIFO (First In First Out) Tools for Quality of Service Support Queue TX Scheduling Transmitter Multimedia&QoS_en - 45 Multimedia&QoS_en - 46 Statistical Multiplexing Multiple Queues and Scheduling A A C B C Switch A C B C A TX Multimedia&QoS_en - 47 Multimedia&QoS_en - 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) 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_en - 49 Multimedia&QoS_en - 50 Switching Capacity Queuing and Switching 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 Input queuing Distributed control (complex) Virtual output queuing Queues inside the switching fabric (distributed queuing) Multimedia&QoS_en - 51 Multimedia&QoS_en - 52

Are We Set? A A C B C Switch AB C B A C A C A B C A Tools for Quality of Service Support Control on Traffic Multimedia&QoS_en - 53 Multimedia&QoS_en - 54 Policing and shaping Leaky bucket Make sure that traffic entering the network has the expected profile Token bucket Non conformant packets are Delayed Made conformant Discarded Token bucket Leaky Bucket Set at a lower priority (possibly best effort) TX TX Multimedia&QoS_en - 55 Multimedia&QoS_en - 56

Call Admission Control (CAC) Signalling Description of generated traffic Description of required service Examples: RSVP e UNI ATM Resource Reservation QoS routing Finding a route with required resources Routing protocols distribute in real-time information on resource availability Very dynamic information Multimedia&QoS_en - 57 Multimedia&QoS_en - 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 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_en - 59 Multimedia&QoS_en - 60

Network engineering Traffic engineering Network engineering Traffic engineering Actions throughout Network state is continuously monitored Network dimensioning and traffic matrix can be chenged if needed Distinctive properties Low efficiency in network resource utilization Simplicity and scalability Multimedia&QoS_en - 61 Multimedia&QoS_en - 62 Policy Defines general aspects of how the network functions Tools for Quality of Service Support Complementary Issues Determines specific aspects of how a device functions Queuing strategy Call admission control rules Leaky bucket parameters Multimedia&QoS_en - 63 Multimedia&QoS_en - 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 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_en - 65 Multimedia&QoS_en - 66 Internet s Ambitious Solution: Integrated Services (IntServ) Internet Quality of Service Support Frameworks IntServ and DiffServ Features Per-flow resource reservation RSVP: Resource reservation Protocol Guaranteed quality of service Per-flow queuing inside routers Multimedia&QoS_en - 67 Multimedia&QoS_en - 68

Internet s Ambitious Solution: Integrated Services (IntServ) Limits High complexity Low scalability 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_en - 69 Multimedia&QoS_en - 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 Lowering Ambitions: Differentiated Services (DiffServ) How Network engineering Traffic engineering Access control at the boudaries Policing Multimedia&QoS_en - 71 Multimedia&QoS_en - 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_en - 73