SlideShare ist ein Scribd-Unternehmen logo
1 von 19
A Fast Genetic Algorithm Based Static Heuristic
For Scheduling Independent Tasks on Heterogeneous Systems
Gaurav Menghani
Department of Computer Engineering,
Thadomal Shahani Engineering College,
University of Mumbai
Outline
• Scheduling
• Scheduling Heuristics
• Sympathy & Segmented Sympathy
• Modified Genetic Algorithm
• Simulation Procedure
• Results
Scheduling
 Is important in systems like Grids, where heterogeneous resources might be
connected and heterogeneous tasks need to be scheduled on them.
 Finding the optimal time for running all the tasks on a set of heterogeneous
machines is an NP-Complete problem.
Scheduling Heuristics
 Online Mode Heuristic – Task is mapped to a machine, as soon as it arrives.
 Batch Mode Heuristic – Task mapping happens at certain scheduled mapping
events. A set of unexecuted tasks, termed as a Metatask, is considered for
mapping.
Scheduling Heuristics
 Minimum Completion Time (MCT) – Map the task to the machine with the
best completion time for that task.
 Min-Min – The task with the overall minimum completion time in the meta-
task, is assigned to the machine where it achieves it, and removed from the meta-
task.
 Sufferage – For every task, its sufferage value (the difference between its second
best completion time and best completion time) is computed. The task with the
highest sufferage value is assigned to the machine with its minimum completion
time, and removed from the metatask.
Scheduling Heuristics
 Segmented Min-Min (SMM) – SMM sorts the tasks according to the
minimum/maximum/average expected completion time of each task with respect
to each machine. The list is then partitioned into a fixed number of segments.
Subsequently, Min-Min is applied individually applied on each segment, in order.
 Genetic Algorithm (GA) – Is used to search large search spaces. It starts with a
randomly generated population of chromosomes (task mappings), optionally
seeded with mappings generated from other heuristics.
Sympathy Heuristic
 Uses the Sympathy Metric.
si = E(ci) x V(ci)
Where,
si is the Sympathy metric for task i.
E(ci) is the mean completion time for task i on all machines.
V(ci) is the variance of completion times for task i on all machines.
Sympathy Heuristic
1.start
2. do
2.1 Compute si for all tasks in M,
2.2 Find task i with the highest value of si,
2.3 Map task i to machine j with the lowest
value of cij,
2.4 Remove i from M,
2.5 Recompute completion times for all tasks
3. while M is not empty.
4. end.
Segmented Sympathy Heuristic
1.start
2.Sort each task by their respective Sympathy
metrics.
3.Partition into a fixed number of Segments.
4.Starting with the segment with the highest
sympathy metric, apply Min-Min individually
on all segments.
5.end.
Modified Genetic Algorithm
Genetic Algorithm described in Braun et. al (referred to as Braun GA
henceforth), was found to be inefficient. The following improvements were made.
 Seeding: Seeded with Min-Min, Segmented Min-Min, and Segmented
Sympathy. Only seeded iterations were retained, since unseeded iterations were
not producing good quality mappings.
Population & Elitism: The population size was kept to 100. Top 5%
chromosomes in each generation survived.
Modified Genetic Algorithm
 Swap Based Crossover: A one-bit swap operation with 40% probability, swaps
the machine mapping of a single task between two chromosomes.
 Fitness Based Crossover: Is crossover, which is based upon fitness with 20%
probability, takes place. In this, two parents produce a single offspring. If one of
the parents is more fit than the other, the offspring is more likely to have the
assignments according to that parent.
Modified Genetic Algorithm
 Stopping Condition: If the elite chromosome does not change for 100
generations, the algorithm stops.
 Local Search: To improve the final solution, a local search is performed on the
elite chromosome.
Simulation Procedure
 Heuristics Chosen: MCT, Min-Min, Sufferage, SMM Average, Sympathy,
Segmented Sympathy, Braun GA and GA.
 Three basic types of ETC matrices, Consistent, Semi-Consistent and
Inconsistent were used. Each matrix has four types of heterogeneities with respect
to tasks and machines. Number of tasks in each matrix is, t = 16 and machines is,
m = 512. In all, twelve types of ETC matrices were used to compare the
heuristics.
 For each type of ETC matrix, ten meta-tasks were provided.
Simulation Procedure
 Heuristics Chosen: MCT, Min-Min, Sufferage, SMM Average, Sympathy,
Segmented Sympathy, Braun GA and GA.
 Three basic types of ETC matrices, Consistent, Semi-Consistent and
Inconsistent were used. Each matrix has four types of heterogeneities with respect
to tasks and machines. Number of tasks in each matrix is, t = 16 and machines is,
m = 512. In all, twelve types of ETC matrices were used to compare the
heuristics.
 For each type of ETC matrix, ten meta-tasks were provided.
Simulation Procedure
 After a heuristic provided a mapping, its makespan was obtained, and a penalty
was assigned to the heuristic based upon its makespan and the maximum of the
makespans provided by all the heuristics in H, the set of heuristics.
 Thus for each metatask a heuristic can receive a score in the range (0, 1]
Pit = (makespan of heuristic i for metatask t) /
(maximum makespan amongst all heuristics in H for t)
Results
 MCT was comparable to Min-Min in the consistent cases, but otherwise its
makespans were amongst the worst.
 Sufferage also did not perform well.
 Sympathy performed better than Sufferage. It matched Min-Min in all the
consistent cases, and was better in High-Low Consistent and High-High
Consistent cases.
Results
 Segmented Sympathy was better than Min-Min in seven out of twelve cases,
which includes all the consistent cases. Its makespans in the consistent cases were
upto 9.1% better than Min-Min. It was also better than Braun GA in all the
consistent cases.
 Braun GA was better than Min-Min by about 3.6% in the Low-Low cases. Its
best result was 6.4% better than Min-Min in the High-Low Semi Consistent cases.
 Segmented Min-Min Average was the second best heuristic. It was better than
Min-Min in ten of the twelve cases, and matched it in the other two cases. In the
Low-High Consistent and High-Low Consistent cases, it was better than Min-Min
by 8.6% and 13.1% respectively.
Results
 The proposed GA turned out to be the best heuristic. It did better than Min-
Min in all the cases. In the High-Low consistent case, it was better than Min-Min
by 14.42%.
 Its makespans were also better than Braun GA. In the High-High Consistent
and High-Low Consistent cases it got 6.48% and 8.34% smaller makespans. It was
also observed that the GA outperforms Braun GA most in the consistent cases
(around 5%). On an average, GA gave makespans, which were 3.42% better than
Braun GA.
 In one meta-task, the GA was 14 times better than Braun GA. On an average, it
was 2.60 times faster.
Thank You
gaurav.menghani@gmail.com
@Gaurav_Menghani on Twitter
+91-932-303-9463

Weitere ähnliche Inhalte

Andere mochten auch

Heuristic Programming in Scheduling Problem Using A* Algorithm
Heuristic Programming in Scheduling Problem Using A* AlgorithmHeuristic Programming in Scheduling Problem Using A* Algorithm
Heuristic Programming in Scheduling Problem Using A* AlgorithmUniversitas Pembangunan Panca Budi
 
Optimization by heuristic procedure of scheduling constraints in manufacturin...
Optimization by heuristic procedure of scheduling constraints in manufacturin...Optimization by heuristic procedure of scheduling constraints in manufacturin...
Optimization by heuristic procedure of scheduling constraints in manufacturin...Alexander Decker
 
A Hybrid Genetic Algorithm Approach for OSPF Weight Setting Problem
A Hybrid Genetic Algorithm Approach for OSPF Weight Setting ProblemA Hybrid Genetic Algorithm Approach for OSPF Weight Setting Problem
A Hybrid Genetic Algorithm Approach for OSPF Weight Setting ProblemEM Legacy
 
819 Static Channel Allocation
819 Static Channel Allocation819 Static Channel Allocation
819 Static Channel Allocationtechbed
 
Micro and nano manufacturing
Micro and nano manufacturingMicro and nano manufacturing
Micro and nano manufacturingMohit Ostwal
 
Congestion Control in Computer Networks - ATM and TCP
Congestion Control in Computer Networks - ATM and TCPCongestion Control in Computer Networks - ATM and TCP
Congestion Control in Computer Networks - ATM and TCPAttila Balazs
 
Channel assignment strategies
Channel assignment strategiesChannel assignment strategies
Channel assignment strategiesAJAL A J
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithmUmesh Gupta
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmfarimoin
 
Inventory Control Final Ppt
Inventory Control Final PptInventory Control Final Ppt
Inventory Control Final Pptrajnikant
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issuesقصي نسور
 
Leaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingLeaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingVimal Dewangan
 

Andere mochten auch (16)

Heuristic Programming in Scheduling Problem Using A* Algorithm
Heuristic Programming in Scheduling Problem Using A* AlgorithmHeuristic Programming in Scheduling Problem Using A* Algorithm
Heuristic Programming in Scheduling Problem Using A* Algorithm
 
Optimization by heuristic procedure of scheduling constraints in manufacturin...
Optimization by heuristic procedure of scheduling constraints in manufacturin...Optimization by heuristic procedure of scheduling constraints in manufacturin...
Optimization by heuristic procedure of scheduling constraints in manufacturin...
 
A Hybrid Genetic Algorithm Approach for OSPF Weight Setting Problem
A Hybrid Genetic Algorithm Approach for OSPF Weight Setting ProblemA Hybrid Genetic Algorithm Approach for OSPF Weight Setting Problem
A Hybrid Genetic Algorithm Approach for OSPF Weight Setting Problem
 
Chapter4 1
Chapter4 1Chapter4 1
Chapter4 1
 
819 Static Channel Allocation
819 Static Channel Allocation819 Static Channel Allocation
819 Static Channel Allocation
 
Micro and nano manufacturing
Micro and nano manufacturingMicro and nano manufacturing
Micro and nano manufacturing
 
Congestion Control in Computer Networks - ATM and TCP
Congestion Control in Computer Networks - ATM and TCPCongestion Control in Computer Networks - ATM and TCP
Congestion Control in Computer Networks - ATM and TCP
 
Channel assignment strategies
Channel assignment strategiesChannel assignment strategies
Channel assignment strategies
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithm
 
Routing
RoutingRouting
Routing
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Inventory control techniques
Inventory control techniquesInventory control techniques
Inventory control techniques
 
Inventory Control Final Ppt
Inventory Control Final PptInventory Control Final Ppt
Inventory Control Final Ppt
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issues
 
Leaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingLeaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shaping
 
Congestion control
Congestion controlCongestion control
Congestion control
 

Ähnlich wie A Fast Genetic Algorithm Based Static Heuristic for Scheduling Independent Tasks on Heterogeneous Systems

International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmgarima931
 
A fast non dominated sorting guided genetic algorithm for multi objective pow...
A fast non dominated sorting guided genetic algorithm for multi objective pow...A fast non dominated sorting guided genetic algorithm for multi objective pow...
A fast non dominated sorting guided genetic algorithm for multi objective pow...Pvrtechnologies Nellore
 
Comparing Different Job Scheduling Heuristics
Comparing Different Job Scheduling HeuristicsComparing Different Job Scheduling Heuristics
Comparing Different Job Scheduling HeuristicsRadu Stoenescu
 
A Novel Hybrid Voter Using Genetic Algorithm and Performance History
A Novel Hybrid Voter Using Genetic Algorithm and Performance HistoryA Novel Hybrid Voter Using Genetic Algorithm and Performance History
A Novel Hybrid Voter Using Genetic Algorithm and Performance HistoryWaqas Tariq
 
Solving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithmSolving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithmAlex Bidanets
 
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...Zac Darcy
 
MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...
MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...
MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...ijcsa
 
Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...
Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...
Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...IJORCS
 
Genetic algorithm guided key generation in wireless communication (gakg)
Genetic algorithm guided key generation in wireless communication (gakg)Genetic algorithm guided key generation in wireless communication (gakg)
Genetic algorithm guided key generation in wireless communication (gakg)IJCI JOURNAL
 
A Genetic Algorithm on Optimization Test Functions
A Genetic Algorithm on Optimization Test FunctionsA Genetic Algorithm on Optimization Test Functions
A Genetic Algorithm on Optimization Test FunctionsIJMERJOURNAL
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...Zac Darcy
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...Zac Darcy
 
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...Sugree Phatanapherom
 
Numerical analysis genetic algorithms
Numerical analysis  genetic algorithmsNumerical analysis  genetic algorithms
Numerical analysis genetic algorithmsSHAMJITH KM
 
Optimization technique
Optimization techniqueOptimization technique
Optimization techniqueVimal Patel
 

Ähnlich wie A Fast Genetic Algorithm Based Static Heuristic for Scheduling Independent Tasks on Heterogeneous Systems (20)

10.1.1.34.7361
10.1.1.34.736110.1.1.34.7361
10.1.1.34.7361
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
A fast non dominated sorting guided genetic algorithm for multi objective pow...
A fast non dominated sorting guided genetic algorithm for multi objective pow...A fast non dominated sorting guided genetic algorithm for multi objective pow...
A fast non dominated sorting guided genetic algorithm for multi objective pow...
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Comparing Different Job Scheduling Heuristics
Comparing Different Job Scheduling HeuristicsComparing Different Job Scheduling Heuristics
Comparing Different Job Scheduling Heuristics
 
Genetic algorithms mahyar
Genetic algorithms   mahyarGenetic algorithms   mahyar
Genetic algorithms mahyar
 
A Novel Hybrid Voter Using Genetic Algorithm and Performance History
A Novel Hybrid Voter Using Genetic Algorithm and Performance HistoryA Novel Hybrid Voter Using Genetic Algorithm and Performance History
A Novel Hybrid Voter Using Genetic Algorithm and Performance History
 
Solving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithmSolving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithm
 
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
 
MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...
MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...
MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...
 
Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...
Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...
Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...
 
Genetic algorithm guided key generation in wireless communication (gakg)
Genetic algorithm guided key generation in wireless communication (gakg)Genetic algorithm guided key generation in wireless communication (gakg)
Genetic algorithm guided key generation in wireless communication (gakg)
 
A Genetic Algorithm on Optimization Test Functions
A Genetic Algorithm on Optimization Test FunctionsA Genetic Algorithm on Optimization Test Functions
A Genetic Algorithm on Optimization Test Functions
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
 
Hc3413121317
Hc3413121317Hc3413121317
Hc3413121317
 
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
 
Numerical analysis genetic algorithms
Numerical analysis  genetic algorithmsNumerical analysis  genetic algorithms
Numerical analysis genetic algorithms
 
Optimization technique
Optimization techniqueOptimization technique
Optimization technique
 

Kürzlich hochgeladen

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 

Kürzlich hochgeladen (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 

A Fast Genetic Algorithm Based Static Heuristic for Scheduling Independent Tasks on Heterogeneous Systems

  • 1. A Fast Genetic Algorithm Based Static Heuristic For Scheduling Independent Tasks on Heterogeneous Systems Gaurav Menghani Department of Computer Engineering, Thadomal Shahani Engineering College, University of Mumbai
  • 2. Outline • Scheduling • Scheduling Heuristics • Sympathy & Segmented Sympathy • Modified Genetic Algorithm • Simulation Procedure • Results
  • 3. Scheduling  Is important in systems like Grids, where heterogeneous resources might be connected and heterogeneous tasks need to be scheduled on them.  Finding the optimal time for running all the tasks on a set of heterogeneous machines is an NP-Complete problem.
  • 4. Scheduling Heuristics  Online Mode Heuristic – Task is mapped to a machine, as soon as it arrives.  Batch Mode Heuristic – Task mapping happens at certain scheduled mapping events. A set of unexecuted tasks, termed as a Metatask, is considered for mapping.
  • 5. Scheduling Heuristics  Minimum Completion Time (MCT) – Map the task to the machine with the best completion time for that task.  Min-Min – The task with the overall minimum completion time in the meta- task, is assigned to the machine where it achieves it, and removed from the meta- task.  Sufferage – For every task, its sufferage value (the difference between its second best completion time and best completion time) is computed. The task with the highest sufferage value is assigned to the machine with its minimum completion time, and removed from the metatask.
  • 6. Scheduling Heuristics  Segmented Min-Min (SMM) – SMM sorts the tasks according to the minimum/maximum/average expected completion time of each task with respect to each machine. The list is then partitioned into a fixed number of segments. Subsequently, Min-Min is applied individually applied on each segment, in order.  Genetic Algorithm (GA) – Is used to search large search spaces. It starts with a randomly generated population of chromosomes (task mappings), optionally seeded with mappings generated from other heuristics.
  • 7. Sympathy Heuristic  Uses the Sympathy Metric. si = E(ci) x V(ci) Where, si is the Sympathy metric for task i. E(ci) is the mean completion time for task i on all machines. V(ci) is the variance of completion times for task i on all machines.
  • 8. Sympathy Heuristic 1.start 2. do 2.1 Compute si for all tasks in M, 2.2 Find task i with the highest value of si, 2.3 Map task i to machine j with the lowest value of cij, 2.4 Remove i from M, 2.5 Recompute completion times for all tasks 3. while M is not empty. 4. end.
  • 9. Segmented Sympathy Heuristic 1.start 2.Sort each task by their respective Sympathy metrics. 3.Partition into a fixed number of Segments. 4.Starting with the segment with the highest sympathy metric, apply Min-Min individually on all segments. 5.end.
  • 10. Modified Genetic Algorithm Genetic Algorithm described in Braun et. al (referred to as Braun GA henceforth), was found to be inefficient. The following improvements were made.  Seeding: Seeded with Min-Min, Segmented Min-Min, and Segmented Sympathy. Only seeded iterations were retained, since unseeded iterations were not producing good quality mappings. Population & Elitism: The population size was kept to 100. Top 5% chromosomes in each generation survived.
  • 11. Modified Genetic Algorithm  Swap Based Crossover: A one-bit swap operation with 40% probability, swaps the machine mapping of a single task between two chromosomes.  Fitness Based Crossover: Is crossover, which is based upon fitness with 20% probability, takes place. In this, two parents produce a single offspring. If one of the parents is more fit than the other, the offspring is more likely to have the assignments according to that parent.
  • 12. Modified Genetic Algorithm  Stopping Condition: If the elite chromosome does not change for 100 generations, the algorithm stops.  Local Search: To improve the final solution, a local search is performed on the elite chromosome.
  • 13. Simulation Procedure  Heuristics Chosen: MCT, Min-Min, Sufferage, SMM Average, Sympathy, Segmented Sympathy, Braun GA and GA.  Three basic types of ETC matrices, Consistent, Semi-Consistent and Inconsistent were used. Each matrix has four types of heterogeneities with respect to tasks and machines. Number of tasks in each matrix is, t = 16 and machines is, m = 512. In all, twelve types of ETC matrices were used to compare the heuristics.  For each type of ETC matrix, ten meta-tasks were provided.
  • 14. Simulation Procedure  Heuristics Chosen: MCT, Min-Min, Sufferage, SMM Average, Sympathy, Segmented Sympathy, Braun GA and GA.  Three basic types of ETC matrices, Consistent, Semi-Consistent and Inconsistent were used. Each matrix has four types of heterogeneities with respect to tasks and machines. Number of tasks in each matrix is, t = 16 and machines is, m = 512. In all, twelve types of ETC matrices were used to compare the heuristics.  For each type of ETC matrix, ten meta-tasks were provided.
  • 15. Simulation Procedure  After a heuristic provided a mapping, its makespan was obtained, and a penalty was assigned to the heuristic based upon its makespan and the maximum of the makespans provided by all the heuristics in H, the set of heuristics.  Thus for each metatask a heuristic can receive a score in the range (0, 1] Pit = (makespan of heuristic i for metatask t) / (maximum makespan amongst all heuristics in H for t)
  • 16. Results  MCT was comparable to Min-Min in the consistent cases, but otherwise its makespans were amongst the worst.  Sufferage also did not perform well.  Sympathy performed better than Sufferage. It matched Min-Min in all the consistent cases, and was better in High-Low Consistent and High-High Consistent cases.
  • 17. Results  Segmented Sympathy was better than Min-Min in seven out of twelve cases, which includes all the consistent cases. Its makespans in the consistent cases were upto 9.1% better than Min-Min. It was also better than Braun GA in all the consistent cases.  Braun GA was better than Min-Min by about 3.6% in the Low-Low cases. Its best result was 6.4% better than Min-Min in the High-Low Semi Consistent cases.  Segmented Min-Min Average was the second best heuristic. It was better than Min-Min in ten of the twelve cases, and matched it in the other two cases. In the Low-High Consistent and High-Low Consistent cases, it was better than Min-Min by 8.6% and 13.1% respectively.
  • 18. Results  The proposed GA turned out to be the best heuristic. It did better than Min- Min in all the cases. In the High-Low consistent case, it was better than Min-Min by 14.42%.  Its makespans were also better than Braun GA. In the High-High Consistent and High-Low Consistent cases it got 6.48% and 8.34% smaller makespans. It was also observed that the GA outperforms Braun GA most in the consistent cases (around 5%). On an average, GA gave makespans, which were 3.42% better than Braun GA.  In one meta-task, the GA was 14 times better than Braun GA. On an average, it was 2.60 times faster.