SlideShare a Scribd company logo
Scheduling Bag of Tasks on
Dedicated Systems
• Min-Min
• Max-Min
• Sufferage
Min-Min Heuristic
• For each task determine its minimum
completion time over all machines
• Over all tasks find the minimum
completion time
• Assign the task to the machine that
gives this completion time
• Iterate till all the tasks are scheduled
Example of Min-Min
T1 T2 T3
M1 140 20 60
M2 100 100 70
Stage 1: Stage 2: Stage 3:
T1-M2 = 100 T1-M2 = 100 T1-M1 = 160
T2-M1 = 20 T3-M2 = 70
T3-M1 = 60
Assign T2 to M1 Assign T3 to M2 Assign T1 to M1
T1 T3
M1 160 80
M2 100 70
T1
M1 160
M2 170
T2
T3
T1
M1
M2
20
70
160
Max-Min Heuristic
• For each task determine its minimum
completion time over all machines
• Over all tasks find the maximum
completion time
• Assign the task to the machine that
gives this completion time
• Iterate till all the tasks are scheduled
Example of Max-Min
T1 T2 T3
M1 140 20 60
M2 100 100 70
Stage 1: Stage 2: Stage 3:
T1-M2 = 100 T2-M1 = 20 T2-M1 = 80
T2-M1 = 20 T3-M1 = 60
T3-M1 = 60
Assign T1 to M2 Assign T3 to M1 Assign T2 to M1
T2 T3
M1 20 60
M2 200 170
T2
M1 80
M2 200
T3
T1
T2
M1
M2
60
100
80
Sufferage Heuristic
• For each task determine the
difference between its minimum and
second minimum completion time
over all machines (sufferage)
• Over all tasks find the maximum
sufferage
• Assign the task to the machine that
gives this sufferage
• Iterate till all the tasks are scheduled
Example of Sufferage
T1 T2 T3
M1 140 20 60
M2 100 100 70
Stage 1: Stage 2: Stage 3:
T1 = 40 T1 = 60 T3 = 90
T2 = 80 T3 = 10
T3 = 10
Assign T2 to M1 Assign T1 to M2 Assign T3 to M1
T1 T3
M1 160 80
M2 100 70
T3
M1 80
M2 170
T2
T1
T3
M1
M2
20
100
80

More Related Content

Similar to Scheduling

Distributed systems scheduling
Distributed systems schedulingDistributed systems scheduling
Distributed systems scheduling
Pragati Startup Presentation Designer firm
 
Chst math 2019 w answers
Chst math 2019 w answersChst math 2019 w answers
Chst math 2019 w answers
John Newquist
 
Torque - Slip Characteristic of a three phase induction motor
Torque - Slip Characteristic of a three phase induction motorTorque - Slip Characteristic of a three phase induction motor
Torque - Slip Characteristic of a three phase induction motor
Ali Altahir
 
Torque - Slip Characteristic of a three phase induction motor
Torque - Slip Characteristic of a three   phase induction motorTorque - Slip Characteristic of a three   phase induction motor
Torque - Slip Characteristic of a three phase induction motor
Ali Altahir
 
Third lecture of a three phase induction machine
Third lecture of a three   phase induction machineThird lecture of a three   phase induction machine
Third lecture of a three phase induction machine
Ali Altahir
 
Temperature sensor smt172
Temperature sensor   smt172Temperature sensor   smt172
Temperature sensor smt172
en.ofweek.com Industrial B2B Marketplace
 
Chst math
Chst mathChst math
Chst math
John Newquist
 
Harmonic rh dc_servo_specsheet
Harmonic rh dc_servo_specsheetHarmonic rh dc_servo_specsheet
Harmonic rh dc_servo_specsheet
Electromate
 
AVR_Course_Day7 timers counters and interrupt programming
AVR_Course_Day7 timers counters and  interrupt programmingAVR_Course_Day7 timers counters and  interrupt programming
AVR_Course_Day7 timers counters and interrupt programming
Mohamed Ali
 
Time controlled switch catalogue - huimu instrumrnts v1.0 compressed
Time controlled switch catalogue - huimu instrumrnts v1.0 compressedTime controlled switch catalogue - huimu instrumrnts v1.0 compressed
Time controlled switch catalogue - huimu instrumrnts v1.0 compressed
HUIMU Industrial (HUIMULTD)
 
class12_time.ppt
class12_time.pptclass12_time.ppt
class12_time.ppt
GauravWaila
 
Presentation3.ppt
Presentation3.pptPresentation3.ppt
Presentation3.ppt
Khalil Alhatab
 
Transformer overcurrent
Transformer overcurrentTransformer overcurrent
Transformer overcurrent
michaeljmack
 
Introducing MERLIN_3.0.pptx
Introducing MERLIN_3.0.pptxIntroducing MERLIN_3.0.pptx
Introducing MERLIN_3.0.pptx
ssuser716de5
 
flexible-manufacturing-systems
 flexible-manufacturing-systems flexible-manufacturing-systems
flexible-manufacturing-systems
sabry said
 
6_2 Flexible MFG Performance.ppt
6_2 Flexible MFG Performance.ppt6_2 Flexible MFG Performance.ppt
6_2 Flexible MFG Performance.ppt
SabrySYoussef1
 
Newton's Laws of Motion L2.1
Newton's Laws of Motion L2.1Newton's Laws of Motion L2.1
Newton's Laws of Motion L2.1
Claudia Kopanovski
 
Use of an Oscilloscope - maXbox Starter33
Use of an Oscilloscope - maXbox Starter33Use of an Oscilloscope - maXbox Starter33
Use of an Oscilloscope - maXbox Starter33
Max Kleiner
 
09 ms-exercise
09 ms-exercise09 ms-exercise
09 ms-exercise
Himmelstern
 

Similar to Scheduling (20)

Distributed systems scheduling
Distributed systems schedulingDistributed systems scheduling
Distributed systems scheduling
 
Chst math 2019 w answers
Chst math 2019 w answersChst math 2019 w answers
Chst math 2019 w answers
 
Torque - Slip Characteristic of a three phase induction motor
Torque - Slip Characteristic of a three phase induction motorTorque - Slip Characteristic of a three phase induction motor
Torque - Slip Characteristic of a three phase induction motor
 
Torque - Slip Characteristic of a three phase induction motor
Torque - Slip Characteristic of a three   phase induction motorTorque - Slip Characteristic of a three   phase induction motor
Torque - Slip Characteristic of a three phase induction motor
 
Third lecture of a three phase induction machine
Third lecture of a three   phase induction machineThird lecture of a three   phase induction machine
Third lecture of a three phase induction machine
 
Temperature sensor smt172
Temperature sensor   smt172Temperature sensor   smt172
Temperature sensor smt172
 
Chst math
Chst mathChst math
Chst math
 
Harmonic rh dc_servo_specsheet
Harmonic rh dc_servo_specsheetHarmonic rh dc_servo_specsheet
Harmonic rh dc_servo_specsheet
 
AVR_Course_Day7 timers counters and interrupt programming
AVR_Course_Day7 timers counters and  interrupt programmingAVR_Course_Day7 timers counters and  interrupt programming
AVR_Course_Day7 timers counters and interrupt programming
 
Time controlled switch catalogue - huimu instrumrnts v1.0 compressed
Time controlled switch catalogue - huimu instrumrnts v1.0 compressedTime controlled switch catalogue - huimu instrumrnts v1.0 compressed
Time controlled switch catalogue - huimu instrumrnts v1.0 compressed
 
class12_time.ppt
class12_time.pptclass12_time.ppt
class12_time.ppt
 
Timers
TimersTimers
Timers
 
Presentation3.ppt
Presentation3.pptPresentation3.ppt
Presentation3.ppt
 
Transformer overcurrent
Transformer overcurrentTransformer overcurrent
Transformer overcurrent
 
Introducing MERLIN_3.0.pptx
Introducing MERLIN_3.0.pptxIntroducing MERLIN_3.0.pptx
Introducing MERLIN_3.0.pptx
 
flexible-manufacturing-systems
 flexible-manufacturing-systems flexible-manufacturing-systems
flexible-manufacturing-systems
 
6_2 Flexible MFG Performance.ppt
6_2 Flexible MFG Performance.ppt6_2 Flexible MFG Performance.ppt
6_2 Flexible MFG Performance.ppt
 
Newton's Laws of Motion L2.1
Newton's Laws of Motion L2.1Newton's Laws of Motion L2.1
Newton's Laws of Motion L2.1
 
Use of an Oscilloscope - maXbox Starter33
Use of an Oscilloscope - maXbox Starter33Use of an Oscilloscope - maXbox Starter33
Use of an Oscilloscope - maXbox Starter33
 
09 ms-exercise
09 ms-exercise09 ms-exercise
09 ms-exercise
 

More from ROSHNI PRADHAN

Scheduling
SchedulingScheduling
Scheduling
ROSHNI PRADHAN
 
2 vm provisioning
2 vm provisioning2 vm provisioning
2 vm provisioning
ROSHNI PRADHAN
 
1 virtualization
1 virtualization1 virtualization
1 virtualization
ROSHNI PRADHAN
 
3 migration
3 migration3 migration
3 migration
ROSHNI PRADHAN
 
vm provisioning
vm provisioningvm provisioning
vm provisioning
ROSHNI PRADHAN
 
Cloud computing intro
Cloud computing introCloud computing intro
Cloud computing intro
ROSHNI PRADHAN
 

More from ROSHNI PRADHAN (6)

Scheduling
SchedulingScheduling
Scheduling
 
2 vm provisioning
2 vm provisioning2 vm provisioning
2 vm provisioning
 
1 virtualization
1 virtualization1 virtualization
1 virtualization
 
3 migration
3 migration3 migration
3 migration
 
vm provisioning
vm provisioningvm provisioning
vm provisioning
 
Cloud computing intro
Cloud computing introCloud computing intro
Cloud computing intro
 

Recently uploaded

Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 

Recently uploaded (20)

Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 

Scheduling

  • 1. Scheduling Bag of Tasks on Dedicated Systems • Min-Min • Max-Min • Sufferage
  • 2. Min-Min Heuristic • For each task determine its minimum completion time over all machines • Over all tasks find the minimum completion time • Assign the task to the machine that gives this completion time • Iterate till all the tasks are scheduled
  • 3. Example of Min-Min T1 T2 T3 M1 140 20 60 M2 100 100 70 Stage 1: Stage 2: Stage 3: T1-M2 = 100 T1-M2 = 100 T1-M1 = 160 T2-M1 = 20 T3-M2 = 70 T3-M1 = 60 Assign T2 to M1 Assign T3 to M2 Assign T1 to M1 T1 T3 M1 160 80 M2 100 70 T1 M1 160 M2 170 T2 T3 T1 M1 M2 20 70 160
  • 4. Max-Min Heuristic • For each task determine its minimum completion time over all machines • Over all tasks find the maximum completion time • Assign the task to the machine that gives this completion time • Iterate till all the tasks are scheduled
  • 5. Example of Max-Min T1 T2 T3 M1 140 20 60 M2 100 100 70 Stage 1: Stage 2: Stage 3: T1-M2 = 100 T2-M1 = 20 T2-M1 = 80 T2-M1 = 20 T3-M1 = 60 T3-M1 = 60 Assign T1 to M2 Assign T3 to M1 Assign T2 to M1 T2 T3 M1 20 60 M2 200 170 T2 M1 80 M2 200 T3 T1 T2 M1 M2 60 100 80
  • 6. Sufferage Heuristic • For each task determine the difference between its minimum and second minimum completion time over all machines (sufferage) • Over all tasks find the maximum sufferage • Assign the task to the machine that gives this sufferage • Iterate till all the tasks are scheduled
  • 7. Example of Sufferage T1 T2 T3 M1 140 20 60 M2 100 100 70 Stage 1: Stage 2: Stage 3: T1 = 40 T1 = 60 T3 = 90 T2 = 80 T3 = 10 T3 = 10 Assign T2 to M1 Assign T1 to M2 Assign T3 to M1 T1 T3 M1 160 80 M2 100 70 T3 M1 80 M2 170 T2 T1 T3 M1 M2 20 100 80