Quality of Service Karrie Karahalios Spring 2007.

Slides:



Advertisements
Similar presentations
DISTRIBUTED MULTIMEDIA SYSTEMS
Advertisements

Feedback Control Real-Time Scheduling: Framework, Modeling, and Algorithms Chenyang Lu, John A. Stankovic, Gang Tao, Sang H. Son Presented by Josh Carl.
1 Quality of Service Issues Network design and security Lecture 12.
Spring 2000CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
Continuous Media 1 Differs significantly from textual and numeric data because of two fundamental characteristics: –Real-time storage and retrieval –High.
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.
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.
Lab Meeting Performance Analysis of Distributed Embedded Systems Lothar Thiele and Ernesto Wandeler Presented by Alex Cameron 17 th August, 2012.
Chapter 6: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Feb 2, 2005 Chapter 6: CPU Scheduling Basic.
Operating Systems Operating System Support for Continuous Media.
Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss r RTP r Diff-serv, Int-serv, RSVP.
Bandwidth Allocation in a Self-Managing Multimedia File Server Vijay Sundaram and Prashant Shenoy Department of Computer Science University of Massachusetts.
G Robert Grimm New York University Receiver Livelock.
1 Quality of Service: for Multimedia Internet Broadcasting Applications CP Lecture 1.
Multimedia Information Systems Shahram Ghandeharizadeh Computer Science Department University of Southern California.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Advanced Computer Networks cs538, Fall UIUC
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
21. Apr INF-3190: Multimedia Protocols Quality-of-Service.
Distributed Multimedia March 19, Distributed Multimedia What is Distributed Multimedia?  Large quantities of distributed data  Typically streamed.
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.
Univ. of TehranAdv. topics in Computer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Item 2007 L A Rønningen. Quality-Aware Service Model Single autonomous service –Set of functions –Input data Output data Vectors of QoS parameter values.
Chapter 3 System Performance and Models. 2 Systems and Models The concept of modeling in the study of the dynamic behavior of simple system is be able.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Multimedia Systems.
A T M (QoS).
Distribution of Multimedia Data Over a Wireless Network (DMDoWN): An Introduction Presented By: Rafidah Md Noor Faculty of Computer Science & Information.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 21 – Case Studies for Multimedia Network Support (Layer 3) Klara Nahrstedt Spring 2009.
ATM Technologies. Asynchronous Transfer Mode (ATM) Designed by phone companies Single technology meant to handle –Voice –Video –Data Intended as LAN or.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 30 – Media Server (Part 5) Klara Nahrstedt Spring 2009.
Visualizing QoS. Background(1/2) A tremendous growth in the development and deployment of networked applications such as video streaming, IP telephony,
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Introduction to Quality of Service Klara Nahrstedt CS 538.
10. Mai 20061INF-3190: Multimedia Protocols Quality-of-Service Foreleser: Carsten Griwodz
Integrated Services & RSVP Types of pplications Basic approach in IntServ Key components Service models.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 17 – QoS Classes and Setup Operations Klara Nahrstedt Spring 2014.
Chapter 4 CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 13 – Quality of Service Concepts(Part 2) Klara Nahrstedt Spring 2009.
Chapter 20: Multimedia Systems
OPERATING SYSTEMS CS 3502 Fall 2017
REAL-TIME OPERATING SYSTEMS
Multimedia Systems Operating System Presentation On
Chapter 20: Multimedia Systems
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2010
Chapter 6: CPU Scheduling
Chapter 20: Multimedia Systems
CprE 458/558: Real-Time Systems
Module 5: CPU Scheduling
Chapter 6: CPU Scheduling
Chapter 20: Multimedia Systems
Chapter 6: CPU Scheduling
Chapter 6: CPU Scheduling
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Presentation transcript:

Quality of Service Karrie Karahalios Spring 2007

Announcements Midterm Final Projects

Distributed Multimedia System Disk NetworkCPUNetwork Application ServerClient Process Device Steps: Resources: Guarantees:

Consider End-to-End Behavior NetworkMemoryDiskCPU Apps Operating System NetworkMemoryDiskCPU Operating System MM appsAppsMM apps Meta-scheduler attempts to reserve resources to guarantee end-to-end behavior

Basic Challenges Identification Negotiation Translation Specification Enforcement

Preliminaries Real-time systems Resources Management Reservation Allocation

Real Time (RT) Process Delivers results in predictable time –not necessarily fast –requests deterministic or stochastic Correctness means –errorless computation –meeting deadlines

Deadlines Hard deadlines –cannot be violated (if so, system fault) –cost money or human life Soft deadlines –misses can be tolerated if –not too many and not missed by much Examples

Characteristics of RT Systems Predictable response times to time-critical events Accurate system clocks and timing Able to schedule almost all resources Stability under overload

RT & Multimedia To meet demands of multimedia, use RT techniques along entire data path Relative to RT –relaxes deadline requirements and allows some deadlines to be missed entirely –periodic requests ease scheduling –continuous data allows adaptive allocation

Resource Required by tasks for manipulating data –CPU, disk, memory, network, etc. A resource has a capacity –space, utilization, bandwidth A resource can be: –active or passive –exclusive or shared

Resource Management Maps multimedia requirements onto respective capacities of the system Specified through a QOS model –parameters + relaxation procedures Carried out by a resource manager –ensure adherence to QoS specification

Resource Management Time Audio Mpeg-1 Mpeg-2 Interactive Video Abundant Sufficient, but stressed Insufficient Resource Needs

Resource Reservation Test schedulability –determine if enough remaining capacity Negotiate QOS parameters –If not, determine how close it can come and when –application decides if this is acceptable Reserve resources –allocates resources to meet negotiated QoS Schedule resources –compute appropriate schedule for each resource –algorithm affects previous steps

Resource Allocation Pessimistic –reserve for the worst case –worse utilization, but more guarantees Optimistic –reserve for average or minimum needs –better utilization, but less guarantees

Quality of Service (QoS) Refers to how good provided services are –the more applications demand, the more difficult it is to meet those demands Resource management realizes QoS –better management allow better QoS Examples

Layers of QoS User Application System MM devicesNetwork user QoS application QoS system QoS network QoSdevice QoS

Layers of QoS What are the right metrics? How to specify them? How to negotiate them? User Application System MM devicesNetwork user QoS application QoS system QoS network QoSdevice QoS How to enforce them? How to translate among them?

User and Application QoS Startup time Sample rate Bits per sample Frame rate Resolution Skew relationships Response time for interaction

System QoS Quantitative Bit rate Error rate Processing time Buffer sizes Throughput Qualitative Ordered delivery Error recovery Scheduling options

Network QoS Network load –[min, avg, max] arrival times Packet/cell size Packet loss rate End-to-end delay (latency) Variability in delay (jitter)

Types of Services Guaranteed –threshold or range –deterministic or statistical Predictive –match current to historical performance Best Effort –none or only minimal guarantees

Linear Bounded Arrival Process Divides end-to-end system view into a pipeline of discrete sessions –one session corresponds to a single resource Defines parameterization of workload –arrival of messages at a particular interface A message is one unit of work –typically blocks of CM data (bytes or time) Anderson, D. Metascheduling for Continuous Media, ACM TOCS, 11(3):

LBAP Models message arrival at a resource (I) –M - max message size (bytes) –R - max message rate (messages/second) –W – workload limit (max. messages that may arrive ahead of schedule) Such that for all t 0 < t 1 N I (t 0, t 1 ) < R|t 1 – t 0 | + W

Workload Workload W(t) of an LBAP at time t is w(t) = max{0, N I (t 0, t) - R|t – t 0 | } Property 1: w(t) < W for all t Property 2: for all t 1 < t 2 ; N I (t 1, t 2 ) < w(t 2 ) – w(t 1 ) + R|t 2 – t 1 |

Graph of w(t)

Logical Arrival Time (L) Let m 0 …m n denote sequence of messages and let a 0 …a n be their arrival times L(m 0 ) = a 0 L(m i+1 )=max{a i+1, L(m i ) + 1/R}

Logical Delay Between Interfaces Logical delay d(m) of message m between two interfaces is d(m) = L 2 (m) - L 1 (m), where L i (m) is arrival time of m at interface i. Actual delay of message m may be > L(m), if m arrives ahead of schedule at I 1 < L(m), if m completed ahead of schedule at I 2

Resources and Sessions A resource handles incoming messages –arrive at input interface, delivered to output interface Clients must reserve resource –M (max message size) –R (max message rate) –W in = input max message burst (messages) –W out = output max message burst (messages) –D = max logical delay (seconds), –A = min actual delay (seconds), –U = min unbuffered time (seconds) Arrival process at input interface specified by M, R, Win Arrival process at output interface specified by M, R, Wout

Compound Session S is a sequence of sessions S 1 …S N –input of S is that of S 1 ; output is that of S N –output of S i is input to S i+1

Delay and Buffer Size d(m) = L S N (m) – L S 1 (m) < sum(d i ) Maximum shared buffer size for S W + R(D – U), D = sum(d i ); W = w(t) for S 1 –realized when there is group of W messages followed by one message every 1/R and each resource uses its full delay for each message

QoS Specification Request S with given workload parameters and smallest delay bound If system can accept session –return minimum delay, reserves resources Otherwise –increase delay bound based on cost function –repeat request for S until allocated (or not)

Take Home Exercise Discuss tradeoffs of allowing people to pay for different qualities of service