CS521 CSE IITG 11/23/2012

Size: px
Start display at page:

Download "CS521 CSE IITG 11/23/2012"

Transcription

1 Today Scheduling: lassification Ref: Scheduling lgorithm Peter rukerook Multiprocessor Scheduling : List PTS Ref job scheduling, by uwe schweigelshohn Tomorrow istributed Scheduling ilk Programming and Work Stealing Scheduling in NO and NO ind time slots in which activities (or jobs) should be processed under given constraints. onstraints Resource constraints Precedence constraints between activities. quite general scheduling problem is Resource onstrained Project Scheduling Problem (RPSP) We have ctivities j =,..., n with processing times p j. Resources k =,..., r. constant amount of R k units of resource k is available at any time. uring processing, activity j occupies r jk units of resource k for k =,..., r. Precedence constrains i jbetween some activities i, j with the meaning that activity j cannot start before iis finished.. Objective : etermine starting times S j for all activities j in such a way that at each time t the total demand for resource k is not greater than the availability R k for k =,..., r, the given precedence constraints are fulfilled, i. e. S i + p i S j if i j, Some objective function f(,..., n ) is minimized where j = S j + p j is the completion time of activity j. The fact that activities j start at time S j and finishattimes time j +p j impliesthattheactivitiesj the activities are not preempted. We may relax this condition by allowing preemption(activity splitting).

2 onsider a project with n = activities, r = resources with capacities R = 5 and R = 7, a precedence relation and the following data: i p i 58 r i r i 5 R=5 R=7 corresponding schedule with minimal makespan Production scheduling Robotic cell scheduling omputer processor scheduling tabling Personnel scheduling Railway sc ir traffic control, tc. Most machine scheduling problems are special cases of the RPSP. Single machine problems, Online Problem: S, S, SR, RR Parallel machine problems, and Shop scheduling problems. We have n jobs j =,..., n to be processed on a single machine. dditionally precedence constraints between the jobs may be given. Thisproblemcanbemodeled be modeled byanrpsp with r =, R =, and r j = for all jobs j. We have jobs j as before and m identical machinesm,..., M m. The processing time for j is the same on each machine. One has to assign the jobs to the machines and to schedule them on the assigned machines. This problem corresponds to an RPSP with r =, R = m, and r j = for all jobs j

3 or unrelated machines the processing timep jk depends on the machine M k on which j is processed. Themachinesarecalleduniformif are called p jk = p j /r k. n a problem with multi purpose machines a set of machines μ j is isassociated with each job j indicating that j can be processed on one machine in μ j only. n a general shop scheduling problemwe have m machines M,..., M m and n jobs j =,..., n. ob j consists of n(j) operations O j,o j,..., O n(j)j where O ij must be processed for p ij time units on a dedicated machine μ ij {M,..., M m }. Two operations of the same job cannot be processed at the same time. Precedence constraints are given between the operations. job shop problem is a general shop scheduling problem with chain precedence constraints of the form O j O j... O n(j)j. j j n(j)j flow shop problemis a special job shop problem with n(j) = m operations for j =,..., n and μ ij = M i for i =,..., m and j =,..., n. n a permutation flow shop problemthe jobs have to be processed in the same order on all machines. n open shop problemis like a flow shop problem but without precedence constraints between the operations. lasses of scheduling problems can be specified in terms of the three field classification α β γ where α specifiesthemachineenvironment environment, β specifiesthe job characteristics, and γdescribes the objective function(s).

4 Symbol Meaning Single Machine P Parallel dentical Machine Q R MPM UniformMachine UnrelatedMachine Multipurpose Machine ob Shop low Shop f the number of machines is fixed to m we write Pm, Qm, Rm, MPMm, m, m, Om. Symbol meaning pmtn preemption r j d j release times deadlines p j =or p j =por restrictedprocessingtimes times p j {,} prec arbitrary precedence constraints intree(outtree) intree(or outtree) precedences chains chain precedences series parallel a series parallel precedence graph Two types of objective functions are most common: bottleneck objective functions max {f j ( j ) j=,..., n}, and sum objective functions Σ f j ( j ) = f ( ) + f ( ) f n ( n ). j is completion time of task j max and L max symbolizethe bottleneck objective max objective functions with f j ( j ) = j (makespan) L max objective functions f j( j) = j d j(maximum Lateness) ommon sum objective functions are: Σ j (mean flow time) Σ ω j j (weighted flow time) Σ U j (number of late jobs) and Σ ω j U j (weighted number of late jobs) where U j = if j > d j and U j = otherwise. Σ T j (sum of tardiness) and Σ ω j T j (weighted sum of tardiness/lateness) where the tardiness of job j is given by T j = max {, j d j. prec; p j = Σ ω j j P max P p j = ; r j Σ ω j U j R chains; pmtn max n = max p ij = ; outtree; r j Σ j Om p j = Σ T j

5 problem is called polynomially solvable if it can be solved by a polynomial algorithm. xample Σ ω j j can be solved by scheduling the jobs in an ordering of non increasing ω j /p j values. omplexity: O(n log n) efore certain jobs are allowed to start processing, one ormorejobsfirsthavetobecompleted. efinition Successor Predecessor mmediate successor mmediate predecessor Transitive Reduction p ( ) = i One or more job have to be completed before another job is allowed to start processing. One or more job have to be completed before another job is allowed to start processing. Prec : rbitrary acyclic graph efinition Successor Predecessor mmediate successor mmediate predecessor Transitive Reduction p ( ) = i efinition Successor Predecessor mmediate successor mmediate predecessor Transitive Reduction p ( ) = i n tree (Out tree) n forest (Out forest) n tree Opposing forest Out tree Opposing forest nterval orders Series parallel orders n forest Out forest Level orders 5

6 Processor nvironment m identical processors are in the system. ob characteristics Precedence constraints are given by a precedence graph; Preemption is not allowed; The release time of all the jobs is. Objective function max : the time the last job finishes execution. f c j denotes the finishing time of j in a schedule S, max = max j n c j P P P antt chart indicates the time each job spends in execution, as well as the processor on which it executes of some Schedule Slot Slot axis p ( ) = i ue to the number of processors Number of processors is a variable (m) Pm prec, p j = max Number of processors is a constant (k) Pk prec, p j = max Theorem Pm prec, p j = max is NP complete..ullman(976) ST Pm prec, p j= max. Lenstraand RinooyKan (978) k clique Pm prec, p j = max orollary. The problem of determining the existence of a schedule with max for the problem Pm prec, pj= max is NP complete. Proof: out of Syllabus Mayr(985) Theorem Pm p j =, SP max is NP complete. SP: Series parallel Theorem Pm p j =, O max is NP complete. O: Opposing forest PTS : Polynomial pproximation Scheme pproximation List scheduling policies raham s list algorithm L algorithm MS algorithm Proof: out of Syllabus 6

7 Set up a priority list L of jobs. When a processor is idle, assign the first ready job to the processor and remove it from the list L raham first analyzed the performance of the simplest list scheduling algorithm. List scheduling algorithm with an arbitrary job list iscalledraham slistalgorithm. rahams list algorithm L= ( 9, 8, 7, 6, 5,,,,,,,, ) 5 pproximation ratio for Pk prec, p j = max δ= /k. (Tight bound!) pproximation ratio is δif for each input instance, the makespan produced by the algorithm is at most δtimes of the optimal makespan. T.. u(96), ritical Path lgorithm or u s algorithm lgorithm ssign a level h to each job. f job has no successors, h(j) equals. Otherwise, h(j) equals one plus the maximum level of its immediate successors. Set up a priority list L by nonincreasingorder of the jobs levels. xecute the list scheduling policy on this level based priority list L Level Level Level 8 7 L= (,,,, 9, 8, 7, 6, 5,,,, ) 6 5 complexity O( V + ) ( V is the number of jobs and is the number of edges in the precedence graph) Theorem (u, 96) The L algorithm is optimal for Pk p j =, in tree (out tree) max. orollary The L algorithm is optimal for Pk p j =, in forest (out forest) max. N.. hen &.L. Liu (975) The approximation ratio of L algorithm for the problem with general precedence constraints: f k =, δ L /. f k, δ L /(k-). Tight! 7

8 lgorithm: Set up a priority list L by nonincreasing order of the jobs successors numbers. (i.e. the job having more successors should have a higher priority in L than the job having fewer successors) xecute the list scheduling policy based on this priority list L L= (, 8,,,, 9, 7, 6, 5,,,, ) 7 6 complexity O( V + ) Theorem (Papadimitriou and Yannakakis, 979) The MS algorithm is optimal for Pk p j =, interval max. Theorem (Moukrim, 999) The MS algorithm is optimal for Pk p j =, quasiinterval max. Prove out of Syllabus iven processing times for n jobs, p, p,, p n, and an integer m ind an assignment of the jobs to m identical machines So that the completion time, also called the makespan, is minimized. for each job j whether job j is scheduled in machine i ach job is scheduled in one machine. lgorithm. Order the jobs arbitrarily.. Schedule jobs on machines in this order, schedulingthenextjobonthemachinethathas next on that has been assigned the least amount of work so far. for each machine i for each job j, machine i ach machine can finish its jobs by time T bove algorithm achieves an approximation guarantee of for the minimum makespan problem. 8

9 Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine 9

10 Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Machine Optimal Schedule Machine Machine Machine Machine Machine Machine List schedule

11 lgorithm: List scheduling asic idea: n a list of jobs, schedule the next one as soon as a machine is free a b c d e ood or bad? machine machine machine machine lgorithm: List scheduling asic idea: n a list of jobs, schedule the next one as soon as a machine is free a b c d e f machine machine machine machine S job ffinishes last, at time compare to time OPT of best schedule: how? a b c d e f machine machine machine machine S job ffinishes last, at time compare to time OPT of best schedule: how? () job f must be scheduled in the best schedule at some time: S <= OPT. () up to time S, all machines were busy all the time, and OPT cannot beat that, and job f was not yet included: S < OPT. () both together: = S + S < OPT. approximation (raham, 966) Proof: Let T= t i, i=,,n, the sum of all processing times to be accommodated. We know that the total processing time available in an optimal schedule on the machines is m.opt(). So, OPT() T/m. Moreover, OPT() t k for every k. Let () be the makespanof the schedule produced by LS. y definition there must be a job k, with processing time t k, that ends at the makespantime. No machine can end its operation before () t k, because then job kwould have been scheduled on that machine, thus reducing the makespan. So all machines are busy from time through ()-t k onsequently, M M i T t k m(() t k ) T t k m() mt k T t k +mt k m() T+(m )t k m() So, () T/m+t k (m )/m () t k k PrevSlide : s m.opt() T. So, OPT() T/m. lso OPT() t k for every k. OPT()+( /m)opt()=( /m)opt() () ( /m)opt() M m () m x m m x makespan: m m x makespan: m+

12 List scheduling can do badly if long jobs at the end of the list spoil an even division of processing times. We now assume that the jobs are all given ahead oftime,i.e.thelptruleworksonlyintheoff i.e. the only in the off line situation. onsider the Largest Processing first or LPT rule that works as follows. LPT() sort the jobs in order of decreasing processing times: t t... t n execute list scheduling on the sorted list return the schedule so obtained. The LPT rule achieves a performance ratio / /(m). Proveout of Syllabus

Metode şi Algoritmi de Planificare (MAP) Curs 2 Introducere în problematica planificării

Metode şi Algoritmi de Planificare (MAP) Curs 2 Introducere în problematica planificării Metode şi Algoritmi de Planificare (MAP) 2009-2010 Curs 2 Introducere în problematica planificării 20.10.2009 Metode si Algoritmi de Planificare Curs 2 1 Introduction to scheduling Scheduling problem definition

More information

Partition is reducible to P2 C max. c. P2 Pj = 1, prec Cmax is solvable in polynomial time. P Pj = 1, prec Cmax is NP-hard

Partition is reducible to P2 C max. c. P2 Pj = 1, prec Cmax is solvable in polynomial time. P Pj = 1, prec Cmax is NP-hard I. Minimizing Cmax (Nonpreemptive) a. P2 C max is NP-hard. Partition is reducible to P2 C max b. P Pj = 1, intree Cmax P Pj = 1, outtree Cmax are both solvable in polynomial time. c. P2 Pj = 1, prec Cmax

More information

Algorithm Design. Scheduling Algorithms. Part 2. Parallel machines. Open-shop Scheduling. Job-shop Scheduling.

Algorithm Design. Scheduling Algorithms. Part 2. Parallel machines. Open-shop Scheduling. Job-shop Scheduling. Algorithm Design Scheduling Algorithms Part 2 Parallel machines. Open-shop Scheduling. Job-shop Scheduling. 1 Parallel Machines n jobs need to be scheduled on m machines, M 1,M 2,,M m. Each machine can

More information

Lecture 2: Scheduling on Parallel Machines

Lecture 2: Scheduling on Parallel Machines Lecture 2: Scheduling on Parallel Machines Loris Marchal October 17, 2012 Parallel environment alpha in Graham s notation): P parallel identical Q uniform machines: each machine has a given speed speed

More information

P C max. NP-complete from partition. Example j p j What is the makespan on 2 machines? 3 machines? 4 machines?

P C max. NP-complete from partition. Example j p j What is the makespan on 2 machines? 3 machines? 4 machines? Multiple Machines Model Multiple Available resources people time slots queues networks of computers Now concerned with both allocation to a machine and ordering on that machine. P C max NP-complete from

More information

LPT rule: Whenever a machine becomes free for assignment, assign that job whose. processing time is the largest among those jobs not yet assigned.

LPT rule: Whenever a machine becomes free for assignment, assign that job whose. processing time is the largest among those jobs not yet assigned. LPT rule Whenever a machine becomes free for assignment, assign that job whose processing time is the largest among those jobs not yet assigned. Example m1 m2 m3 J3 Ji J1 J2 J3 J4 J5 J6 6 5 3 3 2 1 3 5

More information

Embedded Systems 15. REVIEW: Aperiodic scheduling. C i J i 0 a i s i f i d i

Embedded Systems 15. REVIEW: Aperiodic scheduling. C i J i 0 a i s i f i d i Embedded Systems 15-1 - REVIEW: Aperiodic scheduling C i J i 0 a i s i f i d i Given: A set of non-periodic tasks {J 1,, J n } with arrival times a i, deadlines d i, computation times C i precedence constraints

More information

APTAS for Bin Packing

APTAS for Bin Packing APTAS for Bin Packing Bin Packing has an asymptotic PTAS (APTAS) [de la Vega and Leuker, 1980] For every fixed ε > 0 algorithm outputs a solution of size (1+ε)OPT + 1 in time polynomial in n APTAS for

More information

Single Machine Models

Single Machine Models Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 8 Single Machine Models 1. Dispatching Rules 2. Single Machine Models Marco Chiarandini DM87 Scheduling, Timetabling and Routing 2 Outline Dispatching

More information

Deterministic Models: Preliminaries

Deterministic Models: Preliminaries Chapter 2 Deterministic Models: Preliminaries 2.1 Framework and Notation......................... 13 2.2 Examples... 20 2.3 Classes of Schedules... 21 2.4 Complexity Hierarchy... 25 Over the last fifty

More information

Deterministic Scheduling. Dr inż. Krzysztof Giaro Gdańsk University of Technology

Deterministic Scheduling. Dr inż. Krzysztof Giaro Gdańsk University of Technology Deterministic Scheduling Dr inż. Krzysztof Giaro Gdańsk University of Technology Lecture Plan Introduction to deterministic scheduling Critical path metod Some discrete optimization problems Scheduling

More information

Lecture 4 Scheduling 1

Lecture 4 Scheduling 1 Lecture 4 Scheduling 1 Single machine models: Number of Tardy Jobs -1- Problem 1 U j : Structure of an optimal schedule: set S 1 of jobs meeting their due dates set S 2 of jobs being late jobs of S 1 are

More information

Average-Case Performance Analysis of Online Non-clairvoyant Scheduling of Parallel Tasks with Precedence Constraints

Average-Case Performance Analysis of Online Non-clairvoyant Scheduling of Parallel Tasks with Precedence Constraints Average-Case Performance Analysis of Online Non-clairvoyant Scheduling of Parallel Tasks with Precedence Constraints Keqin Li Department of Computer Science State University of New York New Paltz, New

More information

Task Models and Scheduling

Task Models and Scheduling Task Models and Scheduling Jan Reineke Saarland University June 27 th, 2013 With thanks to Jian-Jia Chen at KIT! Jan Reineke Task Models and Scheduling June 27 th, 2013 1 / 36 Task Models and Scheduling

More information

On Machine Dependency in Shop Scheduling

On Machine Dependency in Shop Scheduling On Machine Dependency in Shop Scheduling Evgeny Shchepin Nodari Vakhania Abstract One of the main restrictions in scheduling problems are the machine (resource) restrictions: each machine can perform at

More information

Single Machine Problems Polynomial Cases

Single Machine Problems Polynomial Cases DM204, 2011 SCHEDULING, TIMETABLING AND ROUTING Lecture 2 Single Machine Problems Polynomial Cases Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline

More information

RCPSP Single Machine Problems

RCPSP Single Machine Problems DM204 Spring 2011 Scheduling, Timetabling and Routing Lecture 3 Single Machine Problems Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. Resource

More information

Resource Management in Machine Scheduling Problems: A Survey

Resource Management in Machine Scheduling Problems: A Survey Decision Making in Manufacturing and Services Vol. 1 2007 No. 1 2 pp. 59 89 Resource Management in Machine Scheduling Problems: A Survey Adam Janiak,WładysławJaniak, Maciej Lichtenstein Abstract. The paper

More information

Approximation Algorithms for scheduling

Approximation Algorithms for scheduling Approximation Algorithms for scheduling Ahmed Abu Safia I.D.:119936343, McGill University, 2004 (COMP 760) Approximation Algorithms for scheduling Leslie A. Hall The first Chapter of the book entitled

More information

Scheduling jobs on two uniform parallel machines to minimize the makespan

Scheduling jobs on two uniform parallel machines to minimize the makespan UNLV Theses, Dissertations, Professional Papers, and Capstones 5-1-2013 Scheduling jobs on two uniform parallel machines to minimize the makespan Sandhya Kodimala University of Nevada, Las Vegas, kodimalasandhya@gmail.com

More information

MINIMIZING SCHEDULE LENGTH OR MAKESPAN CRITERIA FOR PARALLEL PROCESSOR SCHEDULING

MINIMIZING SCHEDULE LENGTH OR MAKESPAN CRITERIA FOR PARALLEL PROCESSOR SCHEDULING MINIMIZING SCHEDULE LENGTH OR MAKESPAN CRITERIA FOR PARALLEL PROCESSOR SCHEDULING By Ali Derbala University of Blida, Faculty of science Mathematics Department BP 270, Route de Soumaa, Blida, Algeria.

More information

Lecture 13. Real-Time Scheduling. Daniel Kästner AbsInt GmbH 2013

Lecture 13. Real-Time Scheduling. Daniel Kästner AbsInt GmbH 2013 Lecture 3 Real-Time Scheduling Daniel Kästner AbsInt GmbH 203 Model-based Software Development 2 SCADE Suite Application Model in SCADE (data flow + SSM) System Model (tasks, interrupts, buses, ) SymTA/S

More information

Flow Shop and Job Shop Models

Flow Shop and Job Shop Models Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 11 Flow Shop and Job Shop Models 1. Flow Shop 2. Job Shop Marco Chiarandini DM87 Scheduling, Timetabling and Routing 2 Outline Resume Permutation

More information

Scheduling Lecture 1: Scheduling on One Machine

Scheduling Lecture 1: Scheduling on One Machine Scheduling Lecture 1: Scheduling on One Machine Loris Marchal October 16, 2012 1 Generalities 1.1 Definition of scheduling allocation of limited resources to activities over time activities: tasks in computer

More information

A comparison of sequencing formulations in a constraint generation procedure for avionics scheduling

A comparison of sequencing formulations in a constraint generation procedure for avionics scheduling A comparison of sequencing formulations in a constraint generation procedure for avionics scheduling Department of Mathematics, Linköping University Jessika Boberg LiTH-MAT-EX 2017/18 SE Credits: Level:

More information

1 Ordinary Load Balancing

1 Ordinary Load Balancing Comp 260: Advanced Algorithms Prof. Lenore Cowen Tufts University, Spring 208 Scribe: Emily Davis Lecture 8: Scheduling Ordinary Load Balancing Suppose we have a set of jobs each with their own finite

More information

Two Processor Scheduling with Real Release Times and Deadlines

Two Processor Scheduling with Real Release Times and Deadlines Two Processor Scheduling with Real Release Times and Deadlines Hui Wu School of Computing National University of Singapore 3 Science Drive 2, Singapore 117543 wuh@comp.nus.edu.sg Joxan Jaffar School of

More information

Embedded Systems 14. Overview of embedded systems design

Embedded Systems 14. Overview of embedded systems design Embedded Systems 14-1 - Overview of embedded systems design - 2-1 Point of departure: Scheduling general IT systems In general IT systems, not much is known about the computational processes a priori The

More information

University of Twente. Faculty of Mathematical Sciences. Scheduling split-jobs on parallel machines. University for Technical and Social Sciences

University of Twente. Faculty of Mathematical Sciences. Scheduling split-jobs on parallel machines. University for Technical and Social Sciences Faculty of Mathematical Sciences University of Twente University for Technical and Social Sciences P.O. Box 217 7500 AE Enschede The Netherlands Phone: +31-53-4893400 Fax: +31-53-4893114 Email: memo@math.utwente.nl

More information

Embedded Systems Development

Embedded Systems Development Embedded Systems Development Lecture 3 Real-Time Scheduling Dr. Daniel Kästner AbsInt Angewandte Informatik GmbH kaestner@absint.com Model-based Software Development Generator Lustre programs Esterel programs

More information

Computers and Intractability. The Bandersnatch problem. The Bandersnatch problem. The Bandersnatch problem. A Guide to the Theory of NP-Completeness

Computers and Intractability. The Bandersnatch problem. The Bandersnatch problem. The Bandersnatch problem. A Guide to the Theory of NP-Completeness Computers and Intractability A Guide to the Theory of NP-Completeness The Bible of complexity theory Background: Find a good method for determining whether or not any given set of specifications for a

More information

Computers and Intractability

Computers and Intractability Computers and Intractability A Guide to the Theory of NP-Completeness The Bible of complexity theory M. R. Garey and D. S. Johnson W. H. Freeman and Company, 1979 The Bandersnatch problem Background: Find

More information

Scheduling on Unrelated Parallel Machines. Approximation Algorithms, V. V. Vazirani Book Chapter 17

Scheduling on Unrelated Parallel Machines. Approximation Algorithms, V. V. Vazirani Book Chapter 17 Scheduling on Unrelated Parallel Machines Approximation Algorithms, V. V. Vazirani Book Chapter 17 Nicolas Karakatsanis, 2008 Description of the problem Problem 17.1 (Scheduling on unrelated parallel machines)

More information

3. Scheduling issues. Common approaches 3. Common approaches 1. Preemption vs. non preemption. Common approaches 2. Further definitions

3. Scheduling issues. Common approaches 3. Common approaches 1. Preemption vs. non preemption. Common approaches 2. Further definitions Common approaches 3 3. Scheduling issues Priority-driven (event-driven) scheduling This class of algorithms is greedy They never leave available processing resources unutilized An available resource may

More information

Algorithms. Outline! Approximation Algorithms. The class APX. The intelligence behind the hardware. ! Based on

Algorithms. Outline! Approximation Algorithms. The class APX. The intelligence behind the hardware. ! Based on 6117CIT - Adv Topics in Computing Sci at Nathan 1 Algorithms The intelligence behind the hardware Outline! Approximation Algorithms The class APX! Some complexity classes, like PTAS and FPTAS! Illustration

More information

Dynamic Scheduling with Genetic Programming

Dynamic Scheduling with Genetic Programming Dynamic Scheduling with Genetic Programming Domago Jakobović, Leo Budin domago.akobovic@fer.hr Faculty of electrical engineering and computing University of Zagreb Introduction most scheduling problems

More information

Multiprocessor Scheduling I: Partitioned Scheduling. LS 12, TU Dortmund

Multiprocessor Scheduling I: Partitioned Scheduling. LS 12, TU Dortmund Multiprocessor Scheduling I: Partitioned Scheduling Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 22/23, June, 2015 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 47 Outline Introduction to Multiprocessor

More information

Recoverable Robustness in Scheduling Problems

Recoverable Robustness in Scheduling Problems Master Thesis Computing Science Recoverable Robustness in Scheduling Problems Author: J.M.J. Stoef (3470997) J.M.J.Stoef@uu.nl Supervisors: dr. J.A. Hoogeveen J.A.Hoogeveen@uu.nl dr. ir. J.M. van den Akker

More information

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should

More information

Networked Embedded Systems WS 2016/17

Networked Embedded Systems WS 2016/17 Networked Embedded Systems WS 2016/17 Lecture 2: Real-time Scheduling Marco Zimmerling Goal of Today s Lecture Introduction to scheduling of compute tasks on a single processor Tasks need to finish before

More information

Contents college 5 and 6 Branch and Bound; Beam Search (Chapter , book)! general introduction

Contents college 5 and 6 Branch and Bound; Beam Search (Chapter , book)! general introduction Contents college 5 and 6 Branch and Bound; Beam Search (Chapter 3.4-3.5, book)! general introduction Job Shop Scheduling (Chapter 5.1-5.3, book) ffl branch and bound (5.2) ffl shifting bottleneck heuristic

More information

Scheduling Lecture 1: Scheduling on One Machine

Scheduling Lecture 1: Scheduling on One Machine Scheduling Lecture 1: Scheduling on One Machine Loris Marchal 1 Generalities 1.1 Definition of scheduling allocation of limited resources to activities over time activities: tasks in computer environment,

More information

Real-time Scheduling of Periodic Tasks (2) Advanced Operating Systems Lecture 3

Real-time Scheduling of Periodic Tasks (2) Advanced Operating Systems Lecture 3 Real-time Scheduling of Periodic Tasks (2) Advanced Operating Systems Lecture 3 Lecture Outline The rate monotonic algorithm (cont d) Maximum utilisation test The deadline monotonic algorithm The earliest

More information

Minimizing Mean Flowtime and Makespan on Master-Slave Systems

Minimizing Mean Flowtime and Makespan on Master-Slave Systems Minimizing Mean Flowtime and Makespan on Master-Slave Systems Joseph Y-T. Leung,1 and Hairong Zhao 2 Department of Computer Science New Jersey Institute of Technology Newark, NJ 07102, USA Abstract The

More information

No-Idle, No-Wait: When Shop Scheduling Meets Dominoes, Eulerian and Hamiltonian Paths

No-Idle, No-Wait: When Shop Scheduling Meets Dominoes, Eulerian and Hamiltonian Paths No-Idle, No-Wait: When Shop Scheduling Meets Dominoes, Eulerian and Hamiltonian Paths J.C. Billaut 1, F.Della Croce 2, Fabio Salassa 2, V. T kindt 1 1. Université Francois-Rabelais, CNRS, Tours, France

More information

Non-Preemptive and Limited Preemptive Scheduling. LS 12, TU Dortmund

Non-Preemptive and Limited Preemptive Scheduling. LS 12, TU Dortmund Non-Preemptive and Limited Preemptive Scheduling LS 12, TU Dortmund 09 May 2017 (LS 12, TU Dortmund) 1 / 31 Outline Non-Preemptive Scheduling A General View Exact Schedulability Test Pessimistic Schedulability

More information

Real-Time Systems. Event-Driven Scheduling

Real-Time Systems. Event-Driven Scheduling Real-Time Systems Event-Driven Scheduling Hermann Härtig WS 2018/19 Outline mostly following Jane Liu, Real-Time Systems Principles Scheduling EDF and LST as dynamic scheduling methods Fixed Priority schedulers

More information

New Utilization Criteria for Online Scheduling

New Utilization Criteria for Online Scheduling New Utilization Criteria for Online Scheduling Dissertation zur Erlangung des Grades eines D o k t o r s d e r N a t u r w i s s e n s c h a f t e n der Universität Dortmund am Fachbereich Informatik von

More information

A Dynamic Programming algorithm for minimizing total cost of duplication in scheduling an outtree with communication delays and duplication

A Dynamic Programming algorithm for minimizing total cost of duplication in scheduling an outtree with communication delays and duplication A Dynamic Programming algorithm for minimizing total cost of duplication in scheduling an outtree with communication delays and duplication Claire Hanen Laboratory LIP6 4, place Jussieu F-75 252 Paris

More information

Aperiodic Task Scheduling

Aperiodic Task Scheduling Aperiodic Task Scheduling Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund, Informatik 12 Germany Springer, 2010 2017 年 11 月 29 日 These slides use Microsoft clip arts. Microsoft copyright

More information

Complexity of preemptive minsum scheduling on unrelated parallel machines Sitters, R.A.

Complexity of preemptive minsum scheduling on unrelated parallel machines Sitters, R.A. Complexity of preemptive minsum scheduling on unrelated parallel machines Sitters, R.A. Published: 01/01/2003 Document Version Publisher s PDF, also known as Version of Record (includes final page, issue

More information

Real-Time Systems. Event-Driven Scheduling

Real-Time Systems. Event-Driven Scheduling Real-Time Systems Event-Driven Scheduling Marcus Völp, Hermann Härtig WS 2013/14 Outline mostly following Jane Liu, Real-Time Systems Principles Scheduling EDF and LST as dynamic scheduling methods Fixed

More information

A Framework for Scheduling with Online Availability

A Framework for Scheduling with Online Availability A Framework for Scheduling with Online Availability Florian Diedrich, and Ulrich M. Schwarz Institut für Informatik, Christian-Albrechts-Universität zu Kiel, Olshausenstr. 40, 24098 Kiel, Germany {fdi,ums}@informatik.uni-kiel.de

More information

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 P and NP P: The family of problems that can be solved quickly in polynomial time.

More information

Bounding the End-to-End Response Times of Tasks in a Distributed. Real-Time System Using the Direct Synchronization Protocol.

Bounding the End-to-End Response Times of Tasks in a Distributed. Real-Time System Using the Direct Synchronization Protocol. Bounding the End-to-End Response imes of asks in a Distributed Real-ime System Using the Direct Synchronization Protocol Jun Sun Jane Liu Abstract In a distributed real-time system, a task may consist

More information

EECS 571 Principles of Real-Time Embedded Systems. Lecture Note #7: More on Uniprocessor Scheduling

EECS 571 Principles of Real-Time Embedded Systems. Lecture Note #7: More on Uniprocessor Scheduling EECS 571 Principles of Real-Time Embedded Systems Lecture Note #7: More on Uniprocessor Scheduling Kang G. Shin EECS Department University of Michigan Precedence and Exclusion Constraints Thus far, we

More information

Paper Presentation. Amo Guangmo Tong. University of Taxes at Dallas February 11, 2014

Paper Presentation. Amo Guangmo Tong. University of Taxes at Dallas February 11, 2014 Paper Presentation Amo Guangmo Tong University of Taxes at Dallas gxt140030@utdallas.edu February 11, 2014 Amo Guangmo Tong (UTD) February 11, 2014 1 / 26 Overview 1 Techniques for Multiprocessor Global

More information

Andrew Morton University of Waterloo Canada

Andrew Morton University of Waterloo Canada EDF Feasibility and Hardware Accelerators Andrew Morton University of Waterloo Canada Outline 1) Introduction and motivation 2) Review of EDF and feasibility analysis 3) Hardware accelerators and scheduling

More information

More Approximation Algorithms

More Approximation Algorithms CS 473: Algorithms, Spring 2018 More Approximation Algorithms Lecture 25 April 26, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 28 Formal definition of approximation

More information

Scheduling preemptable tasks on parallel processors with limited availability

Scheduling preemptable tasks on parallel processors with limited availability Parallel Computing 26 (2000) 1195±1211 www.elsevier.com/locate/parco Scheduling preemptable tasks on parallel processors with limited availability Jacek Bøa_zewicz a, Maciej Drozdowski a, Piotr Formanowicz

More information

Linear Programming. Scheduling problems

Linear Programming. Scheduling problems Linear Programming Scheduling problems Linear programming (LP) ( )., 1, for 0 min 1 1 1 1 1 11 1 1 n i x b x a x a b x a x a x c x c x z i m n mn m n n n n! = + + + + + + = Extreme points x ={x 1,,x n

More information

Preemptive Online Scheduling: Optimal Algorithms for All Speeds

Preemptive Online Scheduling: Optimal Algorithms for All Speeds Preemptive Online Scheduling: Optimal Algorithms for All Speeds Tomáš Ebenlendr Wojciech Jawor Jiří Sgall Abstract Our main result is an optimal online algorithm for preemptive scheduling on uniformly

More information

4 Sequencing problem with heads and tails

4 Sequencing problem with heads and tails 4 Sequencing problem with heads and tails In what follows, we take a step towards multiple stage problems Therefore, we consider a single stage where a scheduling sequence has to be determined but each

More information

Using column generation to solve parallel machine scheduling problems with minmax objective functions

Using column generation to solve parallel machine scheduling problems with minmax objective functions Using column generation to solve parallel machine scheduling problems with minmax objective functions J.M. van den Akker J.A. Hoogeveen Department of Information and Computing Sciences Utrecht University

More information

Dependency Graph Approach for Multiprocessor Real-Time Synchronization. TU Dortmund, Germany

Dependency Graph Approach for Multiprocessor Real-Time Synchronization. TU Dortmund, Germany Dependency Graph Approach for Multiprocessor Real-Time Synchronization Jian-Jia Chen, Georg von der Bru ggen, Junjie Shi, and Niklas Ueter TU Dortmund, Germany 14,12,2018 at RTSS Jian-Jia Chen 1 / 21 Multiprocessor

More information

Scheduling Periodic Real-Time Tasks on Uniprocessor Systems. LS 12, TU Dortmund

Scheduling Periodic Real-Time Tasks on Uniprocessor Systems. LS 12, TU Dortmund Scheduling Periodic Real-Time Tasks on Uniprocessor Systems Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 08, Dec., 2015 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 38 Periodic Control System Pseudo-code

More information

Energy-efficient Mapping of Big Data Workflows under Deadline Constraints

Energy-efficient Mapping of Big Data Workflows under Deadline Constraints Energy-efficient Mapping of Big Data Workflows under Deadline Constraints Presenter: Tong Shu Authors: Tong Shu and Prof. Chase Q. Wu Big Data Center Department of Computer Science New Jersey Institute

More information

How the structure of precedence constraints may change the complexity class of scheduling problems

How the structure of precedence constraints may change the complexity class of scheduling problems How the structure of precedence constraints may change the complexity class of scheduling problems D Prot, Odile Bellenguez-Morineau To cite this version: D Prot, Odile Bellenguez-Morineau. How the structure

More information

Lecture 6. Real-Time Systems. Dynamic Priority Scheduling

Lecture 6. Real-Time Systems. Dynamic Priority Scheduling Real-Time Systems Lecture 6 Dynamic Priority Scheduling Online scheduling with dynamic priorities: Earliest Deadline First scheduling CPU utilization bound Optimality and comparison with RM: Schedulability

More information

CMSC 722, AI Planning. Planning and Scheduling

CMSC 722, AI Planning. Planning and Scheduling CMSC 722, AI Planning Planning and Scheduling Dana S. Nau University of Maryland 1:26 PM April 24, 2012 1 Scheduling Given: actions to perform set of resources to use time constraints» e.g., the ones computed

More information

Paper Presentation. Amo Guangmo Tong. University of Taxes at Dallas January 24, 2014

Paper Presentation. Amo Guangmo Tong. University of Taxes at Dallas January 24, 2014 Paper Presentation Amo Guangmo Tong University of Taxes at Dallas gxt140030@utdallas.edu January 24, 2014 Amo Guangmo Tong (UTD) January 24, 2014 1 / 30 Overview 1 Tardiness Bounds under Global EDF Scheduling

More information

Shop problems in scheduling

Shop problems in scheduling UNLV Theses, Dissertations, Professional Papers, and Capstones 5-2011 Shop problems in scheduling James Andro-Vasko University of Nevada, Las Vegas Follow this and additional works at: https://digitalscholarship.unlv.edu/thesesdissertations

More information

Embedded Systems - FS 2018

Embedded Systems - FS 2018 Institut für Technische Informatik und Kommunikationsnetze Prof. L. Thiele Embedded Systems - FS 2018 Sample solution to Exercise 3 Discussion Date: 11.4.2018 Aperiodic Scheduling Task 1: Earliest Deadline

More information

Rate-monotonic scheduling on uniform multiprocessors

Rate-monotonic scheduling on uniform multiprocessors Rate-monotonic scheduling on uniform multiprocessors Sanjoy K. Baruah The University of North Carolina at Chapel Hill Email: baruah@cs.unc.edu Joël Goossens Université Libre de Bruxelles Email: joel.goossens@ulb.ac.be

More information

TDDB68 Concurrent programming and operating systems. Lecture: CPU Scheduling II

TDDB68 Concurrent programming and operating systems. Lecture: CPU Scheduling II TDDB68 Concurrent programming and operating systems Lecture: CPU Scheduling II Mikael Asplund, Senior Lecturer Real-time Systems Laboratory Department of Computer and Information Science Copyright Notice:

More information

There are three priority driven approaches that we will look at

There are three priority driven approaches that we will look at Priority Driven Approaches There are three priority driven approaches that we will look at Earliest-Deadline-First (EDF) Least-Slack-Time-first (LST) Latest-Release-Time-first (LRT) 1 EDF Earliest deadline

More information

2 Martin Skutella modeled by machine-dependent release dates r i 0 which denote the earliest point in time when ob may be processed on machine i. Toge

2 Martin Skutella modeled by machine-dependent release dates r i 0 which denote the earliest point in time when ob may be processed on machine i. Toge Convex Quadratic Programming Relaxations for Network Scheduling Problems? Martin Skutella?? Technische Universitat Berlin skutella@math.tu-berlin.de http://www.math.tu-berlin.de/~skutella/ Abstract. In

More information

Tardiness Bounds under Global EDF Scheduling on a Multiprocessor

Tardiness Bounds under Global EDF Scheduling on a Multiprocessor Tardiness ounds under Global EDF Scheduling on a Multiprocessor UmaMaheswari C. Devi and James H. Anderson Department of Computer Science The University of North Carolina at Chapel Hill Abstract This paper

More information

Non-Work-Conserving Non-Preemptive Scheduling: Motivations, Challenges, and Potential Solutions

Non-Work-Conserving Non-Preemptive Scheduling: Motivations, Challenges, and Potential Solutions Non-Work-Conserving Non-Preemptive Scheduling: Motivations, Challenges, and Potential Solutions Mitra Nasri Chair of Real-time Systems, Technische Universität Kaiserslautern, Germany nasri@eit.uni-kl.de

More information

Single Machine Scheduling with a Non-renewable Financial Resource

Single Machine Scheduling with a Non-renewable Financial Resource Single Machine Scheduling with a Non-renewable Financial Resource Evgeny R. Gafarov a, Alexander A. Lazarev b Institute of Control Sciences of the Russian Academy of Sciences, Profsoyuznaya st. 65, 117997

More information

Schedulability analysis of global Deadline-Monotonic scheduling

Schedulability analysis of global Deadline-Monotonic scheduling Schedulability analysis of global Deadline-Monotonic scheduling Sanjoy Baruah Abstract The multiprocessor Deadline-Monotonic (DM) scheduling of sporadic task systems is studied. A new sufficient schedulability

More information

Clock-driven scheduling

Clock-driven scheduling Clock-driven scheduling Also known as static or off-line scheduling Michal Sojka Czech Technical University in Prague, Faculty of Electrical Engineering, Department of Control Engineering November 8, 2017

More information

Complexity analysis of the discrete sequential search problem with group activities

Complexity analysis of the discrete sequential search problem with group activities Complexity analysis of the discrete sequential search problem with group activities Coolen K, Talla Nobibon F, Leus R. KBI_1313 Complexity analysis of the discrete sequential search problem with group

More information

Scheduling on a single machine under time-of-use electricity tariffs

Scheduling on a single machine under time-of-use electricity tariffs Scheduling on a single machine under time-of-use electricity tariffs Kan Fang Nelson A. Uhan Fu Zhao John W. Sutherland Original version: April 2014 This version: June 2015 Abstract We consider the problem

More information

Multiprocessor Scheduling II: Global Scheduling. LS 12, TU Dortmund

Multiprocessor Scheduling II: Global Scheduling. LS 12, TU Dortmund Multiprocessor Scheduling II: Global Scheduling Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 28, June, 2016 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 42 Global Scheduling We will only focus on identical

More information

Real-Time Systems. Lecture 4. Scheduling basics. Task scheduling - basic taxonomy Basic scheduling techniques Static cyclic scheduling

Real-Time Systems. Lecture 4. Scheduling basics. Task scheduling - basic taxonomy Basic scheduling techniques Static cyclic scheduling Real-Time Systems Lecture 4 Scheduling basics Task scheduling - basic taxonomy Basic scheduling techniques Static cyclic scheduling 1 Last lecture (3) Real-time kernels The task states States and transition

More information

Real-Time Scheduling

Real-Time Scheduling 1 Real-Time Scheduling Formal Model [Some parts of this lecture are based on a real-time systems course of Colin Perkins http://csperkins.org/teaching/rtes/index.html] Real-Time Scheduling Formal Model

More information

CIS 4930/6930: Principles of Cyber-Physical Systems

CIS 4930/6930: Principles of Cyber-Physical Systems CIS 4930/6930: Principles of Cyber-Physical Systems Chapter 11 Scheduling Hao Zheng Department of Computer Science and Engineering University of South Florida H. Zheng (CSE USF) CIS 4930/6930: Principles

More information

THE LINEAR SWITCHING STATE SPACE: A NEW MODELING PARADIGM FOR TASK SCHEDULING PROBLEMS. Hamid Tabatabaee-Yazdi and Mohammad-R. Akbarzadeh-T.

THE LINEAR SWITCHING STATE SPACE: A NEW MODELING PARADIGM FOR TASK SCHEDULING PROBLEMS. Hamid Tabatabaee-Yazdi and Mohammad-R. Akbarzadeh-T. International Journal of Innovative Computing, Information and Control ICIC International c 203 ISSN 349-498 Volume 9, Number 4, April 203 pp 65 677 THE LINEAR SWITCHING STATE SPACE: A NEW MODELING PARADIGM

More information

Priority-driven Scheduling of Periodic Tasks (1) Advanced Operating Systems (M) Lecture 4

Priority-driven Scheduling of Periodic Tasks (1) Advanced Operating Systems (M) Lecture 4 Priority-driven Scheduling of Periodic Tasks (1) Advanced Operating Systems (M) Lecture 4 Priority-driven Scheduling Assign priorities to jobs, based on their deadline or other timing constraint Make scheduling

More information

Real-time operating systems course. 6 Definitions Non real-time scheduling algorithms Real-time scheduling algorithm

Real-time operating systems course. 6 Definitions Non real-time scheduling algorithms Real-time scheduling algorithm Real-time operating systems course 6 Definitions Non real-time scheduling algorithms Real-time scheduling algorithm Definitions Scheduling Scheduling is the activity of selecting which process/thread should

More information

On the Soft Real-Time Optimality of Global EDF on Multiprocessors: From Identical to Uniform Heterogeneous

On the Soft Real-Time Optimality of Global EDF on Multiprocessors: From Identical to Uniform Heterogeneous On the Soft Real-Time Optimality of Global EDF on Multiprocessors: From Identical to Uniform Heterogeneous Kecheng Yang and James H. Anderson Department of Computer Science, University of North Carolina

More information

Polynomial Time Algorithms for Minimum Energy Scheduling

Polynomial Time Algorithms for Minimum Energy Scheduling Polynomial Time Algorithms for Minimum Energy Scheduling Philippe Baptiste 1, Marek Chrobak 2, and Christoph Dürr 1 1 CNRS, LIX UMR 7161, Ecole Polytechnique 91128 Palaiseau, France. Supported by CNRS/NSF

More information

these durations are not neglected. Little is known about the general problem of scheduling typed task systems: Jae [16] and Jansen [18] studied the pr

these durations are not neglected. Little is known about the general problem of scheduling typed task systems: Jae [16] and Jansen [18] studied the pr The complexity of scheduling typed task systems with and without communication delays Jacques Verriet Department of Computer Science, Utrecht University, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands.

More information

Basic Scheduling Problems with Raw Material Constraints

Basic Scheduling Problems with Raw Material Constraints Basic Scheduling Problems with Raw Material Constraints Alexander Grigoriev, 1 Martijn Holthuijsen, 2 Joris van de Klundert 2 1 Faculty of Economics and Business Administration, University of Maastricht,

More information

showed that the SMAT algorithm generates shelf based schedules with an approximation factor of 8.53 [10]. Turek et al. [14] proved that a generalizati

showed that the SMAT algorithm generates shelf based schedules with an approximation factor of 8.53 [10]. Turek et al. [14] proved that a generalizati Preemptive Weighted Completion Time Scheduling of Parallel Jobs? Uwe Schwiegelshohn Computer Engineering Institute, University Dortmund, 441 Dortmund, Germany, uwe@carla.e-technik.uni-dortmund.de Abstract.

More information

Scheduling Parallel Jobs with Linear Speedup

Scheduling Parallel Jobs with Linear Speedup Scheduling Parallel Jobs with Linear Speedup Alexander Grigoriev and Marc Uetz Maastricht University, Quantitative Economics, P.O.Box 616, 6200 MD Maastricht, The Netherlands. Email: {a.grigoriev, m.uetz}@ke.unimaas.nl

More information

Study of Scheduling Problems with Machine Availability Constraint

Study of Scheduling Problems with Machine Availability Constraint Journal of Industrial and Systems Engineering Vol. 1, No. 4, pp 360-383 Winter 2008 Study of Scheduling Problems with Machine Availability Constraint Hamid Reza Dehnar Saidy 1*, Mohammad Taghi Taghavi-Fard

More information

APPROXIMATION ALGORITHMS FOR SCHEDULING ORDERS ON PARALLEL MACHINES

APPROXIMATION ALGORITHMS FOR SCHEDULING ORDERS ON PARALLEL MACHINES UNIVERSIDAD DE CHILE FACULTAD DE CIENCIAS FÍSICAS Y MATEMÁTICAS DEPARTAMENTO DE INGENIERÍA MATEMÁTICA APPROXIMATION ALGORITHMS FOR SCHEDULING ORDERS ON PARALLEL MACHINES SUBMITTED IN PARTIAL FULFILLMENT

More information

Parallel machines scheduling with applications to Internet ad-slot placement

Parallel machines scheduling with applications to Internet ad-slot placement UNLV Theses, Dissertations, Professional Papers, and Capstones 12-2011 Parallel machines scheduling with applications to Internet ad-slot placement Shaista Lubna University of Nevada, Las Vegas Follow

More information