Distributed Multimedia Systems David Immordino. Introduction 4 A multimedia application is a real-time system responsible for the delivering and receiving.

Slides:



Advertisements
Similar presentations
DISTRIBUTED MULTIMEDIA SYSTEMS
Advertisements

Streaming Video over the Internet
Distributed Multimedia Systems Tarek Elshaarani Vahid Rafiei.
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 20: Distributed.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
EE 4272Spring, 2003 Chapter 12 Congestion in Data Networks Effect of Congestion Control  Ideal Performance  Practical Performance Congestion Control.
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
Congestion Control Algorithms
William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks.
Traffic Shaping Why traffic shaping? Isochronous shaping
Quality of Service Requirements
ATM : CONGESTION CONTROL Group 7 29 DECEMBER 2004.
Engineering Internet QoS
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012.
T.Sharon-A.Frank 1 Multimedia Quality of Service (QoS)
Multimedia Systems As Presented by: Craig Tomastik.
Fundamentals of Multimedia Part III: Multimedia Communications and Networking Chapter 15 : Network Services and Protocols for Multimedia Communications.
Chapter 20: Multimedia Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 20: Multimedia Systems What is Multimedia.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 20: Multimedia Systems.
Copyright © George Coulouris, Jean Dollimore, Tim Kindberg This material is made available for private study and for direct.
Slides for Chapter 15: Distributed Multimedia Systems From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
Lecture 14: Distributed Multimedia Systems Haibin Zhu, PhD. Assistant Professor Department of Computer Science Nipissing University © 2002.
CS 582 / CMPE 481 Distributed Systems Communications (cont.)
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
1 Outline *  Introduction  Characteristics of multimedia data  Quality of service management  Resource management  Stream adaptation  Case study:
Lecture 15: Distributed Multimedia Systems Haibin Zhu, PhD. Assistant Professor Department of Computer Science Nipissing University © 2002.
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
Distributed Multimedia March 19, Distributed Multimedia What is Distributed Multimedia?  Large quantities of distributed data  Typically streamed.
XE33OSA Chapter 20: Multimedia Systems. 20.2XE33OSA Silberschatz, Galvin and Gagne ©2005 Chapter 20: Multimedia Systems What is Multimedia Compression.
Advanced Computer Networks Lecture 3 Distributed Multimedia Systems.
Univ. of TehranAdv. topics in Computer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Quality of Service Karrie Karahalios Spring 2007.
The Way Forward Factors Driving Video Conferencing Dr. Jan Linden, VP of Engineering Global IP Solutions.
Network Instruments VoIP Analysis. VoIP Basics  What is VoIP?  Packetized voice traffic sent over an IP network  Competes with other traffic on the.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Multimedia Systems.
A T M (QoS).
CS 447 Network & Data Communication QoS (Quality of Service) & DiffServ Introduction Department of Computer Science Southern Illinois University Edwardsville.
Chapter 28. Network Management Chapter 29. Multimedia
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 11: Distributed Multimedia Systems Dr. Michael R. Lyu Computer.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
NJIT 1 Distributed Multimedia Systems Coulouris, Dollimore and Kindberg, Distributed Systems, Concepts and Design, Chapter 17 Prepared by: Pravin Kumar.
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
Multiplexing Team Members: Cesar Chavez Arne Solas Steven Fong Vi Duong David Nguyen.
CONGESTION CONTROL.
Introduction Characteristics of multimedia data Quality of service management Resource management Stream adaptation Case study: the Tiger video file server.
Introduction to Quality of Service Klara Nahrstedt CS 538.
The Network Layer Congestion Control Algorithms & Quality-of-Service Chapter 5.
Chapter 20: Multimedia Systems
Instructor Materials Chapter 6: Quality of Service
Multimedia Systems Operating System Presentation On
Chapter 20: Multimedia Systems
Distributed Multimedia Systems
Klara Nahrstedt Spring 2010
Chapter 25 Multimedia TCP/IP Protocol Suite
Chapter 20: Multimedia Systems
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
CONGESTION CONTROL.
CprE 458/558: Real-Time Systems
Congestion Control, Quality of Service, & Internetworking
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Presentation transcript:

Distributed Multimedia Systems David Immordino

Introduction 4 A multimedia application is a real-time system responsible for the delivering and receiving audio and video data. 4 Real-time because the audio and video streams must be consumed at the same rate as they are generated. 4 QOS (Quality of Service) - The ability for a system to perform according to a strict schedule. 4 QOS Management - “The planned allocation and scheduling of resources to meet the needs of multimedia and other applications.”

Some Key Points 4 Multimedia systems usually co-exist with many other systems. 4 High competition with other systems for local and network resources. 4 Dynamic resource requirements. The amount of data received may vary significantly. –Dynamic number and quality of video/audio streams. 4 Local activities can occur while system is in use, also draining local resources. 4 Incorporation of all this and then allocating resources and prioritizing events is the duty of a QOS management system.

When QOS Management? 4 Some systems can get away with little QOS Management. –Web-Based Multimedia that does not have to be synchronized. Buffering is used to hide jitter, or changes in latency. –Audio conferences do not send much data, however this is interactive, therefore timing is crucial. –Video on demand systems meet requirements when client and server are dedicated, and client buffering is in place. 4 Interactive systems need significant QOS Management –Video conferencing transmits significant data (audio/video) and needs to be synchronized. –An online music rehersal where participants are in separate locations. Timing is very crucial.

Requirements for interactive Apps. 4 Low latency so interaction appears synchronous. 4 Synchronous distributed state - if one user stops a video on a certain frame all others should see the same. 4 Media synchronization - Audio and Video should be in sync. 4 External Synchronization - Visual aids should be in sync with narrative in conference apps.

Window of Scarcity 4 Window of scarcity - The quality and quantity of audio/video a system can handle before resources are insufficient. 4 Higher performance machines have a bigger window of scarcity.

Characteristics of Multimedia Data 4 Continuous –User views data as continuous. –System sees as continuous because the media is represented as sequential values corresponding with time. 4 Time-based –The data must be encoded and decoded according to a time coefficient. –Without proper timing on both ends, the data has no meaning.

Compression 4 Necessary to reduce bandwidth usage. 4 Heavy usage of resources so special purpose hardware is used. 4 Video and audio codecs (Coders/decoders) are software containing the logic to perform these operations. Data rate (approximate) Sample or frame rate size Telephone speech64 kbps8 bits8000/sec CD-quality sound1.4 Mbps16 bits44,000/sec Standard TV video (uncompressed) 120 Mbpsup to 640x 480 pixelsx 16 bits 24/sec Standard TV video (MPEG-1 compressed) 1.5 Mbpsvariable24/sec HDTV video (uncompressed) 1000–3000 Mbpsup to 1920x 1080 pixelsx 24 bits 24–60/sec HDTV video MPEG-2 compressed) 10–30 Mbpsvariable24–60/sec

QOS Management 4 Needs to guarantee accurate processing of multimedia data. 4 If the data is retrieved late, it is useless to the user. 4 In order to accomplish this, the QOS Management system needs to properly allocate resources.

QOS Subtasks 4 Quality of service negotiation –Application states requirements. –QOS Manager evaluates requirements and responds with positive or negative. –If negative, the application needs to lower requirements 4 Admission Control –If negotiation is positive, QOS system reserves resources for the app. –App may change requirements. If more resources are needed they must negotiate again, otherwise the resources not needed are released.

Flow Chart

QOS Negotiation Parameters 4 Negotiation is based on three parameters –Bandwidth - The rate at which data flows. –Latency - The time it takes for a bit to travel from one end of a system to another. A variation in latency is termed jitter. –Loss Rate - Percentage of data packets that are dropped or lost due to heavy network volume. This rate needs to be minimized so the user cannot notice the missing data. 4 The parameters are said to be interdependent (A change in one effects another).

Specification of Parameters 4 Parameters specified in ranges 4 Bandwidth: –Compression ratio is dynamic, therefore required bandwidth fluctuates. –Also burstiness changes bandwidth specs. (Different streams of data fluctuating quantities of data being transmitted). –A burst parameter may be specified. A buffer may be set aside, equivalent to the size of the burst parameter, in order to avoid loss of frames. –LBAP (Linear-Bounded Arrival Processes) model states: during any time interval t the maximum number of messages in a stream is Rt + B where R is the rate and B is the max burst size.

Specification of Parameters (cont.) 4 Latency: –If frames do not get processed quick enough, the buffer will overflow and backlogging will occur. This will increase latency. –Video conference software may set a maximum only. –Jitter is another factor. Usually taken care of by buffering. This is difficult in the case of video conferencing.

Specification of Parameters (cont.) 4 Loss Rate: –Usually calculated through probabilities of overflowing buffers and delays. –Loss Rate calculations need to include time intervals to expect the losses.

Traffic Shaping 4 When buffering is used to control the speed at which data is transmitted. 4 This is an attempt to match the transmission pattern with the description provided by the application. 4 Leaky Bucket: –An algorithm buffering the output data and making sure it is not sent faster than the specified rate. –Bursts are completely eliminated (not necessary).

Traffic Shaping (cont.) 4 Token Bucket Algorithm: –Implementation of LBAP (Linear-Bounded Arrival Processes). –Avoids eliminating bursts. If a stream has been idle for a certain amount of time, it allows a burst of information to be transmitted. –Data is generated at rate R and stored in a buffer of size B. Data can be sent according to specification as long as the desired amount of data is in the buffer. –This will ensure that data is not sent faster than the LBAP equation Rt + B

Traffic Shaping Algorithms

Flow Specifications (RFC 1363) Protocol version Maximum transmission unit Token bucket rate Token bucket size Maximum transmission rate Minimum delay noticed Maximum delay variation Loss sensitivity Burst loss sensitivity Loss interval Quality of guarantee Bandwidth: Delay: Loss:

General Negotiation Procedures 4 A QOS manager exists at each node of the system. 4 A source node sends out a Flow Spec. to its QOS manager which checks to see if it can be met. 4 The flow spec. is forwarded to all the necessary nodes in the system. 4 When the spec reaches the final destination, the source is notified if the system can meet the specs.

Admission Control 4 Controls resource access. –Preventing resource overload –Refuse resource requests when QOS guarantees are violated. 4 May allocate resources based on minimum and maximum values like the parameter specs.

Bandwidth Reservation 4 Reservation is usually made for the maximum bandwidth of a stream. 4 This idea is simple in terms of network usage, because network capacity is easily calculated. 4 However, calculations such as CPU capacity contain too many unknown variables and the margin of error is high. 4 Problem: Often times the max bandwidth is not used resulting in unused resources that may be needed by other applications.

Statistical Multiplexing 4 Uses an overbooking strategy (allocates too many resources). 4 This avoids the under-utilization of resources by providing these “soft” guarantees. 4 Provides better resource utilization because it is mainly based on average case. 4 When there are little or no resources left the system may lose quality. 4 The idea behind this is the total bandwidth stays consistent even as the different media streams vary in usage.