1 Better Scalable Algorithms for Broadcast Scheduling Ravishankar Krishnaswamy Carnegie Mellon University Joint work with Nikhil Bansal and Viswanath Nagarajan.

Slides:



Advertisements
Similar presentations
Online Algorithm Huaping Wang Apr.21
Advertisements

Tight Bounds for Online Class- constrained Packing Hadas Shachnai Bell Labs and The Technion IIT Tami Tamir The Technion IIT.
Class-constrained Packing Problems with Application to Storage Management in Multimedia Systems Tami Tamir Department of Computer Science The Technion.
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Approximation Algorithms for Capacitated Set Cover Ravishankar Krishnaswamy (joint work with Nikhil Bansal and Barna Saha)
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
N. Bansal 1, M. Charikar 2, R. Krishnaswamy 2, S. Li 3 1 TU Eindhoven 2 Princeton University 3 TTIC Midwest Theory Day, Purdue, May 3, 2014.
Scheduling with Outliers Ravishankar Krishnaswamy (Carnegie Mellon University) Joint work with Anupam Gupta, Amit Kumar and Danny Segev.
Power Management Algorithms An effort to minimize Processor Temperature and Energy Consumption.
2007/3/6 1 Online Chasing Problems for Regular n-gons Hiroshi Fujiwara* Kazuo Iwama Kouki Yonezawa.
1 Online and Stochastic Survivable Network Design Ravishankar Krishnaswamy Carnegie Mellon University joint work with Anupam Gupta and R. Ravi.
The number of edge-disjoint transitive triples in a tournament.
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
An O(1) Approximation Algorithm for Generalized Min-Sum Set Cover Ravishankar Krishnaswamy Carnegie Mellon University joint work with Nikhil Bansal (IBM)
Self-Organizing Lists1 Self-Organizing Lists Competitive Analysis Lee Wee Sun SoC Modified by Orgad Keller Modified again by.
Bin Packing With Fragile Objects Nikhil Bansal (CMU) Joint with Zhen Liu (IBM) & Arvind Sankar(MIT)
1 Ecole Polytechnque, Nov 7, 2007 Scheduling Unit Jobs to Maximize Throughput Jobs:  all have processing time (length) = 1  release time r j  deadline.
Online Algorithms Motivation and Definitions Paging Problem Competitive Analysis Online Load Balancing.
Guaranteed Smooth Scheduling in Packet Switches Isaac Keslassy (Stanford University), Murali Kodialam, T.V. Lakshman, Dimitri Stiliadis (Bell-Labs)
Online Oblivious Routing Nikhil Bansal, Avrim Blum, Shuchi Chawla & Adam Meyerson Carnegie Mellon University 6/7/2003.
What we will cover…  CPU Scheduling  Basic Concepts  Scheduling Criteria  Scheduling Algorithms  Evaluations 1-1 Lecture 4.
1 Scheduling on Heterogeneous Machines: Minimize Total Energy + Flowtime Ravishankar Krishnaswamy Carnegie Mellon University Joint work with Anupam Gupta.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Preference Analysis Joachim Giesen and Eva Schuberth May 24, 2006.
1 Scheduling Jobs with Varying Parallelizability Ravishankar Krishnaswamy Carnegie Mellon University.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Priority Models Sashka Davis University of California, San Diego June 1, 2003.
Minimizing Flow Time on Multiple Machines Nikhil Bansal IBM Research, T.J. Watson.
Online Function Tracking with Generalized Penalties Marcin Bieńkowski Institute of Computer Science, University of Wrocław, Poland Stefan Schmid Deutsche.
Improved results for a memory allocation problem Rob van Stee University of Karlsruhe Germany Leah Epstein University of Haifa Israel WADS 2007 WAOA 2007.
1/24 Algorithms for Generalized Caching Nikhil Bansal IBM Research Niv Buchbinder Open Univ. Israel Seffi Naor Technion.
Approximation Algorithms for Stochastic Combinatorial Optimization Part I: Multistage problems Anupam Gupta Carnegie Mellon University.
Primal-Dual Meets Local Search: Approximating MST’s with Non-uniform Degree Bounds Author: Jochen Könemann R. Ravi From CMU CS 3150 Presentation by Dan.
Yossi Azar Tel Aviv University Joint work with Ilan Cohen Serving in the Dark 1.
Speed Scaling to Manage Energy and Temperature Nikhil Bansal (IBM Research) Tracy Kimbrel (IBM) and Kirk Pruhs (Univ. of Pittsburgh)
Trust-Aware Optimal Crowdsourcing With Budget Constraint Xiangyang Liu 1, He He 2, and John S. Baras 1 1 Institute for Systems Research and Department.
9/8/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova, K. Wayne Adam Smith Algorithm Design and Analysis L ECTURE 6 Greedy Algorithms.
1 Pruhs, Woeginger, Uthaisombut 2004  Qos Objective: Minimize total flow time  Flow time f i of a job i is completion time C i – r i  Power Objective:
1 Server Scheduling in the L p norm Nikhil Bansal (CMU) Kirk Pruhs (Univ. of Pittsburgh)
Approximation Algorithms for Knapsack Problems 1 Tsvi Kopelowitz Modified by Ariel Rosenfeld.
Scheduling policies for real- time embedded systems.
Packing Rectangles into Bins Nikhil Bansal (CMU) Joint with Maxim Sviridenko (IBM)
A Maiden Analysis of Longest Wait First Jeff Edmonds York University Kirk Pruhs University of Pittsburgh.
Integrating JASMine and Auger Sandy Philpott Thomas Jefferson National Accelerator Facility Jefferson Ave. Newport News, Virginia USA 23606
Competitive Queue Policies for Differentiated Services Seminar in Packet Networks1 Competitive Queue Policies for Differentiated Services William.
Approximation Schemes Open Shop Problem. O||C max and Om||C max {J 1,..., J n } is set of jobs. {M 1,..., M m } is set of machines. J i : {O i1,..., O.
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
Guaranteed Smooth Scheduling in Packet Switches Isaac Keslassy (Stanford University), Murali Kodialam, T.V. Lakshman, Dimitri Stiliadis (Bell-Labs)
A polylog competitive algorithm for the k-server problem Nikhil Bansal (IBM) Niv Buchbinder (Open Univ.) Aleksander Madry (MIT) Seffi Naor (Technion)
Instructor Neelima Gupta Table of Contents Factor 2 algorithm for Bin Packing Factor 2 algorithm for Minimum Makespan Scheduling Reference:
A Optimal On-line Algorithm for k Servers on Trees Author : Marek Chrobak Lawrence L. Larmore 報告人:羅正偉.
1 Chapter 5-1 Greedy Algorithms Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Minimizing Response time in Broadcast Scheduling Nikhil Bansal Don Coppersmith and Maxim Sviridenko.
© The McGraw-Hill Companies, Inc., Chapter 12 On-Line Algorithms.
1 Windows Scheduling as a Restricted Version of Bin-packing. Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
Inapproximability of the Multi- Level Facility Location Problem Ravishankar Krishnaswamy Carnegie Mellon University (joint with Maxim Sviridenko)
Multicast Pull Scheduling Kirk Pruhs. The Big Problem Movie Distribution Database Replication via Internet Harry Potter Book Download Software Download.
1 Approximation Algorithms for Generalized Min-Sum Set Cover Ravishankar Krishnaswamy Carnegie Mellon University joint work with Nikhil Bansal and Anupam.
Ben Moseley Sungjin Im Goals of Talk  Make you aware of/interested in broadcast sched  Highlight known results, key open questions, some recent results.
1 Approximation Algorithms for Generalized Scheduling Problems Ravishankar Krishnaswamy Carnegie Mellon University joint work with Nikhil Bansal, Anupam.
11 -1 Chapter 12 On-Line Algorithms On-Line Algorithms On-line algorithms are used to solve on-line problems. The disk scheduling problem The requests.
Models of Greedy Algorithms for Graph Problems Sashka Davis, UCSD Russell Impagliazzo, UCSD SIAM SODA 2004.
Scheduling Parallel DAG Jobs to Minimize the Average Flow Time K. Agrawal, J. Li, K. Lu, B. Moseley.
Data Driven Resource Allocation for Distributed Learning
Chapter 6: CPU Scheduling
Dynamic and Online Algorithms for Set Cover
University of Pittsburgh
University of Pittsburgh
On Approximating Covering Integer Programs
Presentation transcript:

1 Better Scalable Algorithms for Broadcast Scheduling Ravishankar Krishnaswamy Carnegie Mellon University Joint work with Nikhil Bansal and Viswanath Nagarajan (IBM T. J. Watson Research Lab)

Outline Motivation, Problem Definition Existing Results, Our Results A Weaker Approximation/ Analysis Conclusion 2

Motivation: Client-Server System ClientsServer Page A at time 1 Page B at time 1 Page A at time 2 Page C at time 3 Page A at time 3 Page A Page BPage CPage A broadcast

Motivation: Formalizing Consider a server which has n unit-sized pages – Requests for these pages arrive online, over time – At each time slot, we can broadcast one page All pending requests for that page are satisfied How do we schedule to minimize average response time of requests 4

Online Broadcast Scheduling Input – A collection of n pages – A request sequence arrives online Request r: arrival time a(r), requested page p(r) Output – A broadcast of pages, one at a time Objective Function – Minimize Average Response Time – Minimize Maximum Response Time –…–… This Talk

A Concrete Example Instance has 3 pages ABCABC ABC AB B ABC Total Response Time: = 12 A Total Response Time: = 8

Existing Results (Average Response Time) In the offline setting O(log 2 n)-approximation algorithm [BCS06] In the online setting very strong lower bounds if no speed-up (2+ є ) speed-up, O(1/ є 2 )-competitive[EP09] (1+ є ) speed-up, O(1/ є 11 )-competitive[IM10] (works only for unit-size pages)

Our Results 8 A very simple (1+є) speed, O(1/є 3 )-competitive online algorithm. Can be extended to the setting when the pages have non-uniform sizes

High Level Idea 9 Consider “Fractional” Relaxation of Broadcast Scheduling Get (1+є) speed, O(1/є 2 ) competitive online algorithm Design an online rounding algorithm, with further O(1/є) loss in obj. function

Fractional Relaxation At each time slot, we can broadcast multiple pages, each to extent x pt – Such that A request r is satisfied at the first time b(r) when Minimize 10

High Level Idea 11 Consider “Fractional” Relaxation of Broadcast Scheduling Get (1+є) speed, O(1/є 2 ) competitive online algorithm Design an online rounding algorithm, with further O(1/є) loss in obj. function

Algorithm (with weaker guarantee) Round Robin – Known to give online algorithms with good competitive ratio for other scheduling problems assuming factor of 2 speed-up – What about broadcast scheduling? – Naïve algorithm is bad Does not differentiate pages with many outstanding requests and those with 1 request 12

Algorithm (with weaker guarantee) Round Robin: Possible Fix – Round robin over requests! At any time, schedule each outstanding request to the same extent. Illustration 13 ABCABC AB A: 1/3 B: 1/3 C: 1/3 A: 2/4 B: 1/4 C: 1/4 A: 2/5 B: 2/5 C: 1/5 A: 1/4 B: 2/4 C: 1/4 A: 1/3 B: 1/3 C: 1/3 …

Algorithm (with weaker guarantee) Round Robin: Possible Fix – Round robin over requests! At any time, schedule each outstanding request to the same extent. Can we show anything for this algorithm? – Edmonds and Pruhs showed it is 4-speed O(1) competitive We show that fractionally, it is 2-speed O(1) competitive – Later round it to get integer schedule. 14

Analysis 15 Resort to an amortized analysis Define a potential function Φ(t) which is 0 at t=0 and t= Show the following: – At any request arrival, Δ Φ ≤ 0 – At all other times, 15 Will give us a β -competitive online algorithm

For our Problem Define rank(r) is sorted order of requests w.r.t arrival times (most recent has highest rank) z(r,t) is the amount of time the online algorithm will dedicate towards request r, in the future, i.e. after time t 16

Analysis Continued New request arrival – It belongs to N A (t) and N O (t) – Does not appear in potential function – No change in value 17

Analysis Continued Running Condition: Consider [t-1, t) Opt schedules a page and finishes some requests These terms will now appear in the potential function. How much increase will it cause? – The sum of the z(r,t) over all these requests is at most 1 – Total increase is at most N A (t) 18 We’re golden if N O (t) is even a tiny fraction of N A (t)

Analysis Continued Assume most unfinished requests are completed by OPT Hope that Φ(t) goes down enough. 19 (i)We make progress on all jobs (ii)Each job’s z value goes down by 1/N A (t) (iii)Total decrease is N A (t)/2 * 1/N A (t) * 2 (iv)Left hand side is non-positive! Speed-Up

High Level Idea 20 Consider “Fractional” Relaxation of Broadcast Scheduling Get (1+є) speed, O(1/є 2 ) competitive online algorithm Design an online rounding algorithm, with further O(1/є) loss in obj. function

Rounding: One Slide Overview Consider the fractional algorithm’s output Let request r be fractionally completed at time b(r) Enqueue element At any time, choose request with least width and display corresponding page. Wipe out all outstanding requests for page p(r) 21 Suppose a request was forced to wait for too much time. Then many other requests for different pages all having smaller width. Too much mass packed fractionally. A contradiction.

Thank You Summary + Open Question Near-optimal algorithm for broadcast scheduling – Consider “fractional relaxation” – Give good algorithm for fractional problem – Give rounding scheme for integral problem But algorithm depends on є – Not fully-scalable  – Can we get one such algorithm which works for all є? 22