List Scheduling Given a list of jobs (each with a specified processing time), assign them to processors to minimize makespan (max load) In Graham’s notation:

Slides:



Advertisements
Similar presentations
Minimizing Average Flow-Time Naveen Garg IIT Delhi Joint work with Amit Kumar, Jivi Chadha,V Muralidhara, S. Anand.
Advertisements

Machine scheduling Job 1Job 3 Job 4 Job 5Machine 1 Machine 2 time 0C max Job 2.
Tight Bounds for Online Class- constrained Packing Hadas Shachnai Bell Labs and The Technion IIT Tami Tamir The Technion IIT.
1 Optimal Online Algorithms for Minimax Resource Scheduling Imen BOURGUIBA CAS 744 McMaster University.
Branch and Bound Example. Initial lower bound Jrpd Use 1 machine preemptive schedule as lower bound Job 2 has a lateness of 5,
Properties of SPT schedules Eric Angel, Evripidis Bampis, Fanny Pascual LaMI, university of Evry, France MISTA 2005.
1 IOE/MFG 543 Chapter 8: Open shops Section 8.1 (you may skip Sections 8.2 – 8.5)
Algorithmic Game Theory and Scheduling Eric Angel, Evripidis Bampis, Fanny Pascual IBISC, University of Evry, France GOTha, 12/05/06, LIP 6.
Online Algorithms Amrinder Arora Permalink:
1 IOE/MFG 543 Chapter 3: Single machine models (Sections 3.1 and 3.2)
Modelling with Max Flow 1. 2 The Max Flow Problem.
Completion Time Scheduling Notes from Hall, Schulz, Shmoys and Wein, Mathematics of Operations Research, Vol 22, , 1997.
Ecole Polytechnique, Nov 7, Minimizing Total Completion Time Each job specified by  procesing time (length p j )  release time r j Goal: compute.
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 for Network Design Adam Meyerson UCLA.
Online Algorithms Motivation and Definitions Paging Problem Competitive Analysis Online Load Balancing.
Wroclaw University, Sept 18, Approximation via Doubling (Part II) Marek Chrobak University of California, Riverside Joint work with Claire Kenyon-Mathieu.
Krakow, Jan. 9, Outline: 1. Online bidding 2. Cow-path 3. Incremental medians (size approximation) 4. Incremental medians (cost approximation) 5.
Truthful Mechanisms for One-parameter Agents Aaron Archer, Eva Tardos Presented by: Ittai Abraham.
Ecole Polytechnique, Nov 7, Online Job Scheduling Marek Chrobak University of California, Riverside.
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.
Ecole Polytechnique, Nov 11, List Scheduling on Related Machines processors Related machines: machines may have different speeds  0.25 
Online Scheduling of Precedence Constrained Tasks Yumei Huo Department of Computer Science New Jersey Institute.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Algorithms and Economics of Networks: Coordination Mechanisms Abraham Flaxman and Vahab Mirrokni, Microsoft Research.
Lot sizing and scheduling
1 Krakow, Jan. 9, 2008 Approximation via Doubling Marek Chrobak University of California, Riverside Joint work with Claire Kenyon-Mathieu.
+ PRODUCTION SCHEDULING Medical analysis on an automated machine Sophie Debrade sd2829 Alexandre Philippe Ayache apa2117 Pierre Castaing pc2613.
Minimizing Makespan and Preemption Costs on a System of Uniform Machines Hadas Shachnai Bell Labs and The Technion IIT Tami Tamir Univ. of Washington Gerhard.
An equivalent version of the Caccetta-Häggkvist conjecture in an online load balancing problem Angelo Monti 1, Paolo Penna 2, Riccardo Silvestri 1 1 Università.
Throughput Competitive Online Routing Baruch Awerbuch Yossi Azar Serge Plotkin.
COT 4600 Operating Systems Spring 2011 Dan C. Marinescu Office: HEC 304 Office hours: Tu-Th 5:00-6:00 PM.
Approximation schemes Bin packing problem. Bin Packing problem Given n items with sizes a 1,…,a n  (0,1]. Find a packing in unit-sized bins that minimizes.
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)
Mechanisms with Verification for Any Finite Domain Carmine Ventre Università degli Studi di Salerno.
CPU Scheduling Gursharan Singh Tatla 1-Feb-20111www.eazynotes.com.
Exercise Find a schedule that minimises makespan..
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
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.
1 Wroclaw University, Sept 18, 2007 Approximation via Doubling Marek Chrobak University of California, Riverside Joint work with Claire Kenyon-Mathieu.
Outline Introduction Minimizing the makespan Minimizing total flowtime
Jennifer Campbell November 30,  Problem Statement and Motivation  Analysis of previous work  Simple - competitive strategy  Near optimal deterministic.
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
Parallel Machine Scheduling
Common Approaches to Real-Time Scheduling Clock-driven (time-driven) schedulers Priority-driven schedulers Examples of priority driven schedulers Effective.
© The McGraw-Hill Companies, Inc., Chapter 12 On-Line Algorithms.
1 Online Scheduling With Precedence Constraints Yumei Huo Department of Computer Science College.
1 Chapter 11 Approximation Algorithms Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.
Problems in Combinatorial Optimization. Linear Programming.
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.
Scheduling Parallel DAG Jobs to Minimize the Average Flow Time K. Agrawal, J. Li, K. Lu, B. Moseley.
Andrey Markov, public domain image
Approximation Algorithms for Scheduling
Greedy Algorithms – Chapter 5
Load Balancing: List Scheduling
An Optimal Lower Bound for Anonymous Scheduling Mechanisms
On Scheduling in Map-Reduce and Flow-Shops
Zachary Ho, Irin Phatraprasit, Emma Xie, and Ava Zhu
COT 4600 Operating Systems Spring 2011
Approximation Algorithms
Lecture 22 CSE 331 Oct 15, 2014.
Selfish Load Balancing
Branch and Bound Example
György Dósa – M. Grazia Speranza – Zsolt Tuza:
Substituting into formulae
Merge Sort 5/2/2019 7:53 PM The Greedy Method The Greedy Method.
Load Balancing: List Scheduling
Algorithms Lecture # 26 Dr. Sohail Aslam.
Presentation transcript:

List Scheduling Given a list of jobs (each with a specified processing time), assign them to processors to minimize makespan (max load) In Graham’s notation: Pm | pj | max Cj processors time 1 2 3 4 5 6 7 jobs Online algorithm: assignment of a job does not depend on future jobs Goal: small competitive ratio 1

Greedy: Assign each job to the machine with the lightest load makespan 7 7 4 2 5 1 6 4 3 6 5 jobs 2 1 3 processors 2

1 2 3 4 5 6 7 jobs processors makespan better schedule: 3

So for k = 2 Greedy’s competitive ratio is  3/2 How bad is Greedy? 1 2 3 Greedy 1 2 3 optimal Try k = 2 first … 1 2 3 So for k = 2 Greedy’s competitive ratio is  3/2 4

So for m = 3 Greedy’s competitive ratio is  5/3 1 2 3 4 5 6 7 optimal 1 2 3 4 5 6 7 How bad is Greedy? Try k = 3 now … 1 2 7 3 4 5 6 So for m = 3 Greedy’s competitive ratio is  5/3 Exercise: Show that for m machines Greedy’s competitive ratio is  2 - 1/m 5

x = min load before placing last job y = length of last job m machines Hint: load ≥ m·x + y How good is Greedy? Rough analysis: x = min load before placing last job y = length of last job total load ≥ m·x, so optimum makespan ≥ x optimum makespan ≥ y so greedy’s makespan = x+y ≤ 2·max(x,y) ≤ 2·optimum makespan Exercise: Improve the bound to 2-1/m. 6

so optimum makespan ≥ x + y/m m machines How good is Greedy? total load ≥ m·x+y, so optimum makespan ≥ x + y/m optimum makespan ≥ y Find smallest R such that x + y  R ·max ( y, x + y/m) We can assume x+y = 1 and x, y  0 Then R = maxy 1/max(y,1-y+y/m) Equalizing, y = 1-y+y/m, we get y = m/(2m-1) Substituting into R, we get: Theorem: Greedy is (2-1/m)-competitive. 7

List Scheduling Greedy is (2-1/m)-competitive [Graham ’66] Lower bound ≈1.88 [Rudin III, Chandrasekaran’03] Best known ratio ≈1.92 [Albers ‘99] [Fleischer, Wahl ‘00] Lots of work on randomized algorithms, preemptive scheduling, … 8