“A cost-based admission control algorithm for digital library multimedia systems storing heterogeneous objects” – I.R. Chen & N. Verma – The Computer Journal.

Slides:



Advertisements
Similar presentations
Adaptive QoS Control Based on Benefit Optimization for Video Servers Providing Differential Services Ing-Ray Chen, Sheng-Yun Li, I-Ling Yen Presented by.
Advertisements

Hadi Goudarzi and Massoud Pedram
Continuous Media 1 Differs significantly from textual and numeric data because of two fundamental characteristics: –Real-time storage and retrieval –High.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 19 Scheduling IV.
Chapter 5 CPU Scheduling. CPU Scheduling Topics: Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling.
CS-3013 & CS-502, Summer 2006 Multimedia topics (continued)1 Multimedia Topics (continued) CS-3013 & CS-502 Operating Systems.
Scheduling in Batch Systems
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.
End-to-End Analysis of Distributed Video-on-Demand Systems P. Mundur, R. Simon, and A. K. Sood IEEE Transactions on Multimedia, Vol. 6, No. 1, Feb 2004.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Fair Scheduling in Web Servers CS 213 Lecture 17 L.N. Bhuyan.
Bandwidth Allocation in a Self-Managing Multimedia File Server Vijay Sundaram and Prashant Shenoy Department of Computer Science University of Massachusetts.
02/11/2004CSCI 315 Operating Systems Design1 CPU Scheduling Algorithms Notice: The slides for this lecture have been largely based on those accompanying.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
MM File Management Karrie Karahlaios and Brian P. Bailey Spring 2007.
Dynamic and Decentralized Approaches for Optimal Allocation of Multiple Resources in Virtualized Data Centers Wei Chen, Samuel Hargrove, Heh Miao, Liang.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Simulation of Memory Management Using Paging Mechanism in Operating Systems Tarek M. Sobh and Yanchun Liu Presented by: Bei Wang University of Bridgeport.
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-3 CPU Scheduling Department of Computer Science and Software Engineering.
1 Multimedia Storage Issues. NUS.SOC.CS5248 OOI WEI TSANG 2 Media vs. Documents large file size write once, read many deadlines!
On QoS Guarantees with Reward Optimization for Servicing Multiple Priority Class in Wireless Networks YaoChing Peng Eunyoung Chang.
Distributing Layered Encoded Video through Caches Authors: Jussi Kangasharju Felix HartantoMartin Reisslein Keith W. Ross Proceedings of IEEE Infocom 2001,
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Budget-based Control for Interactive Services with Partial Execution 1 Yuxiong He, Zihao Ye, Qiang Fu, Sameh Elnikety Microsoft Research.
1 [3] Jorge Martinez-Bauset, David Garcia-Roger, M a Jose Domenech- Benlloch and Vicent Pla, “ Maximizing the capacity of mobile cellular networks with.
Elastic Threshold-based Admission Control for QoS Satisfaction in Wireless Networks with Reward Optimization for Multiple Priority Classes April 6, 2010.
Scheduling. Alternating Sequence of CPU And I/O Bursts.
Quality of Service Karrie Karahalios Spring 2007.
Utilizing Call Admission Control for Pricing Optimization of Multiple Service Classes in Wireless Cellular Networks Authors : Okan Yilmaz, Ing-Ray Chen.
CPU Scheduling CSCI 444/544 Operating Systems Fall 2008.
A Comparison of Layering and Stream Replication Video Multicast Schemes Taehyun Kim and Mostafa H. Ammar Networking and Telecommunications Group Georgia.
Silberschatz and Galvin  Operating System Concepts Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor.
Admission Control Algorithms for Revenue Optimization with QoS Guarantees in Mobile Wireless Networks Authors: I.R. Chen, O. Yilmaz and I.L. Yen Presented.
An Optimal Service Ordering for a World Wide Web Server A Presentation for the Fifth INFORMS Telecommunications Conference March 6, 2000 Amy Csizmar Dalal.
A Cyclic-Executive-Based QoS Guarantee over USB Chih-Yuan Huang,Li-Pin Chang, and Tei-Wei Kuo Department of Computer Science and Information Engineering.
Competitive Queue Policies for Differentiated Services Seminar in Packet Networks1 Competitive Queue Policies for Differentiated Services William.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Cello A Disk Scheduling Framework for Next Generation Operating Systems – Prashant J. Shenoy and Harrick M. Vin Presented by Evan Clark September 8, 2003.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
1 11/29/2015 Chapter 6: CPU Scheduling l Basic Concepts l Scheduling Criteria l Scheduling Algorithms l Multiple-Processor Scheduling l Real-Time Scheduling.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 30 – Media Server (Part 5) Klara Nahrstedt Spring 2009.
Chapter 5: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Feb 2, 2005 Chapter 5: CPU Scheduling Basic.
An Optimal Distributed Call Admission control for Adaptive Multimedia in Wireless/Mobile Networks Reporter: 電機所 鄭志川.
Silberschatz and Galvin  Operating System Concepts Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 5 CPU Scheduling Slide 1 Chapter 5 CPU Scheduling.
Multimedia Computing and Networking Jan Reduced Energy Decoding of MPEG Streams Malena Mesarina, HP Labs/UCLA CS Dept Yoshio Turner, HP Labs.
NUS.SOC.CS5248 Ooi Wei Tsang 1 Course Matters. NUS.SOC.CS5248 Ooi Wei Tsang 2 Make-Up Lecture This Saturday, 23 October TR7, 1-3pm Topic: “CPU scheduling”
1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling.
Chapter 4 CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
CPU Scheduling G.Anuradha Reference : Galvin. CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time.
1 Module 5: Scheduling CPU Scheduling Scheduling Algorithms Reading: Chapter
Basic Concepts Maximum CPU utilization obtained with multiprogramming
Dynamic Resource Allocation for Shared Data Centers Using Online Measurements By- Abhishek Chandra, Weibo Gong and Prashant Shenoy.
Multimedia Systems Operating System Presentation On
CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 5)
The Impact of Replacement Granularity on Video Caching
Chapter 6: CPU Scheduling
CPU Scheduling G.Anuradha
Module 5: CPU Scheduling
Provision of Multimedia Services in based Networks
Operating System Concepts
Chapter3 Memory Management Techniques
3: CPU Scheduling Basic Concepts Scheduling Criteria
Chapter 6: CPU Scheduling
Scheduling of Regular Tasks in Linux
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Scheduling of Regular Tasks in Linux
Presentation transcript:

“A cost-based admission control algorithm for digital library multimedia systems storing heterogeneous objects” – I.R. Chen & N. Verma – The Computer Journal – Vol. 46, No. 6, Oct. 2003, pp Andy Connors

Abstract Multimedia Systems Mixed workloads – Video, Images & Text Cost-based admission control algorithm Based on rewards & penalties Resource reservation instead of serving requests until all resources exhausted Reservation based on maximizing total reward Exploit left over resources Simulate algorithm and compare to other schemes

Multimedia System

Challenge Service mixed workloads Real-time video/audio request – resource demanding and varying data rates Discrete media – images and text Need algorithm to “squeeze” in image & text requests without affecting QoS of video requests However, 70% of data types on Web are image & text

Previous algorithms Video taking higher priority over image/text data not justified as 70% of requests are image/text not video Shenoy & Vin – two-level disk scheduling framework Level 1: class-independent scheduler – assign bandwidth to application classes – used to dynamically allocate bandwidth to adapt to workload changes – no details on adaption scheme Level 2: class-specific scheduler – order requests into a common queue for access – minimizes seek time and rotational latency overhead – satisfies QoS requirements of each class – discussed in detail To & Hamidzadeh – Continious Media-to-Discrete Media redirection ratio Redirect bandwidth from CM to DM Allocate more buffer space to CM – reduces admissible CM requests Optimize disk reads Use leftover bandwidth for DM requests How much bandwidth to move from CM to DM requests?

Basic Idea Dynamically partition resources based on run- time workload changes Maximize value metric Ensuring that response time requirements met Image/text have “own” resources rather than use “leftovers” Assign value/penalty pair to each request Value: reward if serviced successfully Penalty: loss if service rejected due to lack of resources High value → video higher priority over image/text

Multimedia Server Model Cycle based disk scheduling: All requests serviced in T SR – service round duration Image/text either serviced after video/audio or interleaved – use interleaving to minimize disk seek time and latency Video/audio requests As many data blocks as covered by T SR Double buffered – disk buffer & network buffer Image/text requests As many blocks to cover requests object SCAN algorithm: Requests ordered and heads traverse in one direction only Minimizes seek time

Refresher - Scan Algorithm

Resource Partitioning Text/images serviced in batch Depart at end of service cycle Two FIFO queues, one for text, other for images Statistics of each multimedia object Distribution of all images and text objects Histogram of distribution of size needed to satisfy playback Partition T SR into three parts – video, image and text Based on cost & workload Estimate maximum amount of resources allocated to each type Use left-over time to service more image/text requests

Performance Metric Maximize reward without compromising QoS (bandwidth & response time) Reward rate v V N V + v I N I + v T N T - q V M V + q I M I + q T M T N {V,I,T} = requests completed per unit time M {V,I,T} = requests rejects per unit time v {V,I,T} = average reward values q {V,I,T} = average penalty values

Algorithm Use models derived from queing theory Build lookup table for run-time bandwidth allocation Estimation of reward rate under given workload condition Best bandwidth allocation to maximize reward rate f {V,I,T} = ratio of disk bandwidth for video, image & text requests f V + f I + f T = 1 (when normalized) Service times: f {V,I,T} T SR = disk service time Use statistical admission control to compute number of requests of each type so that probability of disk overload is below a threshold (10 -4 ) (f V, f I, f T ) → (n V, n I, n T ) System behaves like three separate partitions – three queues For image/text requests n {I,T} image/text requests per T SR Total of K {I,T} * n {I,T} image/text requests – K {I,T} = maximum queue size for image/text requests – can use requests in queue to use left-over bandwidth – K {I,T} depends on QoS

Video Request Model M/M/ n V /n V queue each video stream acts as if served by separate server until departs V,  V = arrival/departure rate of video requests

Video Request Model P v (j) = probability that j video out of n V slots occupied 0 ≤ j ≤ n V V,  V = arrival/departure rate of video requests

Video Request Reward With probability P v (j), reward rate = j* v V *  V So total reward gained =  j v V  V P v (j) Rejection rate = V P v (n V ) Lost reward = q V V P v (n V ) Reward rate from video = R V R V = (  j v V  V P v (j) ) - q V V P v (n V )

Image & Text Model For K {I,T} ≥1 - M/M/ 1 [n {I,T} ] / K {I,T}* n {I,T} queue Let K {I,T} = 2

Image & Text Model P I (j) = probability that j video out of n V slots occupied 0 ≤ j ≤ n I I,  I = arrival/departure rate of video requests Let K I = 1

Image & Text Model P I (j) = probability that j video out of n V slots occupied 0 ≤ j ≤ n I I,  I = arrival/departure rate of video requests Let K I = 2

Image/Text Request Reward With probability P I (j) reward rate = j*v I *  I if j < n I n I *v I *  I if j ≥ n I Rejection rate = I P I (K I n I ) Lost reward = q I I P I (K I n I ) Reward rate from video = R I R I = (  jv I  I P I (j) ) + (  n I v I  I P I (j) ) - q I I P I ( K I n I ) j = 1 … n I -1 j = n I … K I n I

Maximizing Reward Given V,  V, I,  I, T,  T,v V,q V,v I,q I,v T,q T Maximize R by searching for optimal (n V, n I, n T ) → (n* V, n* I, n* T ) Subject to condition (normalized to text requests) Here N V, N I, N T are maximum number of requests that can be served of each type (if all bandwidth allocated to each type) To use total disk bandwidth

Search Exhaustive Search all possible solutions Complexity O(N T 2 ) Once found all solutions build lookup table Nearest Neighbor When N T is too large and exhaustive is computationally too expensive Complexity O(N T ) Fix one n V, n I, n T then next etc. Heuristic – largest product of arrival rate and reward selected first

Admission Control Algorithm Use lookup table to dynamically change to a set of (n* V, n* I, n* T ) depending on workload By monitoring input rates Use for admission control Worst case response time for image and text is K {I,T} T SR Use common schedule queue for disk requests If total schedule time < T SR use image/text at head of respective queues to use up remaining time by moving to common queue Probablity that image will be placed on queue f * I / (f * I + f * T ) And for text f * T / (f * I + f * T )

Analysis Numerical analysis of reservation system Parameters: Disk Array 4 disks Average seek time = 11ms Rotational latency of 5.5ms Read/write rate  = 33.3MBps T SR = 1 Block size = 4 sectors (512bytes) = 2Kbytes Images Evenly distributed across [10kB, 500kB] Text Evenly istributed across [1kB, 50kB] Video Star Wars – 7200 groups of pictures = 0.5s playback time 12 frames per group Calculate N V = 53, N I = 37, N T = 57 Simulate V in range [10,100] arrivals/min, V in range [100,2000], I in range [100,2000]

Other schemes Compare with other algorithms: Video First Highest priority to video requests Left-overs used for image/text (n V, n I, n T ) = (N V, 0, 0) Use queue sizes of K {I,T} n* {I,T} Greedy Allocates disk in proportion to product of reward and arrival rate (n V, n I, n T ) = (,, )

Analysis Results

Effect of Arrival Rates Effect of varying image/text arrival rates as video arrival rate increases For lower image/text rates reward rate increases as video rates increase until hit a maximum where we see a decrease For higher image/text rates Steadingly decreases due to rejects

Effect Of Video Departure Rate Using varying video departure rates shows effect on increasing video arrival rate At higher departure rates See an increase in reward rate as arrival rate increases until a threshold where server is heavily loaded and rejects requests At lower Video requests stay in system for longer time and so system admits fewer requests

Effect Of Video Reward Value Using varying video reward values shows effect on increasing video arrival rate At higher reward rates Systems admits more requests – threshold shifts higher

Results – Reward Rate Under light loads Close to predicted lower- bound reward rates At higher loads Higher than calculated – due to effect of using left-over bandwidth which is more pronounced at higher loads In limit Returns back to theoretical as text/image queues are full and consume all server resources Same as video-first at lower loads as system can accommodate most users at these loads At higher loads Out performs both video-first and greedy algorithms

Results – Response Time Under light loads Close to other algorithms At higher loads As explicitly allocate time for image/text request see better response times than video-first – difference between 1s and 5s Greedy favors video/text and so has better response times – but compares favorably

Results – Utilization Does not show greedy algorithm as shows same trends as reservation algorithm For video-first Higher utilization for video requests – lower for image/text For reservation Better utilization for image/text Lower for video

Results – Rejection Rates At higher loads Rejects fewer image/text requests than video-first or greedy Achieved by rejecting more video requests Video-first rejects 0 video requests but a high number of image/text

Conclusions Significant improvement in reward rate compared to video-first and greedy algorithms Without sacrificing performance metrics such as response time & system utilization