SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
Improved Online Scheduling in
  Maximizing Throughput of
     Equal Length Jobs
              Nguyen Kim Thang
      (university Paris-Dauphine, France)

    presented by Kristoffer Arnsfelt Hansen
         (university Aarhus, Denmark)
Motivation
 Profit maximization
  Enterprise: perishable product (electricity, ice-cream, ...).
  Clients: single-minded, arrive online, different demands.
  Goal: maximize the profit.



Other applications
Data broadcast: online                       $
broadcast pages
                                                 $
ATM network: online packages,
typically of the same length.                        $
Objective: maximize the total
value.
Model
Online Scheduling
Jobs: arrive at ri, processing time
pi, deadline di , value (weight) wi .
                                        Preemption is necessary
Objective: maximize the total
value of jobs completed on time.


   Preemption with restart: when a job is scheduled again,
it must be executed from the beginning (e.g., data
broadcast).
  Preemption with resume: when a job is scheduled again,
the previously done work can be resumed (e.g., ATM
network) .
Competitive ratio
An algorithm ALG is α-competitive if for any instance I
                    OP T (I)
                             ≤ α (maximization problem)
                    ALG(I)
Competitive ratio
An algorithm ALG is α-competitive if for any instance I
                    OP T (I)
                             ≤ α (maximization problem)
                    ALG(I)

What is a competitive ratio?
  Measure the performance of an algorithm (worst-case analysis)
  The price of an object (the problem):
                        negotiation
            Algorithm                 Adversary
          (upper bound)            (lower bound)
Contribution
          equal processing bounded processing   unbounded
               times          times (by k )   processing times


 unit
              α=1           α = Θ(log k)             ∞
weight
           √
          3 3
general       ≤α≤5          α = Θ(k/ log k)          ∞
           2
                 ≤ 4.24
Contribution
          equal processing bounded processing   unbounded
               times          times (by k )   processing times


 unit
              α=1           α = Θ(log k)             ∞
weight
           √
          3 3
general       ≤α≤5          α = Θ(k/ log k)          ∞
           2
                 ≤ 4.24

  Improved algorithms for both models of preemption
  Weights and correlation between jobs’ deadlines
Settling the competitivity
Methods: charging scheme, potential function, etc

                                  wj
                                        j

                   i
                       α · wi
Settling the competitivity
 Methods: charging scheme, potential function, etc

                                   wj
                                         j

                    i
                        α · wi



ALG



ADV
Starting point
Paradox:      low weight,      which jobs?   higher weight,
           imminent deadline                 later deadline
Starting point
Paradox:        low weight,           which jobs?      higher weight,
             imminent deadline                         later deadline
p : initial job length, qj (t) : length of job j at time t

A job j is pending at time t if t + qj (t) ≤ dj
Starting point
Paradox:        low weight,           which jobs?      higher weight,
             imminent deadline                         later deadline
p : initial job length, qj (t) : length of job j at time t

A job j is pending at time t if t + qj (t) ≤ dj

A 5-competitive algorithm (preemption with restart)
 At any time
     If no currently scheduled job, schedule the pending
    one with highest weight
      If a new pending job arrive with weight at least twice
    that of the currently scheduled job, then schedule the
    new one (by interrupting the current job)
Observations
      Correlation among jobs’ deadlines is ignored

Treatment:

      A job i is urgent at time t if di < t + qi (t) + p


      Some job would be delayed by new urgent jobs
    (even with low weight)


      Ensure no significant lost if new heavy jobs arrive.
Algorithm
  Initially, set Q = ∅, α = 0, 1 < β < 3/2
  At time t , let i, j be a new released job and the currently scheduled
job, respectively. At any interruption, if α > 0 then α := α + 1
Algorithm
  Initially, set Q = ∅, α = 0, 1 < β < 3/2
  At time t , let i, j be a new released job and the currently scheduled
job, respectively. At any interruption, if α > 0 then α := α + 1
                                             schedule i
        If wi ≥ 2wj , wi ≥ 2α w(Q) do
                                              set Q = ∅, α = 0
Algorithm
  Initially, set Q = ∅, α = 0, 1 < β < 3/2
  At time t , let i, j be a new released job and the currently scheduled
job, respectively. At any interruption, if α > 0 then α := α + 1
                                             schedule i
        If wi ≥ 2wj , wi ≥ 2α w(Q) do
                                              set Q = ∅, α = 0

                                             schedule job which is
       If α = 0, βwj ≤ wi ≤ 2wj do             arg max{w : d < t + 2p}
          i urgent and dj ≥ t + 2p
                                             set Q = {j}, α = 1
Algorithm
  Initially, set Q = ∅, α = 0, 1 < β < 3/2
  At time t , let i, j be a new released job and the currently scheduled
job, respectively. At any interruption, if α > 0 then α := α + 1
                                             schedule i
        If wi ≥ 2wj , wi ≥ 2α w(Q) do
                                              set Q = ∅, α = 0

                                             schedule job which is
       If α = 0, βwj ≤ wi ≤ 2wj do             arg max{w : d < t + 2p}
          i urgent and dj ≥ t + 2p
                                             set Q = {j}, α = 1

       If i is urgent                do      schedule i
          wi ≥ 2wj + wj
           no job such that
              Sj (t) + 2p ≤ d < t + 2p, w ≥ wj
The charging scheme
                           phase of job i
                             2wf (i)

ALG                f (i)                        i

                                                wj      wi
ADV
                                            j                i

                                  √
  Theorem: the algorithm is (2 + 5)-competitive
                            √
  Theorem: there is a (2 + 5) -competitive algorithm for model
of preemption with resume
Conclusion
Improved algorithms for both models of preemption



Open questions:

    Settling the right competitive ratio 2.5 ≤ α ≤ 4.24


    Interesting: not to reduce the gap but new methods.
Thank you!
Thank Kristoffer!

Weitere ähnliche Inhalte

Was ist angesagt?

Sienna 2 analysis
Sienna 2 analysisSienna 2 analysis
Sienna 2 analysischidabdu
 
Probabilistic Control of Switched Linear Systems with Chance Constraints
Probabilistic Control of Switched Linear Systems with Chance ConstraintsProbabilistic Control of Switched Linear Systems with Chance Constraints
Probabilistic Control of Switched Linear Systems with Chance ConstraintsLeo Asselborn
 
Grovers Algorithm
Grovers Algorithm Grovers Algorithm
Grovers Algorithm CaseyHaaland
 
0 1 knapsack using branch and bound
0 1 knapsack using branch and bound0 1 knapsack using branch and bound
0 1 knapsack using branch and boundAbhishek Singh
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexityAnkit Katiyar
 
Control of Discrete-Time Piecewise Affine Probabilistic Systems using Reachab...
Control of Discrete-Time Piecewise Affine Probabilistic Systems using Reachab...Control of Discrete-Time Piecewise Affine Probabilistic Systems using Reachab...
Control of Discrete-Time Piecewise Affine Probabilistic Systems using Reachab...Leo Asselborn
 
Cryptanalysis with a Quantum Computer - An Exposition on Shor's Factoring Alg...
Cryptanalysis with a Quantum Computer - An Exposition on Shor's Factoring Alg...Cryptanalysis with a Quantum Computer - An Exposition on Shor's Factoring Alg...
Cryptanalysis with a Quantum Computer - An Exposition on Shor's Factoring Alg...Daniel Hutama
 
Gradient descent optimizer
Gradient descent optimizerGradient descent optimizer
Gradient descent optimizerHojin Yang
 
Bayesian Estimation For Modulated Claim Hedging
Bayesian Estimation For Modulated Claim HedgingBayesian Estimation For Modulated Claim Hedging
Bayesian Estimation For Modulated Claim HedgingIJERA Editor
 
SMB_2012_HR_VAN_ST-last version
SMB_2012_HR_VAN_ST-last versionSMB_2012_HR_VAN_ST-last version
SMB_2012_HR_VAN_ST-last versionLilyana Vankova
 
Shor’s algorithm the ppt
Shor’s algorithm the pptShor’s algorithm the ppt
Shor’s algorithm the pptMrinal Mondal
 
QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28Aritra Sarkar
 
asymptotic notations i
asymptotic notations iasymptotic notations i
asymptotic notations iAli mahmood
 
How to design a linear control system
How to design a linear control systemHow to design a linear control system
How to design a linear control systemAlireza Mirzaei
 

Was ist angesagt? (20)

Sienna 2 analysis
Sienna 2 analysisSienna 2 analysis
Sienna 2 analysis
 
Probabilistic Control of Switched Linear Systems with Chance Constraints
Probabilistic Control of Switched Linear Systems with Chance ConstraintsProbabilistic Control of Switched Linear Systems with Chance Constraints
Probabilistic Control of Switched Linear Systems with Chance Constraints
 
Grovers Algorithm
Grovers Algorithm Grovers Algorithm
Grovers Algorithm
 
0 1 knapsack using branch and bound
0 1 knapsack using branch and bound0 1 knapsack using branch and bound
0 1 knapsack using branch and bound
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexity
 
Control of Discrete-Time Piecewise Affine Probabilistic Systems using Reachab...
Control of Discrete-Time Piecewise Affine Probabilistic Systems using Reachab...Control of Discrete-Time Piecewise Affine Probabilistic Systems using Reachab...
Control of Discrete-Time Piecewise Affine Probabilistic Systems using Reachab...
 
Cryptanalysis with a Quantum Computer - An Exposition on Shor's Factoring Alg...
Cryptanalysis with a Quantum Computer - An Exposition on Shor's Factoring Alg...Cryptanalysis with a Quantum Computer - An Exposition on Shor's Factoring Alg...
Cryptanalysis with a Quantum Computer - An Exposition on Shor's Factoring Alg...
 
Gradient descent optimizer
Gradient descent optimizerGradient descent optimizer
Gradient descent optimizer
 
Bayesian Estimation For Modulated Claim Hedging
Bayesian Estimation For Modulated Claim HedgingBayesian Estimation For Modulated Claim Hedging
Bayesian Estimation For Modulated Claim Hedging
 
12handout
12handout12handout
12handout
 
Lec37
Lec37Lec37
Lec37
 
SMB_2012_HR_VAN_ST-last version
SMB_2012_HR_VAN_ST-last versionSMB_2012_HR_VAN_ST-last version
SMB_2012_HR_VAN_ST-last version
 
Kumegawa russia
Kumegawa russiaKumegawa russia
Kumegawa russia
 
Chapter04
Chapter04Chapter04
Chapter04
 
Shor’s algorithm the ppt
Shor’s algorithm the pptShor’s algorithm the ppt
Shor’s algorithm the ppt
 
QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28
 
Ph.D. Defense
Ph.D. DefensePh.D. Defense
Ph.D. Defense
 
discrete-hmm
discrete-hmmdiscrete-hmm
discrete-hmm
 
asymptotic notations i
asymptotic notations iasymptotic notations i
asymptotic notations i
 
How to design a linear control system
How to design a linear control systemHow to design a linear control system
How to design a linear control system
 

Andere mochten auch

Csr2011 june14 09_30_grigoriev
Csr2011 june14 09_30_grigorievCsr2011 june14 09_30_grigoriev
Csr2011 june14 09_30_grigorievCSR2011
 
Csr2011 june18 11_30_remila
Csr2011 june18 11_30_remilaCsr2011 june18 11_30_remila
Csr2011 june18 11_30_remilaCSR2011
 
Much ado about randomness. What is really a random number?
Much ado about randomness. What is really a random number?Much ado about randomness. What is really a random number?
Much ado about randomness. What is really a random number?Aleksandr Yampolskiy
 
Csr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCsr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCSR2011
 
Csr2011 june18 15_45_avron
Csr2011 june18 15_45_avronCsr2011 june18 15_45_avron
Csr2011 june18 15_45_avronCSR2011
 
Csr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCsr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCSR2011
 
Csr2011 june18 14_00_sudan
Csr2011 june18 14_00_sudanCsr2011 june18 14_00_sudan
Csr2011 june18 14_00_sudanCSR2011
 

Andere mochten auch (7)

Csr2011 june14 09_30_grigoriev
Csr2011 june14 09_30_grigorievCsr2011 june14 09_30_grigoriev
Csr2011 june14 09_30_grigoriev
 
Csr2011 june18 11_30_remila
Csr2011 june18 11_30_remilaCsr2011 june18 11_30_remila
Csr2011 june18 11_30_remila
 
Much ado about randomness. What is really a random number?
Much ado about randomness. What is really a random number?Much ado about randomness. What is really a random number?
Much ado about randomness. What is really a random number?
 
Csr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCsr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoff
 
Csr2011 june18 15_45_avron
Csr2011 june18 15_45_avronCsr2011 june18 15_45_avron
Csr2011 june18 15_45_avron
 
Csr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCsr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoff
 
Csr2011 june18 14_00_sudan
Csr2011 june18 14_00_sudanCsr2011 june18 14_00_sudan
Csr2011 june18 14_00_sudan
 

Ähnlich wie Csr2011 june18 12_00_nguyen

final-ppts-daa-unit-iii-greedy-method.pdf
final-ppts-daa-unit-iii-greedy-method.pdffinal-ppts-daa-unit-iii-greedy-method.pdf
final-ppts-daa-unit-iii-greedy-method.pdfJasmineSayyed3
 
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docxeugeniadean34240
 
UNIT-II.pptx
UNIT-II.pptxUNIT-II.pptx
UNIT-II.pptxJyoReddy9
 
Distributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUsDistributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUsPantelis Sopasakis
 
daa-unit-3-greedy method
daa-unit-3-greedy methoddaa-unit-3-greedy method
daa-unit-3-greedy methodhodcsencet
 
A New Lagrangian Relaxation Approach To The Generalized Assignment Problem
A New Lagrangian Relaxation Approach To The Generalized Assignment ProblemA New Lagrangian Relaxation Approach To The Generalized Assignment Problem
A New Lagrangian Relaxation Approach To The Generalized Assignment ProblemKim Daniels
 
Lagrangian Relaxation And Danzig Wolfe Scheduling Problem
Lagrangian Relaxation And Danzig Wolfe Scheduling ProblemLagrangian Relaxation And Danzig Wolfe Scheduling Problem
Lagrangian Relaxation And Danzig Wolfe Scheduling Problemmrwalker7
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...narmo
 
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...Chiheb Ben Hammouda
 
data structures and algorithms Unit 4
data structures and algorithms Unit 4data structures and algorithms Unit 4
data structures and algorithms Unit 4infanciaj
 
0006.scheduling not-ilp-not-force
0006.scheduling not-ilp-not-force0006.scheduling not-ilp-not-force
0006.scheduling not-ilp-not-forcesean chen
 
The newsboy problem in determining optimal quantity in
The newsboy problem in determining optimal quantity inThe newsboy problem in determining optimal quantity in
The newsboy problem in determining optimal quantity inAlexander Decker
 
AAC ch 3 Advance strategies (Dynamic Programming).pptx
AAC ch 3 Advance strategies (Dynamic Programming).pptxAAC ch 3 Advance strategies (Dynamic Programming).pptx
AAC ch 3 Advance strategies (Dynamic Programming).pptxHarshitSingh334328
 
test pre
test pretest pre
test prefarazch
 
Complexity Analysis
Complexity Analysis Complexity Analysis
Complexity Analysis Shaista Qadir
 
Lab: Foundation of Concurrent and Distributed Systems
Lab: Foundation of Concurrent and Distributed SystemsLab: Foundation of Concurrent and Distributed Systems
Lab: Foundation of Concurrent and Distributed SystemsRuochun Tzeng
 
MLHEP Lectures - day 2, basic track
MLHEP Lectures - day 2, basic trackMLHEP Lectures - day 2, basic track
MLHEP Lectures - day 2, basic trackarogozhnikov
 

Ähnlich wie Csr2011 june18 12_00_nguyen (20)

final-ppts-daa-unit-iii-greedy-method.pdf
final-ppts-daa-unit-iii-greedy-method.pdffinal-ppts-daa-unit-iii-greedy-method.pdf
final-ppts-daa-unit-iii-greedy-method.pdf
 
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
 
UNIT-II.pptx
UNIT-II.pptxUNIT-II.pptx
UNIT-II.pptx
 
Distributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUsDistributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUs
 
daa-unit-3-greedy method
daa-unit-3-greedy methoddaa-unit-3-greedy method
daa-unit-3-greedy method
 
A New Lagrangian Relaxation Approach To The Generalized Assignment Problem
A New Lagrangian Relaxation Approach To The Generalized Assignment ProblemA New Lagrangian Relaxation Approach To The Generalized Assignment Problem
A New Lagrangian Relaxation Approach To The Generalized Assignment Problem
 
Lagrangian Relaxation And Danzig Wolfe Scheduling Problem
Lagrangian Relaxation And Danzig Wolfe Scheduling ProblemLagrangian Relaxation And Danzig Wolfe Scheduling Problem
Lagrangian Relaxation And Danzig Wolfe Scheduling Problem
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...
 
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
 
data structures and algorithms Unit 4
data structures and algorithms Unit 4data structures and algorithms Unit 4
data structures and algorithms Unit 4
 
0006.scheduling not-ilp-not-force
0006.scheduling not-ilp-not-force0006.scheduling not-ilp-not-force
0006.scheduling not-ilp-not-force
 
The newsboy problem in determining optimal quantity in
The newsboy problem in determining optimal quantity inThe newsboy problem in determining optimal quantity in
The newsboy problem in determining optimal quantity in
 
The Gaussian Hardy-Littlewood Maximal Function
The Gaussian Hardy-Littlewood Maximal FunctionThe Gaussian Hardy-Littlewood Maximal Function
The Gaussian Hardy-Littlewood Maximal Function
 
Ch2 2011 s
Ch2 2011 sCh2 2011 s
Ch2 2011 s
 
AAC ch 3 Advance strategies (Dynamic Programming).pptx
AAC ch 3 Advance strategies (Dynamic Programming).pptxAAC ch 3 Advance strategies (Dynamic Programming).pptx
AAC ch 3 Advance strategies (Dynamic Programming).pptx
 
poster2
poster2poster2
poster2
 
test pre
test pretest pre
test pre
 
Complexity Analysis
Complexity Analysis Complexity Analysis
Complexity Analysis
 
Lab: Foundation of Concurrent and Distributed Systems
Lab: Foundation of Concurrent and Distributed SystemsLab: Foundation of Concurrent and Distributed Systems
Lab: Foundation of Concurrent and Distributed Systems
 
MLHEP Lectures - day 2, basic track
MLHEP Lectures - day 2, basic trackMLHEP Lectures - day 2, basic track
MLHEP Lectures - day 2, basic track
 

Mehr von CSR2011

Csr2011 june18 09_30_shpilka
Csr2011 june18 09_30_shpilkaCsr2011 june18 09_30_shpilka
Csr2011 june18 09_30_shpilkaCSR2011
 
Csr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskinCsr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskinCSR2011
 
Csr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanovCsr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanovCSR2011
 
Csr2011 june17 16_30_blin
Csr2011 june17 16_30_blinCsr2011 june17 16_30_blin
Csr2011 june17 16_30_blinCSR2011
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCSR2011
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCSR2011
 
Csr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCsr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCSR2011
 
Csr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyiCsr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyiCSR2011
 
Csr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonatiCsr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonatiCSR2011
 
Csr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCsr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCSR2011
 
Csr2011 june17 15_15_kaminski
Csr2011 june17 15_15_kaminskiCsr2011 june17 15_15_kaminski
Csr2011 june17 15_15_kaminskiCSR2011
 
Csr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCsr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCSR2011
 
Csr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCsr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCSR2011
 
Csr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyiCsr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyiCSR2011
 
Csr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonatiCsr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonatiCSR2011
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCSR2011
 
Csr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanovCsr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanovCSR2011
 
Csr2011 june16 17_00_lohrey
Csr2011 june16 17_00_lohreyCsr2011 june16 17_00_lohrey
Csr2011 june16 17_00_lohreyCSR2011
 
Csr2011 june16 11_30_georgiadis
Csr2011 june16 11_30_georgiadisCsr2011 june16 11_30_georgiadis
Csr2011 june16 11_30_georgiadisCSR2011
 
Csr2011 june16 16_30_golovach
Csr2011 june16 16_30_golovachCsr2011 june16 16_30_golovach
Csr2011 june16 16_30_golovachCSR2011
 

Mehr von CSR2011 (20)

Csr2011 june18 09_30_shpilka
Csr2011 june18 09_30_shpilkaCsr2011 june18 09_30_shpilka
Csr2011 june18 09_30_shpilka
 
Csr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskinCsr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskin
 
Csr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanovCsr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanov
 
Csr2011 june17 16_30_blin
Csr2011 june17 16_30_blinCsr2011 june17 16_30_blin
Csr2011 june17 16_30_blin
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhanin
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhanin
 
Csr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCsr2011 june17 12_00_morin
Csr2011 june17 12_00_morin
 
Csr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyiCsr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyi
 
Csr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonatiCsr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonati
 
Csr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCsr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatov
 
Csr2011 june17 15_15_kaminski
Csr2011 june17 15_15_kaminskiCsr2011 june17 15_15_kaminski
Csr2011 june17 15_15_kaminski
 
Csr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCsr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatov
 
Csr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCsr2011 june17 12_00_morin
Csr2011 june17 12_00_morin
 
Csr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyiCsr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyi
 
Csr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonatiCsr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonati
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhanin
 
Csr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanovCsr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanov
 
Csr2011 june16 17_00_lohrey
Csr2011 june16 17_00_lohreyCsr2011 june16 17_00_lohrey
Csr2011 june16 17_00_lohrey
 
Csr2011 june16 11_30_georgiadis
Csr2011 june16 11_30_georgiadisCsr2011 june16 11_30_georgiadis
Csr2011 june16 11_30_georgiadis
 
Csr2011 june16 16_30_golovach
Csr2011 june16 16_30_golovachCsr2011 june16 16_30_golovach
Csr2011 june16 16_30_golovach
 

Csr2011 june18 12_00_nguyen

  • 1. Improved Online Scheduling in Maximizing Throughput of Equal Length Jobs Nguyen Kim Thang (university Paris-Dauphine, France) presented by Kristoffer Arnsfelt Hansen (university Aarhus, Denmark)
  • 2. Motivation Profit maximization Enterprise: perishable product (electricity, ice-cream, ...). Clients: single-minded, arrive online, different demands. Goal: maximize the profit. Other applications Data broadcast: online $ broadcast pages $ ATM network: online packages, typically of the same length. $ Objective: maximize the total value.
  • 3. Model Online Scheduling Jobs: arrive at ri, processing time pi, deadline di , value (weight) wi . Preemption is necessary Objective: maximize the total value of jobs completed on time. Preemption with restart: when a job is scheduled again, it must be executed from the beginning (e.g., data broadcast). Preemption with resume: when a job is scheduled again, the previously done work can be resumed (e.g., ATM network) .
  • 4. Competitive ratio An algorithm ALG is α-competitive if for any instance I OP T (I) ≤ α (maximization problem) ALG(I)
  • 5. Competitive ratio An algorithm ALG is α-competitive if for any instance I OP T (I) ≤ α (maximization problem) ALG(I) What is a competitive ratio? Measure the performance of an algorithm (worst-case analysis) The price of an object (the problem): negotiation Algorithm Adversary (upper bound) (lower bound)
  • 6. Contribution equal processing bounded processing unbounded times times (by k ) processing times unit α=1 α = Θ(log k) ∞ weight √ 3 3 general ≤α≤5 α = Θ(k/ log k) ∞ 2 ≤ 4.24
  • 7. Contribution equal processing bounded processing unbounded times times (by k ) processing times unit α=1 α = Θ(log k) ∞ weight √ 3 3 general ≤α≤5 α = Θ(k/ log k) ∞ 2 ≤ 4.24 Improved algorithms for both models of preemption Weights and correlation between jobs’ deadlines
  • 8. Settling the competitivity Methods: charging scheme, potential function, etc wj j i α · wi
  • 9. Settling the competitivity Methods: charging scheme, potential function, etc wj j i α · wi ALG ADV
  • 10. Starting point Paradox: low weight, which jobs? higher weight, imminent deadline later deadline
  • 11. Starting point Paradox: low weight, which jobs? higher weight, imminent deadline later deadline p : initial job length, qj (t) : length of job j at time t A job j is pending at time t if t + qj (t) ≤ dj
  • 12. Starting point Paradox: low weight, which jobs? higher weight, imminent deadline later deadline p : initial job length, qj (t) : length of job j at time t A job j is pending at time t if t + qj (t) ≤ dj A 5-competitive algorithm (preemption with restart) At any time If no currently scheduled job, schedule the pending one with highest weight If a new pending job arrive with weight at least twice that of the currently scheduled job, then schedule the new one (by interrupting the current job)
  • 13. Observations Correlation among jobs’ deadlines is ignored Treatment: A job i is urgent at time t if di < t + qi (t) + p Some job would be delayed by new urgent jobs (even with low weight) Ensure no significant lost if new heavy jobs arrive.
  • 14. Algorithm Initially, set Q = ∅, α = 0, 1 < β < 3/2 At time t , let i, j be a new released job and the currently scheduled job, respectively. At any interruption, if α > 0 then α := α + 1
  • 15. Algorithm Initially, set Q = ∅, α = 0, 1 < β < 3/2 At time t , let i, j be a new released job and the currently scheduled job, respectively. At any interruption, if α > 0 then α := α + 1 schedule i If wi ≥ 2wj , wi ≥ 2α w(Q) do set Q = ∅, α = 0
  • 16. Algorithm Initially, set Q = ∅, α = 0, 1 < β < 3/2 At time t , let i, j be a new released job and the currently scheduled job, respectively. At any interruption, if α > 0 then α := α + 1 schedule i If wi ≥ 2wj , wi ≥ 2α w(Q) do set Q = ∅, α = 0 schedule job which is If α = 0, βwj ≤ wi ≤ 2wj do arg max{w : d < t + 2p} i urgent and dj ≥ t + 2p set Q = {j}, α = 1
  • 17. Algorithm Initially, set Q = ∅, α = 0, 1 < β < 3/2 At time t , let i, j be a new released job and the currently scheduled job, respectively. At any interruption, if α > 0 then α := α + 1 schedule i If wi ≥ 2wj , wi ≥ 2α w(Q) do set Q = ∅, α = 0 schedule job which is If α = 0, βwj ≤ wi ≤ 2wj do arg max{w : d < t + 2p} i urgent and dj ≥ t + 2p set Q = {j}, α = 1 If i is urgent do schedule i wi ≥ 2wj + wj no job such that Sj (t) + 2p ≤ d < t + 2p, w ≥ wj
  • 18. The charging scheme phase of job i 2wf (i) ALG f (i) i wj wi ADV j i √ Theorem: the algorithm is (2 + 5)-competitive √ Theorem: there is a (2 + 5) -competitive algorithm for model of preemption with resume
  • 19. Conclusion Improved algorithms for both models of preemption Open questions: Settling the right competitive ratio 2.5 ≤ α ≤ 4.24 Interesting: not to reduce the gap but new methods.