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

PPT
Physics homework help, physics tutor, physics tutoring by onlinetutorsite
DOCX
Chapter 2.1 ticker timer notes
PPT
AS3/ Expt-g/ Sherry
PPT
Ticker timer
PDF
Ece4760 hw4
PPT
Standing Waves on a String
Physics homework help, physics tutor, physics tutoring by onlinetutorsite
Chapter 2.1 ticker timer notes
AS3/ Expt-g/ Sherry
Ticker timer
Ece4760 hw4
Standing Waves on a String

Similar to Scheduling (20)

PPT
Distributed systems scheduling
PDF
G017314249
PDF
Improved Max-Min Scheduling Algorithm
PPTX
Comparing Different Job Scheduling Heuristics
PDF
An adaptive algorithm for task scheduling for computational grid
PDF
thesis-shai
ODP
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
PDF
Optimized Assignment of Independent Task for Improving Resources Performance ...
PDF
Optimized Assignment of Independent Task for Improving Resources Performance ...
PDF
Optimized Assignment of Independent Task for Improving Resources Performance ...
PPTX
Cpu scheduling algorithm on windows
PDF
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
PDF
K017617786
PPTX
Priority driven scheduling of periodic tasks
PDF
Task Scheduling in Grid Computing.
PDF
Embedded Recipes 2017 - Understanding SCHED_DEADLINE - Steven Rostedt
PPT
A Fast Genetic Algorithm Based Static Heuristic for Scheduling Independent Ta...
PDF
Scheduling Problems from Workshop to Collaborative Mobile Computing: A State ...
PDF
Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...
PDF
Max Min Fair Scheduling Algorithm using In Grid Scheduling with Load Balancing
Distributed systems scheduling
G017314249
Improved Max-Min Scheduling Algorithm
Comparing Different Job Scheduling Heuristics
An adaptive algorithm for task scheduling for computational grid
thesis-shai
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
Optimized Assignment of Independent Task for Improving Resources Performance ...
Optimized Assignment of Independent Task for Improving Resources Performance ...
Optimized Assignment of Independent Task for Improving Resources Performance ...
Cpu scheduling algorithm on windows
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
K017617786
Priority driven scheduling of periodic tasks
Task Scheduling in Grid Computing.
Embedded Recipes 2017 - Understanding SCHED_DEADLINE - Steven Rostedt
A Fast Genetic Algorithm Based Static Heuristic for Scheduling Independent Ta...
Scheduling Problems from Workshop to Collaborative Mobile Computing: A State ...
Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...
Max Min Fair Scheduling Algorithm using In Grid Scheduling with Load Balancing
Ad

More from ROSHNI PRADHAN (9)

PPT
Introduction to compiler design, PPT-1, MODULE 1
PPTX
Three address code generation- Compiler design
PPTX
Introduction to Distributed operating system
PPTX
Scheduling
PPTX
2 vm provisioning
PPTX
1 virtualization
PPTX
3 migration
PPTX
vm provisioning
PPTX
Cloud computing intro
Introduction to compiler design, PPT-1, MODULE 1
Three address code generation- Compiler design
Introduction to Distributed operating system
Scheduling
2 vm provisioning
1 virtualization
3 migration
vm provisioning
Cloud computing intro
Ad

Recently uploaded (20)

PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
DOCX
573137875-Attendance-Management-System-original
PPTX
UNIT 4 Total Quality Management .pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Lecture Notes Electrical Wiring System Components
PDF
composite construction of structures.pdf
PPTX
additive manufacturing of ss316l using mig welding
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
PPT on Performance Review to get promotions
Lesson 3_Tessellation.pptx finite Mathematics
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Foundation to blockchain - A guide to Blockchain Tech
CYBER-CRIMES AND SECURITY A guide to understanding
573137875-Attendance-Management-System-original
UNIT 4 Total Quality Management .pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Lecture Notes Electrical Wiring System Components
composite construction of structures.pdf
additive manufacturing of ss316l using mig welding
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Geodesy 1.pptx...............................................
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Model Code of Practice - Construction Work - 21102022 .pdf
Operating System & Kernel Study Guide-1 - converted.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT on Performance Review to get promotions

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