CS 414 - Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012.

Slides:



Advertisements
Similar presentations
DISTRIBUTED MULTIMEDIA SYSTEMS
Advertisements

Streaming Video over the Internet
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 3) Klara Nahrstedt Spring 2009.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 16 – Multimedia Transport Subsystem (Part 3) Klara Nahrstedt Spring 2009.
T.Sharon-A.Frank 1 Multimedia Quality of Service (QoS)
Multimedia Systems As Presented by: Craig Tomastik.
Chapter 20: Multimedia Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 20: Multimedia Systems What is Multimedia.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 20: Multimedia Systems.
Distributed Multimedia Systems
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 15 –QoS Admission, QoS Negotiation, and Establishment of AV Connections Klara Nahrstedt.
Multimedia Streaming Protocols1 Multimedia Streaming: Jun Lu Xinran (Ryan) Wu CSE228 Multimedia Systems Challenges and Protocols.
A Quality-Driven Decision Engine for Live Video Transmission under Service-Oriented Architecture DALEI WU, SONG CI, HAIYAN LUO, UNIVERSITY OF NEBRASKA-LINCOLN.
Multimedia Over Internet. Growth of Internet ● No production cost ● Low cost infrastructure ● No fees for joining or licenses to buy ● Choice of products.
EE442—Multimedia Networking Jane Dong California State University, Los Angeles.
SWE 423: Multimedia Systems Chapter 7: Data Compression (1)
Bandwidth Allocation in a Self-Managing Multimedia File Server Vijay Sundaram and Prashant Shenoy Department of Computer Science University of Massachusetts.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Advanced Computer Networks cs538, Fall UIUC
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 32 – Media Server (Part 2) Klara Nahrstedt Spring 2012.
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
21. Apr INF-3190: Multimedia Protocols Quality-of-Service.
Page 15/25/2016 CSE 40373/60373: Multimedia Systems QoS Classes  Guaranteed Service Class  QoS guarantees are provided based on deterministic and statistical.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 28 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
Page 110/4/2015 CSE 40373/60373: Multimedia Systems Quality of Service  Quality of service measures the kind of service provided by the system  On systems.
XE33OSA Chapter 20: Multimedia Systems. 20.2XE33OSA Silberschatz, Galvin and Gagne ©2005 Chapter 20: Multimedia Systems What is Multimedia Compression.
Distributed Multimedia Systems David Immordino. Introduction 4 A multimedia application is a real-time system responsible for the delivering and receiving.
Advanced Computer Networks Lecture 3 Distributed Multimedia Systems.
Introduction to Quality of Service. Engineering Internet QoS2  What is QoS?  Why QoS?  Large Bandwidth vs QoS?  Networking Trends Leading to QoS 
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
1 Introduction to Multimedia Networking. 2 What is Multimedia ?  Information Perception from External World  Scene: 60%  Sound: 20%  Touch(feel):
Quality of Service Karrie Karahalios Spring 2007.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Multimedia Systems.
A T M (QoS).
MP 2: Audio/ Video Streaming
Distribution of Multimedia Data Over a Wireless Network (DMDoWN): An Introduction Presented By: Rafidah Md Noor Faculty of Computer Science & Information.
E0262 MIS - Multimedia Playback Systems Prof Pallapa Venkataram, Electrical Communication Engineering, Indian Institute of Science, Bangalore – ,
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 21 – Case Studies for Multimedia Network Support (Layer 3) Klara Nahrstedt Spring 2009.
Chapter 28. Network Management Chapter 29. Multimedia
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 20 – TCP Augmentations for Multimedia & Midterm Review Session Klara Nahrstedt Spring 2009.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 22 – Multimedia Session Protocols Klara Nahrstedt Spring 2014.
Klara Nahrstedt Spring 2012
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 20 – Multimedia Session Protocols Klara Nahrstedt Spring 2012.
MP 2: Audio/ Video Streaming CS414: Multimedia System Instructor: Klara Nahrstedt March 16, 2012.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 1) Klara Nahrstedt Spring 2012.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 30 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
MP3: Multi-Source Streaming System Instructor: Klara Nahrstedt April 18, 2014 CS414.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 16 – Multimedia Transport (Part 2) Klara Nahrstedt Spring 2011.
Introduction to Quality of Service Klara Nahrstedt CS 538.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 19 – Multimedia Transport Subsystem (Part 2) + Midterm Review Klara Nahrstedt Spring 2014.
10. Mai 20061INF-3190: Multimedia Protocols Quality-of-Service Foreleser: Carsten Griwodz
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 17 – QoS Classes and Setup Operations Klara Nahrstedt Spring 2014.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 17 – Multimedia Transport Subsystem (Part 3) Klara Nahrstedt Spring 2011.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 34 – Synchronization (Part 2) Klara Nahrstedt Spring 2009.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 13 – Quality of Service Concepts(Part 2) Klara Nahrstedt Spring 2009.
Chapter 20: Multimedia Systems
Klara Nahrstedt Spring 2012
Chapter 20: Multimedia Systems
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2012
Klara Nahrstedt Spring 2010
Chapter 20: Multimedia Systems
Overview What is Multimedia? Characteristics of multimedia
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Presentation transcript:

CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012

CS Spring 2012 Administrative Reading: “Multimedia Systems”, Steinmetz and Nahrstedt, Springer 2004, Chapter 2 HW1 posted on Wednesday, February 22.  HW1 due on Thursday, March 1.

Outline AV Requirements - Real-time AV Requirements on Multimedia Communication and Operating Systems Resource management  Resources  Quality of Service (QoS) Concept  Operations CS Spring 2012

Integrating Aspects of Multimedia CS Spring 2012 Image/Video Capture Image/Video Information Representation Media Server Storage Transmission Compression Processing Audio/Video Presentation Playback Audio/Video Perception/ Playback Audio Information Representation Transmission Audio Capture A/V Playback

Integrating Aspects of Multimedia CS Spring 2012 Image/Video Capture Image/Video Information Representation Media Server Storage Transmission Compression Processing Audio/Video Presentation Playback Audio/Video Perception/ Playback Audio Information Representation Transmission Audio Capture A/V Playback

Integrating Aspects of Multimedia CS Spring 2012 Image/Video Capture Image/Video Information Representation Media Server Storage Transmission Compression Processing Audio/Video Presentation Playback Audio/Video Perception/ Playback Audio Information Representation Transmission Audio Capture A/V Playback

For Next Four Weeks we will cover Transmission/Networks of Multimedia CS Spring 2012 Image/Video Capture Image/Video Information Representation Media Server Storage Transmission Compression Processing Audio/Video Presentation Playback Audio/Video Perception/ Playback Audio Information Representation Transmission Audio Capture A/V Playback

Multimedia System/Network CS Spring 2012 Network MM Application OS/Distributed Systems/Network MM Application OS/DS/Network Sender/Server Receiver/Client Capture AV Code AV Display AV Decode AV Stream AV, Sync AV, Schedule AV, Queue/Buffer AV, Shape AV, Manage AV, Route AV, Retrieve AV, Pre-fetch/Cache AV, Record AV

AV Requirements: Real-Time and Deadlines Real-time system – system in which correctness of computation depends not only on obtaining the right results, but also providing them on time  Examples: control of temperature in a chemical plant; control of a flight simulator Deadline – represents the latest acceptable time for the result delivery  Soft deadlines versus hard deadlines CS Spring 2012

AV Requirements: Real-Time and Multimedia Difference between RT requirements for traditional RT systems and Multimedia systems  Soft deadlines versus hard deadlines  Periodic behavior versus random behavior  Bandwidth requirements CS Spring 2012

Layered Partition of Multimedia Systems with respect to Required Resources and Individual Services CS Spring 2012

AV Requirements on MM Systems and Networks Transport system – guaranteed delivery with respect to metrics such as delay, reliability, bandwidth requirements OS process management – real-time processing of continuous data, communication and synchronization between processes/ threads CS Spring 2012

AV Requirements on MM Systems and Networks (2) Memory/Buffer management – guaranteed timing delay and efficient data manipulation File system/Media Servers – transparent and guaranteed continuous retrieval of audio/video Device management – integration of audio and video CS Spring 2012

Result of AV Requirements Need Resource Management to coordinate  Transport/Network Resources,  CPU/OS Resources  Memory/Buffer Resources  Storage/Disk Resources  Device Resources CS Spring 2012

Resource Management ( Why do we need resource management?) Limited capacity in digital distributed systems despite data compression and usage of new technologies Need adherence for processing of continuous data by every hardware and software component along the data path Competition for resources exist in an integrated multimedia system CS Spring 2012

Window of Resources CS Spring 2012 Network File access High-quality Audio HDTV Interactive HDTV-quality multi-view video abundant Sufficient Sufficient but Scarce to Sufficient Insufficient - Sufficient But scarce insufficient Sufficient But scarce insufficient Sufficient To abundant insufficient sufficient Requirements Hardware support

Quality of Service (How to parameterize services?) To manage resources, we need services over resources  to schedule AV data, to shape access for AV data, to process AV data, to move AV data, etc. Multimedia systems consist of set of AV-specific services  Processing (media-related) services: retrieve audio/video, record video/audio, compress audio/video, fast forward video, rewind video  Transport (network) services: Stream video, fast forward video, rewind video To provide multimedia services, services get parameterized with quality levels called Quality of Service CS Spring 2012

Examples of A/V QoS Parameters QoS for Audio service: Sample rate – 8000 samples/second (8KHz), 44.1 KHz Sample resolution – 8 bits per sample, 16 bits per sample QoS for Video service: Video frame rate – 25 frames per second, 30 frames per second Frame Period – 40 ms, 30 ms, 25 ms, … Frame resolution – 320x240 pixels, 640x480 pixels, 1920x1080 pixels, … Pixel resolution – 24 bits per pixel, 8 bits per pixel Frame size – 64KB Compression rate – 8:1 CS Spring 2012

Examples of Network QoS QoS for network service: Throughput – Number of bits per second  e.g., 100 Mbps (Ethernet throughput) – level 1  e.g., 10 Mbps (WiFi throughput) – level 2  e.g., 128 kbps (ISDN throughput) – level 3 Connection setup time – time how long it take to connect the sender and receiver  e.g., 50 ms, 10 ms, … End-to-End Delay – time interval from the time packet is sent from the sender until the time it is received at the receiver (T receive – T send )  e.g., 80 ms, 100 ms, 160 ms CS Spring 2012

Layered Model for QoS CS Spring 2012 Quality of Experience Quality of Service

Application QoS Parameters CS Spring 2012

System QoS Parameters CS Spring 2012

Network QoS Parameters CS Spring 2012

QoS Classes Guaranteed Service Class  QoS guarantees are provided based on deterministic and statistical QoS parameters Predictive Service Class  QoS parameter values are estimated and based on the past behavior of the service Best Effort Service Class  There are no guarantees or only partial guarantees are provided CS Spring 2012

QoS Classes (cont.) CS Spring 2012 QoS Class determines: (a) reliability of offered QoS, (b) utilization of resources

Single Value: QoS 1 – average (QoS ave ), contractual value, threshold value, target value Throughput – 10 Mbps Pair Value: with QoS 1 – required value; QoS 2 – desired value ; Throughput - Mbps CS Spring 2012 Deterministic QoS Parameters

Deterministic QoS Parameter Values Triple of Values  QoS 1 – best value  QoS 2 – average value  QoS 3 – worst value Example: , where QoS is network bandwidth  Throughput Mbps CS Spring 2012

Guaranteed QoS We need to provide 100% guarantees for QoS values (hard guarantees) or very close to 100% (soft guarantees) Current QoS calculation and resource allocation are based on: 1. Hard upper bounds for imposed workloads 2. Worst case assumptions about system behavior 1. Advantages: QoS guarantees are satisfied even in the worst case case (high reliability in guarantees) 2. Disadvantage: Over-reservation of resources, hence needless rejection of requests CS Spring 2012

Predictive QoS Parameters We utilize QoS values (QoS 1,..QoS i ) and compute average  QoS bound step at K>i is QoS K = 1/i*∑ j QoS j We utilize QoS values (QoS 1,, QoS i ) and compute maximum value  QoS K = max j=1,…i (QoS j ) We utilize QoS values (QoS 1,, QoS i ) and compute minimum value  QoS K = min j=1,…i (QoS j ) CS Spring 2012

Best Effort QoS No QoS bounds or possible very weak QoS bounds Advantages: resource capacities can be statistically multiplexed, hence more processing requests can be granted Disadvantages: QoS may be temporally violated CS Spring 2012

Relation between QoS and Resources CS Spring 2012 Translation, Scaling, Negotiation Reservation Admission Scheduling, Rate Control Flow Control, Congestion Control, Adaptation

Conclusion QoS – an important concept in multimedia systems Very different types of QoS parameters and values Important relation between QoS and Resources Need to understand operations on QoS and their impact on resource management CS Spring 2012