University Dortmund. Robotics Research Institute Information Technology. Job Scheduling. Uwe Schwiegelshohn. EPIT 2007, June 5 Ordonnancement

Size: px
Start display at page:

Download "University Dortmund. Robotics Research Institute Information Technology. Job Scheduling. Uwe Schwiegelshohn. EPIT 2007, June 5 Ordonnancement"

Transcription

1 University Dortmund Robotics Research Institute Information Technology Job Scheduling Uwe Schwiegelshohn EPIT 2007, June 5 Ordonnancement

2 ontent of the Lecture What is ob scheduling? Single machine problems and results Makespan problems on parallel machines Utilization problems on parallel machines ompletion time problems on parallel machines Exemplary workload problem 2

3 Examples of Job Scheduling Processor scheduling Jobs are executed on a PU in a multitasking operating system. Users submit obs to web servers and receive results after some time. Users submit batch computing obs to a parallel processor. Bandwidth scheduling Users call other persons and need bandwidth for some period of time. Airport gate scheduling Airlines require gates for their flights at an airport. Repair crew scheduling ustomer request the repair of their devices. 3

4 Job Properties Independent obs No known precedence constraints Difference to task scheduling Atomic obs No ob stages Difference to ob shop scheduling Batch obs No deadlines or due dates Difference to deadline scheduling p processing time of ob r release date of ob earliest starting time w m weight of ob importance of the ob size of ob parallelism of the ob 4

5 Machine Environments : single machine Many ob scheduling problems are easy. P m : m parallel identical machines Every ob requires the same processing time on each machine. Use of machine eligibility constraints M if ob can only be executed on a subset of machines Airport gate scheduling: wide and narrow body airplanes Q m : m uniformly related machines The machines have different speeds v i that are valid for all obs. In deterministic scheduling, results for P m and Q m are related. In online scheduling, there are significant differences between P m and Q m. R m : m unrelated machines Each ob has a different processing time on each machine. 5

6 Restrictions and onstraints Release dates r Parallelism m Fixed parallelism: m machines must be available during the whole processing of the ob. Malleable obs: The number of allocated machines can change before or during the processing of the ob. Preemption The processing of a ob can be interrupted and continued on another machine. Gang scheduling: The processing of a ob must be continued on the same machines. Machine eligibility constraints M Breakdown of machines m(t): time dependent availability rarely discussed in the literature 6

7 Obective Functions ompletion time of ob : Owner oriented: Makespan: max =max (,..., n ) completion time of the last ob in the system Utilization U t : Average ratio of busy machines to all machines in the interval (0,t] for some time t. User oriented: Total completion time: Σ Total weighted completion time: Σ w Total weighted waiting time: Σ w ( p r ) = Σ w Σ w (p +r ) Total weighted flow time: Σ w ( r ) = Σ w Σ w r Regular obective functions: non decreasing in,..., n const. const. 7

8 Workload lassification Deterministic scheduling problems All problem parameters are available at time 0. Optimal algorithms, Simple individual approximation algorithms Polynomial time approximation schemes Online scheduling problems Parameters of ob are unknown until r (submission over time). p is unknown (nonclairvoyant scheduling). ompetitive analysis Stochastic scheduling Known distribution of ob parameters Randomized algorithms Workload based scheduling An algorithm is parameterized to achieve a good solution for a given workload. 8

9 Nondelay (Greedy) Schedule No machine is kept idle while a ob is waiting for processing. An optimal schedule need not be nondelay! Example: Σ w Nondelay schedule obs 2 p 3 r 0 w 2 2 Σ w = Optimal schedule 2 Σ w =

10 omplexity Hierarchy Some problems are special cases of other problems: Notation: α β γ (reduces to) α 2 β 2 γ 2 Examples: Σ Σ w P m Σ w P m m Σ w R m Q m Σw r w m prmp M brkdwn P m Σ

11 ontent of the Lecture What is ob scheduling? Single machine problems and results Makespan problems on parallel machines Utilization problems on parallel machines ompletion time problems on parallel machines Exemplary workload problem

12 Σ w Σ w is easy and can be solved by sorting all obs in decreasing Smith order w /p (weighted shortest processing time first (WSPT) rule, Smith, 956). Nondelay schedule Proof by contradiction and localization: If the WSPT rule is violated then it is violated by a pair of neighboring task h and k. S : Σ w =...+ w h (t+p h ) + w k (t + p h + p k ) t h k k h S -S 2 : w k p h w h p k > 0 w k /p k > w h /p h S 2 : Σ w =...+ w k (t+p k ) + w h (t + p k + p h ) 2

13 Other Single Machine Problems Every nondelay schedule has optimal makespan and optimal utilization for any interval starting at time 0. WSPT requires knowledge of the processing times No direct application to nonclairvoyant scheduling prmp Σ is easy. The online nonclairvoyant version (Round Robin) has a competitive factor of 2-2/(n+) (Motwani, Phillips, Torng,994). r,prmp Σ is easy. The online, clairvoyant version is easy. r Σ is strongly NP hard. r,prmp Σ w is strongly NP hard. The WSRPT (remaining processing time) rule is not optimal. 3

14 4 Optimal versus Approximation r,prmp Σ w (-r) and r,prmp Σ w Same optimal solution Larger approximation factor for r,prmp Σ w ( -r ). No constant approximation factor for the total flowtime obective (Kellerer, Tautenhahn, Wöginger, 999) + = ) r (OPT) ( w r w (OPT) w (S) w (OPT) w (S) w = ) r (OPT) ( w ) r (S) ( w = + = ) r (OPT) ( w r w (OPT) w (S) w ) r (OPT) ( w (OPT) w (S) w

15 Approximation Algorithms r Σ Approximation factor e/(e-)=.58 (hekuri, Motwani, Nataraan, Stein, 200) lairvoyant online scheduling: competitive factor 2 (Hoogeveen, Vestens,996) r Σ w Approximation factor.6853 (Goemans, Queyranne, Schulz, Skutella, Wang, 2002) lairvoyant online scheduling: competitive factor 2 (Anderson, Potts, 2004) r,prmp Σ w Approximation factor.3333, Randomized online algorithm with the competitive factor.3333 WSPT online algorithm with competitive factor 2 (all results: Schulz, Skutella, 2002) 5

16 ontent of the Lecture What is ob scheduling? Single machine problems and results Makespan problems on parallel machines Utilization problems on parallel machines ompletion time problems on parallel machines Exemplary workload problem 6

17 P m and Makespan with m = A scheduling problem for parallel machines consists of 2 steps: Allocation of obs to machines Generating a sequence of the obs on a machine A minimal makespan represents a balanced load on the machines if no single ob dominates the schedule. max (OPT) max max { p }, m p Preemption may improve a schedule even if all obs are released at the same time. max { p }, (OPT) = max max p m Optimal schedules for parallel identical machines are nondelay. 7

18 P m max P m max is strongly NP-hard (Garey, Johnson 979). Approximation algorithm: Longest processing time first (LPT) rule (Graham, 966) Whenever a machine is free, the longest ob among those not yet processed is put on this machine. Tight approximation factor: max max (LPT) (OPT) 4 3 3m The optimal schedule max (OPT) is not necessarily known but a simple lower bound can be used: (OPT) max p m = n 8

19 LPT Proof () If the claim is not true, then there is a counterexample with the smallest number n of obs. The shortest ob n in this counterexample is the last ob to start processing (LPT) and the last ob to finish processing. If n is not the last ob to finish processing then deletion of n does not change max (LPT) while max (OPT) cannot increase. A counter example with n obs Under LPT, ob n starts at time max (LPT)-p n. In time interval [0, max (LPT) p n ], all machines are busy. max (LPT) p n m n = p 9

20 LPT Proof (2) 4 3 max 3m < (LPT) (LPT) (OPT) p ( ) m (OPT) n max = n + + max p n + m max n = p = p n ( m max n p m (OPT) ) + m p ( m) (OPT) max n = p max(opt) < 3p n At most two obs are scheduled on each machine. For such a problem, LPT is optimal. 20

21 A Worst ase Example for LPT obs p parallel machines: P4 max max (OPT) = 2 =7+5 = 6+6 = max (LPT) = 5 = +4=(4/3 -/(3 4))

22 List Scheduling LPT requires knowledge of the processing times. No direct application to nonclairvoyant scheduling Arbitrary nondelay schedule (List Scheduling, Graham, 966) Tight approximation factor: max max (LIST) (OPT) 2 m 6 6 max (LIST)= max (OPT)=6 22

23 Online Transformation Let A be an algorithm for a ob scheduling problem without release dates and with max (A) (OPT) max k Then there is an algorithm A for the corresponding online ob scheduling problem with max max (A') (OPT) 2k (Shmoys, Wein, Williamson, 995) 23

24 Transformation Proof S 0 : Jobs available at time 0=F - =F -2 F 0 = max (A,S 0 ) S i+ : Jobs released in (F i-,f i ] F i = max (A,S i ) such that no ob from S i starts before F i-. Assume that all obs in S i are released at time F i-2 max (OPT) cannot increase while max (A ) remains unchanged. Proof F i-2 + F i F i- k max (A,S i ) = k max (A') F i- F i-2 F i-3 + F i- F i-2 k max (A,S i- ) < k max (A') F i < 2k max (A') 24

25 List Scheduling Extensions The List scheduling bound 2-/m also applies to P m r max (Hall, Shmoys, 989). Online extension of List scheduling to parallel obs: No machine is kept idle while there is at least one ob waiting and there are enough machines idle to start this ob (nondelay). The List scheduling bound 2-/m also applies to P m m max (Feldmann, Sgall, Teng, 994). The List scheduling bound 2-/m also applies to P m m,r max (Naroska, Schwiegelshohn, 2002). 2-/m is a competitive factor for the corresponding online nonclairvoyant scheduling problem. Proof by induction on the number of different release dates 25

26 P m m max Proof The bound holds if during the whole schedule there is no interval with at least m/2 idle machines. max m 2m - (OPT) max m (S) = m 2 The sum of machines used in any two intervals is larger than m unless the obs executed in one interval are a subset of the obs executed in the other interval. m p max m + 2m (S) max (S) max (S) { p } max 2 m p, 2 max m m 26

27 Makespan with Preemptions P m prmp max is easy. Transformation of a nonpreemptive single machine schedule in a preemptive parallel schedule (McNaughton, 959) The single machine schedule is split into at most m schedules of length max (OPT). Each schedule is executed on a different machine. There are at most m- preemptions. P m r, prmp max is easy. Longest remaining processing time algorithm. lairvoyant online scheduling ompetitive factor for allocation as late as possible. ompetitive factor e/(e-)=.58 for allocation of machine slots at submission time (hen, van Vliet, Wöginger, 995) Nonclairvoyant online scheduling: same competitive factor 2-/m as for the nonpreemptive case (Shmoys, Wein Williamson, 995) 27

28 ontent of the Lecture What is ob scheduling? Single machine problems and results Makespan problems on parallel machines Utilization problems on parallel machines ompletion time problems on parallel machines Exemplary workload problem 28

29 Utilization Utilization U t is closely related to the makespan max if t= max. In online ob scheduling problems, there is no last submitted ob. U t with t being the actual time is better suited than the makespan obective. P m r U t Nonclairvoyant online scheduling: tight competitive factor for any nondelay schedule.3333 (Hussein, Schwiegelshohn, 2006) Proof by induction on the different release dates. 2 2 U 2 (LIST)=0.75 U 2 (OPT)= 29

30 Utilization Proof () Transformation of the ob system Reduction of the release dates time t 2 Interval without idle machines t machines 30

31 Utilization Proof (2) Transformation of the ob system Splitting of obs The system only contains short and long obs. All long obs start at the end of an interval. time Interval without idle machines machines 3

32 Utilization Proof (3) Transformation of the ob system Modification of obs with earlier release dates Nondelay schedule time Optimal schedule machines Interval without idle machines machines 32

33 Utilization Proof (4) If all long obs of a transformed ob system start at their release date, then the utilization is maximal for all t and the equal priority completion time is minimal. time long obs long obs from earlier release dates short obs machines 33

34 Utilization Proof (5) t σ t σ τ r r t r k τ k Nondelay schedule S Optimal schedule t σ t σ τ r r t k r τ r Nondelay schedule S Optimal schedule 34

35 P m r,m U t Parallel obs may cause intermediate idle time even if all obs are released at time 0. Nonclairvoyant online scheduling: ompetitive factor m in the worst case ompetitive factor 2 if the actual time >> max{p } Jobs p +ε +ε +ε +ε 5 r m U 5 (LIST)= ε U 5 (OPT)= 35

36 P m r,m,prmp U t Here, preemption of parallel obs is based on gang scheduling. All allocated machines concurrently start, interrupt, resume, and complete the execution of a parallel ob. There is no migration or change of parallelism. Nonclairvoyant online scheduling: competitive factor 4 (Schwiegelshohn, Yahyapour, 2000) U 3 (A)=7/ U 3 (OPT)=4/5 36

37 ontent of the Lecture What is ob scheduling? Single machine problems and results Makespan problems on parallel machines Utilization problems on parallel machines ompletion time problems on parallel machines Exemplary workload problem 37

38 P m Σ P m Σ is easy. Shortest processing time (SPT) (onway, Maxwell, Miller, 967) Single machine proof: Σ =n p () + (n-) p (2) + 2 p (n-) + p (n) p () p (2) p (3)... p (n-) p (n) must hold for an optimal schedule. Parallel identical machines proof: Dummy obs with processing time 0 are added until n is a multiple of m. The sum of the completion time has n additive terms with one coefficient each: m coefficients with value n/m m coefficients with value n/m : m coefficients with value If there is one coefficient h>n/m then there must be a coefficient k<n/m. Then we replace h with k+ and obtain a smaller Σ. P m prmp Σ is easy (Shortest remaining processing time). 38

39 P m Σw P m Σw is strongly NP-hard. The WSPT algorithm has a tight approximation factor of.207 (Kawaguchi, Kyan, 986) It is sufficient to consider instances where all obs have the same ratio w /p. Proof by induction on the number of different ratios. J is the set of all obs with the largest ratio in an instance I. The weights of all obs in J are multiplied by a positive factor ε < such that those obs now have the second largest ratio. This produces instance I. The WSPT order is still valid. The WSPT schedule remains unchanged. The optimal schedule may change. 39

40 Different Ratios Induction Proof Σw (WSPT,I ) λ Σw (OPT,I ) (induction assumption) x: contribution of all obs in J to Σw (WSPT,I) y: contribution of all obs not in J to Σw (WSPT,I) x : contribution of all obs in J to Σw (OPT,I) y : contribution of all obs not in J to Σw (OPT,I) x λ x (induction assumption) Σw (WSPT,I)= x+y and Σw (WSPT,I )=ε x+y, Σw (OPT,I)=x +y and Σw (OPT,I ) ε x +y y λ y Σw (WSPT,I) λ Σw (OPT,I) y>λ y λ x y>x λ y x /y >x/y x y-xy >0 x y-xy >ε(x y-xy ) Σw (WSPT,I ) Σw (OPT,I) =(ε x+y)(x +y )>(ε x +y )(x+y) Σw (OPT,I ) Σw (WSPT,I) Σw (WSPT,I) λ Σw (OPT,I) Assumption: w =p holds for all obs. 40

41 WSPT Proof () Transformation of the ob system Splitting of ob into obs and 2. The system only contains short and long obs. All long obs start at the end of busy interval in the list schedule. = = (p p w p 2 + p (S') 2 ) w (S') p (S) = p ( (S') p (S') p 2 ) p 2 (S) p 2 (S') = 2 (S) = time machines w w (S) (OPT) w w w w (S') p (OPT') p (S') (OPT') p 2 p 2 4

42 WSPT Proof (2) Single machine without intermediate idle time w =p holds for all obs. w (S)=w (OPT)= 0.5((p ) 2 +p 2 ) Proof by induction on the number of obs w (S) = = 2 2 ( ) ) 2 2 p + p + p ' ( p ' + p ) ( ) ) ( + ) p 2p ' p p ' p p ' 2 = 42

43 WSPT Proof (3) Equalization of the long obs Assumption of a continuous model (fraction of machines) k long obs with different processing times are transformed into n(k) obs with the same processing time p(k) such that p =n(k) p(k) and p 2 =n(k) (p(k)) 2 hold. p(k)= p 2 / p and n(k)= (p ) 2 / p 2 Then we have k n(k) for reasons of convexity. time machines machines 43

44 WSPT Proof (4) Modification of the ob system Partitioning of the long obs into two groups Equalization of the both groups separately The maximum completion time of the small obs decreases due to the large rectangle. The obs of the small rectangle are rearranged. New equalization of the large rectangle Determination of the size of the large rectangle time machines machines 44

45 Release Dates P m r Σ Approximation factor 2 lairvoyant, randomized online scheduling: competitive factor 2 P m r,prmp Σ Approximation factor 2 lairvoyant, randomized online scheduling: competitive factor 2 P m r Σw Approximation factor 2 lairvoyant, randomized online scheduling: competitive factor 2 P m r,prmp Σw Approximation factor 2 lairvoyant, randomized online scheduling: competitive factor 2 (all results Schulz, Skutella, 2002) 45

46 Parallel Jobs P m m,prmp Σw Use of gang scheduling without any task migration Approximation factor 2.37 (Schwiegelshohn, 2004) P m m,prmp Σ Nonclairvoyant approximation factor 2-2/(n+) if all obs are malleable with linear speedup (Deng, Gu, Brecht, Lu, 2000). P m m Σw Approximation factor 7. (Schwiegelshohn, 2004) Approximation factor 2 if m 0.5m holds for all obs (Turek et al., 994) P m m Σ Approximation factor 2 if the obs are malleable without superlinear speedup (Turek et al., 994) 46

47 Online Problems P m m,r,prmp Σw Nonclairvoyant online scheduling with gang scheduling and w =m p : competitive factor (Schwiegelshohn, Yahyapour, 2000) w =m p guarantees that no ob is preferred over another ob regardless of its resource consumption as all obs have the same (extended) Smith ratio. All obs are started in order of their arrival (FFS). Any ob started after a ob can increase the flow time -r by at most a factor of 2 lairvoyant online scheduling with malleable obs and linear speedup: ompetitive factor 2+ε for a deterministic algorithm ompetitive factor 8.67 for a randomized algorithm (both results hakrabarti et al.,996) 47

48 ontent of the Lecture What is ob scheduling? Single machine problems and results Makespan problems on parallel machines Utilization problems on parallel machines ompletion time problems on parallel machines Exemplary workload problem 48

49 MPP Problem Machine model Massively parallel processor (MPP): m parallel identical machines Job model Multiple independent users Nonclairvoyant (unknown processing time p ) with estimates Online (submission over time r ) Fixed degree of parallelism m during the whole processing No preemption Obective Machine utilization Average weighted response time (AWRT): p m ( -r ) Based on user groups 49

50 Algorithmic Approach Reordering of the waiting queue Parameters of obs in the waiting queue Actual time Scheduling situations: weekdays daytime (8am 6pm), weekdays nighttime (6pm 8am), weekends Selected sorting criteria Selected obective onsideration of 2 user groups: 0 AWRT + 4 AWRT 2 Parameter training with Evolution Strategies Recorded workloads and simulations Workload scaling for comparison Waiting queue 50

51 Workloads and User Groups User Group R u /R > 8% 2 8 % 2 % 0. % < 0. % User group definition Identifier T KTH LANL SDS 00 SDS 95 SDS 96 Machine SP2 SP2 M-5 SP2 SP2 SP2 Period 06/26/96 05/3/97 09/23/96 08/29/97 04/0/94 09/24/96 04/28/98 04/30/00 2/29/94 2/30/95 Processors (m) /27/95 2/3/96 Jobs (n) Workload scaling 5

52 Sorting riteria ( Job) f f f 2 ( Job) 3 ( Job) = = = Groups i= Groups i= Groups i= wi Ki wi Ki wi Ki + a waittime requestedtime requestedtime + b processors requestedtime + a waittime + b processors + a waittime requestedtime processors f 4 ( Job) = Groups i= w i ( K + a waittime + b requestedtime processors) i Training of parameters w i, K i, a, b with Evolution Strategies 52

53 T Training and T Workload 5,00 0,00 AWRT Improvements in % 5,00 0,00-5,00-0,00 AWRT AWRT 2 AWRT 3 AWRT 4 AWRT 5-5,00-20,00 Method AWRT AWRT 2 AWRT 3 AWRT 4 AWRT 5 UTIL GREEDY s s s s s % EASY s s s s s % 53

54 T Training and All Workloads 20,00 0,00 Obective Improvements in % 0,00-0,00-20,00-30,00-40,00 T KTH LANL SDS 00 SDS 95 SDS 96-50,00 Some workloads are similar (T, LANL). Some workloads are significantly different (T, KTH). 54

55 Results in T Paretofront AWRT 2 in Seconds PF EASY GREEDY T opt GREEDY ALL opt AWRT in Seconds 55

56 Results in SDS 95 Paretofront AWRT 2 in Seconds PF EASY GREEDY T opt GREEDY ALL opt AWRT in Seconds 56

57 onclusion Most deterministic ob scheduling problems are NP hard. Approximation algorithms Polynomial time approximation schemes Simple algorithms omplete problem knowledge is rare in practice. Online algorithms ompetitive analysis Stochastic scheduling Randomized algorithms hallenges Partial information Recorded workloads User estimates Scheduling obectives and constraints 57

Objective Criteria of Job Scheduling Problems. Uwe Schwiegelshohn, Robotics Research Lab, TU Dortmund University

Objective Criteria of Job Scheduling Problems. Uwe Schwiegelshohn, Robotics Research Lab, TU Dortmund University Objective Criteria of Job Scheduling Problems Uwe Schwiegelshohn, Robotics Research Lab, TU Dortmund University 1 Jobs and Users in Job Scheduling Problems Independent users No or unknown precedence constraints

More information

Classification - Examples

Classification - Examples Lecture 2 Scheduling 1 Classification - Examples 1 r j C max given: n jobs with processing times p 1,...,p n and release dates r 1,...,r n jobs have to be scheduled without preemption on one machine taking

More information

Stiffie's On Line Scheduling Algorithm

Stiffie's On Line Scheduling Algorithm A class of on-line scheduling algorithms to minimize total completion time X. Lu R.A. Sitters L. Stougie Abstract We consider the problem of scheduling jobs on-line on a single machine and on identical

More information

List Scheduling in Order of α-points on a Single Machine

List Scheduling in Order of α-points on a Single Machine List Scheduling in Order of α-points on a Single Machine Martin Skutella Fachbereich Mathematik, Universität Dortmund, D 4422 Dortmund, Germany martin.skutella@uni-dortmund.de http://www.mathematik.uni-dortmund.de/

More information

Scheduling Single Machine Scheduling. Tim Nieberg

Scheduling Single Machine Scheduling. Tim Nieberg Scheduling Single Machine Scheduling Tim Nieberg Single machine models Observation: for non-preemptive problems and regular objectives, a sequence in which the jobs are processed is sufficient to describe

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 27 Approximation Algorithms Load Balancing Weighted Vertex Cover Reminder: Fill out SRTEs online Don t forget to click submit Sofya Raskhodnikova 12/6/2011 S. Raskhodnikova;

More information

Scheduling Shop Scheduling. Tim Nieberg

Scheduling Shop Scheduling. Tim Nieberg Scheduling Shop Scheduling Tim Nieberg Shop models: General Introduction Remark: Consider non preemptive problems with regular objectives Notation Shop Problems: m machines, n jobs 1,..., n operations

More information

Chapter 11. 11.1 Load Balancing. Approximation Algorithms. Load Balancing. Load Balancing on 2 Machines. Load Balancing: Greedy Scheduling

Chapter 11. 11.1 Load Balancing. Approximation Algorithms. Load Balancing. Load Balancing on 2 Machines. Load Balancing: Greedy Scheduling Approximation Algorithms Chapter Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should I do? A. Theory says you're unlikely to find a poly-time algorithm. Must sacrifice one

More information

Duplicating and its Applications in Batch Scheduling

Duplicating and its Applications in Batch Scheduling Duplicating and its Applications in Batch Scheduling Yuzhong Zhang 1 Chunsong Bai 1 Shouyang Wang 2 1 College of Operations Research and Management Sciences Qufu Normal University, Shandong 276826, China

More information

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm. Approximation Algorithms 11 Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of three

More information

An improved on-line algorithm for scheduling on two unrestrictive parallel batch processing machines

An improved on-line algorithm for scheduling on two unrestrictive parallel batch processing machines This is the Pre-Published Version. An improved on-line algorithm for scheduling on two unrestrictive parallel batch processing machines Q.Q. Nong, T.C.E. Cheng, C.T. Ng Department of Mathematics, Ocean

More information

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm. Approximation Algorithms Chapter Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of

More information

Online Scheduling with Bounded Migration

Online Scheduling with Bounded Migration Online Scheduling with Bounded Migration Peter Sanders, Naveen Sivadasan, and Martin Skutella Max-Planck-Institut für Informatik, Saarbrücken, Germany, {sanders,ns,skutella}@mpi-sb.mpg.de Abstract. Consider

More information

Lecture Outline Overview of real-time scheduling algorithms Outline relative strengths, weaknesses

Lecture Outline Overview of real-time scheduling algorithms Outline relative strengths, weaknesses Overview of Real-Time Scheduling Embedded Real-Time Software Lecture 3 Lecture Outline Overview of real-time scheduling algorithms Clock-driven Weighted round-robin Priority-driven Dynamic vs. static Deadline

More information

Real-Time Scheduling (Part 1) (Working Draft) Real-Time System Example

Real-Time Scheduling (Part 1) (Working Draft) Real-Time System Example Real-Time Scheduling (Part 1) (Working Draft) Insup Lee Department of Computer and Information Science School of Engineering and Applied Science University of Pennsylvania www.cis.upenn.edu/~lee/ CIS 41,

More information

Completion Time Scheduling and the WSRPT Algorithm

Completion Time Scheduling and the WSRPT Algorithm Completion Time Scheduling and the WSRPT Algorithm Bo Xiong, Christine Chung Department of Computer Science, Connecticut College, New London, CT {bxiong,cchung}@conncoll.edu Abstract. We consider the online

More information

Real Time Scheduling Basic Concepts. Radek Pelánek

Real Time Scheduling Basic Concepts. Radek Pelánek Real Time Scheduling Basic Concepts Radek Pelánek Basic Elements Model of RT System abstraction focus only on timing constraints idealization (e.g., zero switching time) Basic Elements Basic Notions task

More information

Topic: Greedy Approximations: Set Cover and Min Makespan Date: 1/30/06

Topic: Greedy Approximations: Set Cover and Min Makespan Date: 1/30/06 CS880: Approximations Algorithms Scribe: Matt Elder Lecturer: Shuchi Chawla Topic: Greedy Approximations: Set Cover and Min Makespan Date: 1/30/06 3.1 Set Cover The Set Cover problem is: Given a set of

More information

11. APPROXIMATION ALGORITHMS

11. APPROXIMATION ALGORITHMS 11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: vertex cover LP rounding: vertex cover generalized load balancing knapsack problem Lecture slides by Kevin Wayne Copyright 2005

More information

Online Scheduling for Cloud Computing and Different Service Levels

Online Scheduling for Cloud Computing and Different Service Levels 2012 IEEE 201226th IEEE International 26th International Parallel Parallel and Distributed and Distributed Processing Processing Symposium Symposium Workshops Workshops & PhD Forum Online Scheduling for

More information

Common Approaches to Real-Time Scheduling

Common Approaches to Real-Time Scheduling Common Approaches to Real-Time Scheduling Clock-driven time-driven schedulers Priority-driven schedulers Examples of priority driven schedulers Effective timing constraints The Earliest-Deadline-First

More information

Algorithms for Flow Time Scheduling

Algorithms for Flow Time Scheduling Algorithms for Flow Time Scheduling Nikhil Bansal December 2003 School of Computer Science Computer Science Department Carnegie Mellon University Pittsburgh PA 15213 Thesis Committee: Avrim Blum Chair

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

Applied Algorithm Design Lecture 5

Applied Algorithm Design Lecture 5 Applied Algorithm Design Lecture 5 Pietro Michiardi Eurecom Pietro Michiardi (Eurecom) Applied Algorithm Design Lecture 5 1 / 86 Approximation Algorithms Pietro Michiardi (Eurecom) Applied Algorithm Design

More information

Scheduling Parallel Jobs with Monotone Speedup 1

Scheduling Parallel Jobs with Monotone Speedup 1 Scheduling Parallel Jobs with Monotone Speedup 1 Alexander Grigoriev, Marc Uetz Maastricht University, Quantitative Economics, P.O.Box 616, 6200 MD Maastricht, The Netherlands, {a.grigoriev@ke.unimaas.nl,

More information

Load Balancing. Load Balancing 1 / 24

Load Balancing. Load Balancing 1 / 24 Load Balancing Backtracking, branch & bound and alpha-beta pruning: how to assign work to idle processes without much communication? Additionally for alpha-beta pruning: implementing the young-brothers-wait

More information

Introduction to Scheduling Theory

Introduction to Scheduling Theory Introduction to Scheduling Theory Arnaud Legrand Laboratoire Informatique et Distribution IMAG CNRS, France arnaud.legrand@imag.fr November 8, 2004 1/ 26 Outline 1 Task graphs from outer space 2 Scheduling

More information

On the approximability of average completion time scheduling under precedence constraints

On the approximability of average completion time scheduling under precedence constraints On the approximability of average completion time scheduling under precedence constraints Gerhard J. Woeginger Abstract We consider the scheduling problem of minimizing the average weighted job completion

More information

Factors to Describe Job Shop Scheduling Problem

Factors to Describe Job Shop Scheduling Problem Job Shop Scheduling Job Shop A work location in which a number of general purpose work stations exist and are used to perform a variety of jobs Example: Car repair each operator (mechanic) evaluates plus

More information

Ronald Graham: Laying the Foundations of Online Optimization

Ronald Graham: Laying the Foundations of Online Optimization Documenta Math. 239 Ronald Graham: Laying the Foundations of Online Optimization Susanne Albers Abstract. This chapter highlights fundamental contributions made by Ron Graham in the area of online optimization.

More information

Introducción a Calendarización en Sistemas Paralelas, Grids y Nubes

Introducción a Calendarización en Sistemas Paralelas, Grids y Nubes CICESE Research Center Ensenada, Baja California Mexico Introducción a Calendarización en Sistemas Paralelas, Grids y Nubes Dr. Andrei Tchernykh CICESE Centro de Investigación Científica y de Educación

More information

A binary search algorithm for a special case of minimizing the lateness on a single machine

A binary search algorithm for a special case of minimizing the lateness on a single machine Issue 3, Volume 3, 2009 45 A binary search algorithm for a special case of minimizing the lateness on a single machine Nodari Vakhania Abstract We study the problem of scheduling jobs with release times

More information

Periodic Task Scheduling

Periodic Task Scheduling Periodic Task Scheduling Radek Pelánek Motivation and Assumptions Examples of Periodic Tasks sensory data acquisition control loops action planning system monitoring Motivation and Assumptions Simplifying

More information

The power of -points in preemptive single machine scheduling

The power of -points in preemptive single machine scheduling JOURNAL OF SCHEDULING J. Sched. 22; 5:121 133 (DOI: 1.12/jos.93) The power of -points in preemptive single machine scheduling Andreas S. Schulz 1; 2; ; and Martin Skutella 1 Massachusetts Institute of

More information

Announcements. Basic Concepts. Histogram of Typical CPU- Burst Times. Dispatcher. CPU Scheduler. Burst Cycle. Reading

Announcements. Basic Concepts. Histogram of Typical CPU- Burst Times. Dispatcher. CPU Scheduler. Burst Cycle. Reading Announcements Reading Chapter 5 Chapter 7 (Monday or Wednesday) Basic Concepts CPU I/O burst cycle Process execution consists of a cycle of CPU execution and I/O wait. CPU burst distribution What are the

More information

Load balancing of temporary tasks in the l p norm

Load balancing of temporary tasks in the l p norm Load balancing of temporary tasks in the l p norm Yossi Azar a,1, Amir Epstein a,2, Leah Epstein b,3 a School of Computer Science, Tel Aviv University, Tel Aviv, Israel. b School of Computer Science, The

More information

Resource Allocation Schemes for Gang Scheduling

Resource Allocation Schemes for Gang Scheduling Resource Allocation Schemes for Gang Scheduling B. B. Zhou School of Computing and Mathematics Deakin University Geelong, VIC 327, Australia D. Walsh R. P. Brent Department of Computer Science Australian

More information

An Experimental Study of Online Scheduling Algorithms

An Experimental Study of Online Scheduling Algorithms An Experimental Study of Online Scheduling Algorithms Susanne Bianca Schröder Abstract We present the first comprehensive experimental study of online algorithms for s scheduling problem. s scheduling

More information

Road Map. Scheduling. Types of Scheduling. Scheduling. CPU Scheduling. Job Scheduling. Dickinson College Computer Science 354 Spring 2010.

Road Map. Scheduling. Types of Scheduling. Scheduling. CPU Scheduling. Job Scheduling. Dickinson College Computer Science 354 Spring 2010. Road Map Scheduling Dickinson College Computer Science 354 Spring 2010 Past: What an OS is, why we have them, what they do. Base hardware and support for operating systems Process Management Threads Present:

More information

Scheduling Jobs and Preventive Maintenance Activities on Parallel Machines

Scheduling Jobs and Preventive Maintenance Activities on Parallel Machines Scheduling Jobs and Preventive Maintenance Activities on Parallel Machines Maher Rebai University of Technology of Troyes Department of Industrial Systems 12 rue Marie Curie, 10000 Troyes France maher.rebai@utt.fr

More information

arxiv:1312.4203v3 [cs.dc] 24 Jun 2014

arxiv:1312.4203v3 [cs.dc] 24 Jun 2014 Scheduling MapReduce Jobs and Data Shuffle on Unrelated Processors Dimitris Fotakis 1, Ioannis Milis 2, Emmanouil Zampetakis 1, and Georgios Zois 2,3 arxiv:1312.4203v3 [cs.dc] 24 Jun 2014 1 School of Electrical

More information

Server Scheduling to Balance Priorities, Fairness and Average Quality of Service

Server Scheduling to Balance Priorities, Fairness and Average Quality of Service Server Scheduling to Balance Priorities, Fairness and Average Quality of Service Nikhil Bansal IBM T. J. Watson Research Center nikhil@us.ibm.com Kirk R. Pruhs Computer Science Department University of

More information

A Constant-Approximate Feasibility Test for Multiprocessor Real-Time Scheduling

A Constant-Approximate Feasibility Test for Multiprocessor Real-Time Scheduling Algorithmica manuscript No. (will be inserted by the editor) A Constant-Approximate Feasibility Test for Multiprocessor Real-Time Scheduling Vincenzo Bonifaci Alberto Marchetti-Spaccamela Sebastian Stiller

More information

Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar

Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar Complexity Theory IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar Outline Goals Computation of Problems Concepts and Definitions Complexity Classes and Problems Polynomial Time Reductions Examples

More information

Improved Results for Data Migration and Open Shop Scheduling

Improved Results for Data Migration and Open Shop Scheduling Improved Results for Data Migration and Open Shop Scheduling Rajiv Gandhi 1, Magnús M. Halldórsson, Guy Kortsarz 1, and Hadas Shachnai 3 1 Department of Computer Science, Rutgers University, Camden, NJ

More information

Modeling and Performance Evaluation of Computer Systems Security Operation 1

Modeling and Performance Evaluation of Computer Systems Security Operation 1 Modeling and Performance Evaluation of Computer Systems Security Operation 1 D. Guster 2 St.Cloud State University 3 N.K. Krivulin 4 St.Petersburg State University 5 Abstract A model of computer system

More information

IaaS Model of Resource Management

IaaS Model of Resource Management How to Design a Job Scheduling Algorithm Uwe Schwiegelshohn Robotics Research Institute, TU Dortmund University, 44221 Dortmund, Germany http://www.irf.tu-dortmund.de Abstract. We discuss the components

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms or: How I Learned to Stop Worrying and Deal with NP-Completeness Ong Jit Sheng, Jonathan (A0073924B) March, 2012 Overview Key Results (I) General techniques: Greedy algorithms

More information

Dimensioning an inbound call center using constraint programming

Dimensioning an inbound call center using constraint programming Dimensioning an inbound call center using constraint programming Cyril Canon 1,2, Jean-Charles Billaut 2, and Jean-Louis Bouquard 2 1 Vitalicom, 643 avenue du grain d or, 41350 Vineuil, France ccanon@fr.snt.com

More information

Scheduling Real-time Tasks: Algorithms and Complexity

Scheduling Real-time Tasks: Algorithms and Complexity Scheduling Real-time Tasks: Algorithms and Complexity Sanjoy 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

How To Find An Optimal Search Protocol For An Oblivious Cell

How To Find An Optimal Search Protocol For An Oblivious Cell The Conference Call Search Problem in Wireless Networks Leah Epstein 1, and Asaf Levin 2 1 Department of Mathematics, University of Haifa, 31905 Haifa, Israel. lea@math.haifa.ac.il 2 Department of Statistics,

More information

Scalably Scheduling Processes with Arbitrary Speedup Curves

Scalably Scheduling Processes with Arbitrary Speedup Curves Scalably Scheduling Processes with Arbitrary Speedup Curves Jeff Edmonds Kirk Pruhs Abstract We give a scalable ((1+ǫ-speed O(1-competitive nonclairvoyant algorithm for scheduling jobs with sublinear nondecreasing

More information

JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS. Received December May 12, 2003; revised February 5, 2004

JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS. Received December May 12, 2003; revised February 5, 2004 Scientiae Mathematicae Japonicae Online, Vol. 10, (2004), 431 437 431 JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS Ondřej Čepeka and Shao Chin Sung b Received December May 12, 2003; revised February

More information

Establishing a Mobile Conference Call Under Delay and Bandwidth Constraints

Establishing a Mobile Conference Call Under Delay and Bandwidth Constraints Establishing a Mobile Conference Call Under Delay and Bandwidth Constraints Amotz Bar-Noy Computer and Information Science Department Brooklyn College, CUNY, New York Email: amotz@sci.brooklyn.cuny.edu

More information

Scheduling. Yücel Saygın. These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum

Scheduling. Yücel Saygın. These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum Scheduling Yücel Saygın These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum 1 Scheduling Introduction to Scheduling (1) Bursts of CPU usage alternate with periods

More information

Approximability of Two-Machine No-Wait Flowshop Scheduling with Availability Constraints

Approximability of Two-Machine No-Wait Flowshop Scheduling with Availability Constraints Approximability of Two-Machine No-Wait Flowshop Scheduling with Availability Constraints T.C. Edwin Cheng 1, and Zhaohui Liu 1,2 1 Department of Management, The Hong Kong Polytechnic University Kowloon,

More information

On-line machine scheduling with batch setups

On-line machine scheduling with batch setups On-line machine scheduling with batch setups Lele Zhang, Andrew Wirth Department of Mechanical Engineering The University of Melbourne, VIC 3010, Australia Abstract We study a class of scheduling problems

More information

Today s topic: So far, we have talked about. Question. Task models

Today s topic: So far, we have talked about. Question. Task models Overall Stucture of Real Time Systems So far, we have talked about Task...... Task n Programming Languages to implement the Tasks Run-TIme/Operating Systems to run the Tasks RTOS/Run-Time System Hardware

More information

Partitioned real-time scheduling on heterogeneous shared-memory multiprocessors

Partitioned real-time scheduling on heterogeneous shared-memory multiprocessors Partitioned real-time scheduling on heterogeneous shared-memory multiprocessors Martin Niemeier École Polytechnique Fédérale de Lausanne Discrete Optimization Group Lausanne, Switzerland martin.niemeier@epfl.ch

More information

Joint Optimization of Overlapping Phases in MapReduce

Joint Optimization of Overlapping Phases in MapReduce Joint Optimization of Overlapping Phases in MapReduce Minghong Lin, Li Zhang, Adam Wierman, Jian Tan Abstract MapReduce is a scalable parallel computing framework for big data processing. It exhibits multiple

More information

14.1 Rent-or-buy problem

14.1 Rent-or-buy problem CS787: Advanced Algorithms Lecture 14: Online algorithms We now shift focus to a different kind of algorithmic problem where we need to perform some optimization without knowing the input in advance. Algorithms

More information

Benefits of Global Grid Computing for Job Scheduling

Benefits of Global Grid Computing for Job Scheduling Benefits of Global Grid Computing for Job Scheduling Carsten Ernemann, Volker Hamscher, Ramin Yahyapour Computer Engineering Institute Otto-Hahn-Str. 4, 44221 Dortmund, Germany Email: {carsten.ernemann,

More information

Single machine models: Maximum Lateness -12- Approximation ratio for EDD for problem 1 r j,d j < 0 L max. structure of a schedule Q...

Single machine models: Maximum Lateness -12- Approximation ratio for EDD for problem 1 r j,d j < 0 L max. structure of a schedule Q... Lecture 4 Scheduling 1 Single machine models: Maximum Lateness -12- Approximation ratio for EDD for problem 1 r j,d j < 0 L max structure of a schedule 0 Q 1100 11 00 11 000 111 0 0 1 1 00 11 00 11 00

More information

Operating System Aspects. Real-Time Systems. Resource Management Tasks

Operating System Aspects. Real-Time Systems. Resource Management Tasks Operating System Aspects Chapter 2: Basics Chapter 3: Multimedia Systems Communication Aspects and Services Multimedia Applications and Communication Multimedia Transfer and Control Protocols Quality of

More information

Ph.D. Thesis. Judit Nagy-György. Supervisor: Péter Hajnal Associate Professor

Ph.D. Thesis. Judit Nagy-György. Supervisor: Péter Hajnal Associate Professor Online algorithms for combinatorial problems Ph.D. Thesis by Judit Nagy-György Supervisor: Péter Hajnal Associate Professor Doctoral School in Mathematics and Computer Science University of Szeged Bolyai

More information

Objectives. Chapter 5: CPU Scheduling. CPU Scheduler. Non-preemptive and preemptive. Dispatcher. Alternating Sequence of CPU And I/O Bursts

Objectives. Chapter 5: CPU Scheduling. CPU Scheduler. Non-preemptive and preemptive. Dispatcher. Alternating Sequence of CPU And I/O Bursts Objectives Chapter 5: CPU Scheduling Introduce CPU scheduling, which is the basis for multiprogrammed operating systems Describe various CPU-scheduling algorithms Discuss evaluation criteria for selecting

More information

Combinatorial Algorithms for Data Migration to Minimize Average Completion Time

Combinatorial Algorithms for Data Migration to Minimize Average Completion Time Combinatorial Algorithms for Data Migration to Minimize Average Completion Time Rajiv Gandhi 1 and Julián Mestre 1 Department of Computer Science, Rutgers University-Camden, Camden, NJ 0810. Research partially

More information

Load Balancing on a Grid Using Data Characteristics

Load Balancing on a Grid Using Data Characteristics Load Balancing on a Grid Using Data Characteristics Jonathan White and Dale R. Thompson Computer Science and Computer Engineering Department University of Arkansas Fayetteville, AR 72701, USA {jlw09, drt}@uark.edu

More information

3. Scheduling issues. Common approaches /1. Common approaches /2. Common approaches /3. 2012/13 UniPD / T. Vardanega 23/01/2013. Real-Time Systems 1

3. Scheduling issues. Common approaches /1. Common approaches /2. Common approaches /3. 2012/13 UniPD / T. Vardanega 23/01/2013. Real-Time Systems 1 Common approaches /1 3. Scheduling issues Clock-driven (time-driven) scheduling Scheduling decisions are made beforehand (off line) and carried out at predefined time instants The time instants normally

More information

Commonly Used Approaches to Real-Time Scheduling

Commonly Used Approaches to Real-Time Scheduling Integre Technical Publishing Co., Inc. Liu January 13, 2000 8:46 a.m. chap4 page 60 C H A P T E R 4 Commonly Used Approaches to Real-Time Scheduling This chapter provides a brief overview of three commonly

More information

Batch Scheduling for Identical Multi-Tasks Jobs on Heterogeneous Platforms

Batch Scheduling for Identical Multi-Tasks Jobs on Heterogeneous Platforms atch Scheduling for Identical Multi-Tasks Jobs on Heterogeneous Platforms Jean-Marc Nicod (Jean-Marc.Nicod@lifc.univ-fcomte.fr) Sékou iakité, Laurent Philippe - 16/05/2008 Laboratoire d Informatique de

More information

MIP-Based Approaches for Solving Scheduling Problems with Batch Processing Machines

MIP-Based Approaches for Solving Scheduling Problems with Batch Processing Machines The Eighth International Symposium on Operations Research and Its Applications (ISORA 09) Zhangjiajie, China, September 20 22, 2009 Copyright 2009 ORSC & APORC, pp. 132 139 MIP-Based Approaches for Solving

More information

CPU Scheduling. CPU Scheduling

CPU Scheduling. CPU Scheduling CPU Scheduling Electrical and Computer Engineering Stephen Kim (dskim@iupui.edu) ECE/IUPUI RTOS & APPS 1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling

More information

Weighted Sum Coloring in Batch Scheduling of Conflicting Jobs

Weighted Sum Coloring in Batch Scheduling of Conflicting Jobs Weighted Sum Coloring in Batch Scheduling of Conflicting Jobs Leah Epstein Magnús M. Halldórsson Asaf Levin Hadas Shachnai Abstract Motivated by applications in batch scheduling of jobs in manufacturing

More information

1 st year / 2014-2015/ Principles of Industrial Eng. Chapter -3 -/ Dr. May G. Kassir. Chapter Three

1 st year / 2014-2015/ Principles of Industrial Eng. Chapter -3 -/ Dr. May G. Kassir. Chapter Three Chapter Three Scheduling, Sequencing and Dispatching 3-1- SCHEDULING Scheduling can be defined as prescribing of when and where each operation necessary to manufacture the product is to be performed. It

More information

MapReduce and Distributed Data Analysis. Sergei Vassilvitskii Google Research

MapReduce and Distributed Data Analysis. Sergei Vassilvitskii Google Research MapReduce and Distributed Data Analysis Google Research 1 Dealing With Massive Data 2 2 Dealing With Massive Data Polynomial Memory Sublinear RAM Sketches External Memory Property Testing 3 3 Dealing With

More information

R u t c o r Research R e p o r t. A Method to Schedule Both Transportation and Production at the Same Time in a Special FMS.

R u t c o r Research R e p o r t. A Method to Schedule Both Transportation and Production at the Same Time in a Special FMS. R u t c o r Research R e p o r t A Method to Schedule Both Transportation and Production at the Same Time in a Special FMS Navid Hashemian a Béla Vizvári b RRR 3-2011, February 21, 2011 RUTCOR Rutgers

More information

Weighted Sum Coloring in Batch Scheduling of Conflicting Jobs

Weighted Sum Coloring in Batch Scheduling of Conflicting Jobs Weighted Sum Coloring in Batch Scheduling of Conflicting Jobs Leah Epstein Magnús M. Halldórsson Asaf Levin Hadas Shachnai Abstract Motivated by applications in batch scheduling of jobs in manufacturing

More information

Offline sorting buffers on Line

Offline sorting buffers on Line Offline sorting buffers on Line Rohit Khandekar 1 and Vinayaka Pandit 2 1 University of Waterloo, ON, Canada. email: rkhandekar@gmail.com 2 IBM India Research Lab, New Delhi. email: pvinayak@in.ibm.com

More information

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 General Integer Linear Program: (ILP) min c T x Ax b x 0 integer Assumption: A, b integer The integrality condition

More information

Abstract Title: Planned Preemption for Flexible Resource Constrained Project Scheduling

Abstract Title: Planned Preemption for Flexible Resource Constrained Project Scheduling Abstract number: 015-0551 Abstract Title: Planned Preemption for Flexible Resource Constrained Project Scheduling Karuna Jain and Kanchan Joshi Shailesh J. Mehta School of Management, Indian Institute

More information

A SIMULATION STUDY FOR DYNAMIC FLEXIBLE JOB SHOP SCHEDULING WITH SEQUENCE-DEPENDENT SETUP TIMES

A SIMULATION STUDY FOR DYNAMIC FLEXIBLE JOB SHOP SCHEDULING WITH SEQUENCE-DEPENDENT SETUP TIMES A SIMULATION STUDY FOR DYNAMIC FLEXIBLE JOB SHOP SCHEDULING WITH SEQUENCE-DEPENDENT SETUP TIMES by Zakaria Yahia Abdelrasol Abdelgawad A Thesis Submitted to the Faculty of Engineering at Cairo University

More information

Multi-core real-time scheduling

Multi-core real-time scheduling Multi-core real-time scheduling Credits: Anne-Marie Déplanche, Irccyn, Nantes (many slides come from her presentation at ETR, Brest, September 2011) 1 Multi-core real-time scheduling! Introduction: problem

More information

Fairness in Routing and Load Balancing

Fairness in Routing and Load Balancing Fairness in Routing and Load Balancing Jon Kleinberg Yuval Rabani Éva Tardos Abstract We consider the issue of network routing subject to explicit fairness conditions. The optimization of fairness criteria

More information

Distributed Load Balancing for Machines Fully Heterogeneous

Distributed Load Balancing for Machines Fully Heterogeneous Internship Report 2 nd of June - 22 th of August 2014 Distributed Load Balancing for Machines Fully Heterogeneous Nathanaël Cheriere nathanael.cheriere@ens-rennes.fr ENS Rennes Academic Year 2013-2014

More information

Scheduling Aperiodic and Sporadic Jobs in Priority- Driven Systems

Scheduling Aperiodic and Sporadic Jobs in Priority- Driven Systems Scheduling Aperiodic and Sporadic Jobs in Priority- Driven Systems Ingo Sander ingo@kth.se Liu: Chapter 7 IL2212 Embedded Software 1 Outline l System Model and Assumptions l Scheduling Aperiodic Jobs l

More information

Chapter 5 Process Scheduling

Chapter 5 Process Scheduling Chapter 5 Process Scheduling CPU Scheduling Objective: Basic Scheduling Concepts CPU Scheduling Algorithms Why Multiprogramming? Maximize CPU/Resources Utilization (Based on Some Criteria) CPU Scheduling

More information

ALGORITHMS FOR SEQUENCING AND SCHEDULING IBRAHIM M. ALHARKAN

ALGORITHMS FOR SEQUENCING AND SCHEDULING IBRAHIM M. ALHARKAN ALGORITHMS FOR SEQUENCING AND SCHEDULING IBRAHIM M. ALHARKAN Algorithms for Sequencing and Scheduling Ibrahim M. Alharkan Industrial Engineering Department College of Engineering King Saud University Riyadh,

More information

Process Scheduling CS 241. February 24, 2012. Copyright University of Illinois CS 241 Staff

Process Scheduling CS 241. February 24, 2012. Copyright University of Illinois CS 241 Staff Process Scheduling CS 241 February 24, 2012 Copyright University of Illinois CS 241 Staff 1 Announcements Mid-semester feedback survey (linked off web page) MP4 due Friday (not Tuesday) Midterm Next Tuesday,

More information

The simple case: Cyclic execution

The simple case: Cyclic execution The simple case: Cyclic execution SCHEDULING PERIODIC TASKS Repeat a set of aperiodic tasks at a specific rate (cycle) 1 2 Periodic tasks Periodic tasks (the simplified case) Scheduled to run Arrival time

More information

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is. Some Continuous Probability Distributions CHAPTER 6: Continuous Uniform Distribution: 6. Definition: The density function of the continuous random variable X on the interval [A, B] is B A A x B f(x; A,

More information

20 Selfish Load Balancing

20 Selfish Load Balancing 20 Selfish Load Balancing Berthold Vöcking Abstract Suppose that a set of weighted tasks shall be assigned to a set of machines with possibly different speeds such that the load is distributed evenly among

More information

CPU SCHEDULING (CONT D) NESTED SCHEDULING FUNCTIONS

CPU SCHEDULING (CONT D) NESTED SCHEDULING FUNCTIONS CPU SCHEDULING CPU SCHEDULING (CONT D) Aims to assign processes to be executed by the CPU in a way that meets system objectives such as response time, throughput, and processor efficiency Broken down into

More information

One-Restart Algorithm for Scheduling and Offloading in a Hybrid Cloud

One-Restart Algorithm for Scheduling and Offloading in a Hybrid Cloud One-Restart Algorithm for Scheduling and Offloading in a Hybrid Cloud Jaya Prakash Champati and Ben Liang Department of Electrical and Computer Engineering, University of Toronto {champati,liang}@comm.utoronto.ca

More information

Operatin g Systems: Internals and Design Principle s. Chapter 10 Multiprocessor and Real-Time Scheduling Seventh Edition By William Stallings

Operatin g Systems: Internals and Design Principle s. Chapter 10 Multiprocessor and Real-Time Scheduling Seventh Edition By William Stallings Operatin g Systems: Internals and Design Principle s Chapter 10 Multiprocessor and Real-Time Scheduling Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Bear in mind,

More information

Literature Review of Single Machine Scheduling Problem with Uniform Parallel Machines

Literature Review of Single Machine Scheduling Problem with Uniform Parallel Machines Intelligent Information Management, 2010, 2, 457-474 doi:10.4236/iim.2010.28056 Published Online August 2010 (http://www.scirp.org/journal/iim) Literature Review of Single Machine Scheduling Problem with

More information

159.735. Final Report. Cluster Scheduling. Submitted by: Priti Lohani 04244354

159.735. Final Report. Cluster Scheduling. Submitted by: Priti Lohani 04244354 159.735 Final Report Cluster Scheduling Submitted by: Priti Lohani 04244354 1 Table of contents: 159.735... 1 Final Report... 1 Cluster Scheduling... 1 Table of contents:... 2 1. Introduction:... 3 1.1

More information

Optimal shift scheduling with a global service level constraint

Optimal shift scheduling with a global service level constraint Optimal shift scheduling with a global service level constraint Ger Koole & Erik van der Sluis Vrije Universiteit Division of Mathematics and Computer Science De Boelelaan 1081a, 1081 HV Amsterdam The

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 2014 年 11 月 19 日 These slides use Microsoft clip arts. Microsoft copyright

More information

HYBRID GENETIC ALGORITHMS FOR SCHEDULING ADVERTISEMENTS ON A WEB PAGE

HYBRID GENETIC ALGORITHMS FOR SCHEDULING ADVERTISEMENTS ON A WEB PAGE HYBRID GENETIC ALGORITHMS FOR SCHEDULING ADVERTISEMENTS ON A WEB PAGE Subodha Kumar University of Washington subodha@u.washington.edu Varghese S. Jacob University of Texas at Dallas vjacob@utdallas.edu

More information