A Fast Genetic Algorithm Based Static Heuristic For Scheduling Independent Tasks on Heterogeneous Systems Gaurav Menghani Department of Computer Engineering,

Slides:



Advertisements
Similar presentations
Scheduling in Distributed Systems Gurmeet Singh CS 599 Lecture.
Advertisements

Exact and heuristics algorithms
Tetris – Genetic Algorithm Presented by, Jeethan & Jun.
By: Chris Klumph and Kody Willman. Types of Heuristics References Terminology Static Mappings 6 Example mappings 4 Graph chromosome mappings 1 Tree mapping.
Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
On the Genetic Evolution of a Perfect Tic-Tac-Toe Strategy
1 APPENDIX A: TSP SOLVER USING GENETIC ALGORITHM.
Content Based Image Clustering and Image Retrieval Using Multiple Instance Learning Using Multiple Instance Learning Xin Chen Advisor: Chengcui Zhang Department.
Valery Frolov.  The algorithm  Fitness function  Crossover  Mutation  Elite individuals  Reverse mutations  Some statistics  Run examples.
Genetic Algorithms. Some Examples of Biologically Inspired AI Neural networks Evolutionary computation (e.g., genetic algorithms) Immune-system-inspired.
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Iterative Improvement Algorithms
Security-Driven Heuristics and A Fast Genetic Algorithm for Trusted Grid Job Scheduling Shanshan Song, Ricky Kwok, and Kai Hwang University of Southern.
A New Approach for Task Level Computational Resource Bi-Partitioning Gang Wang, Wenrui Gong, Ryan Kastner Express Lab, Dept. of ECE, University of California,
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Universidad de los Andes-CODENSA The Continuous Genetic Algorithm.
Genetic Algorithm.
© Negnevitsky, Pearson Education, CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University.
Efficient Model Selection for Support Vector Machines
A Budget Constrained Scheduling of Workflow Applications on Utility Grids using Genetic Algorithms Jia Yu and Rajkumar Buyya Grid Computing and Distributed.
Slides are based on Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Efficient and Scalable Computation of the Energy and Makespan Pareto Front for Heterogeneous Computing Systems Kyle M. Tarplee 1, Ryan Friese 1, Anthony.
1 The Euclidean Non-uniform Steiner Tree Problem by Ian Frommer Bruce Golden Guruprasad Pundoor INFORMS Annual Meeting Denver, Colorado October 2004.
Genetic Algorithms by using MapReduce
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Researchers: Preet Bola Mike Earnest Kevin Varela-O’Hara Han Zou Advisor: Walter Rusin Data Storage Networks.
A Survey of Distributed Task Schedulers Kei Takahashi (M1)
Arindam K. Das CIA Lab University of Washington Seattle, WA MINIMUM POWER BROADCAST IN WIRELESS NETWORKS.
The Fast Optimal Voltage Partitioning Algorithm For Peak Power Density Minimization Jia Wang, Shiyan Hu Department of Electrical and Computer Engineering.
Applying Genetic Algorithm to the Knapsack Problem Qi Su ECE 539 Spring 2001 Course Project.
Learning by Simulating Evolution Artificial Intelligence CSMC February 21, 2002.
Kanpur Genetic Algorithms Laboratory IIT Kanpur 25, July 2006 (11:00 AM) Multi-Objective Dynamic Optimization using Evolutionary Algorithms by Udaya Bhaskara.
What the senior design students have been doing By Chris Klumph and Kody Willman.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
METAHEURISTICS Genetic Algorithm Jacques A. Ferland Department of Informatique and Recherche Opérationnelle Université de Montréal
ECE 103 Engineering Programming Chapter 52 Generic Algorithm Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
A Hyper-heuristic for scheduling independent jobs in Computational Grids Author: Juan Antonio Gonzalez Sanchez Coauthors: Maria Serna and Fatos Xhafa.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
N- Queens Solution with Genetic Algorithm By Mohammad A. Ismael.
Application of the GA-PSO with the Fuzzy controller to the robot soccer Department of Electrical Engineering, Southern Taiwan University, Tainan, R.O.C.
1 Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations Genetic Algorithm (GA)
Selection Methods Choosing the individuals in the population that will create offspring for the next generation. Richard P. Simpson.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Agenda  INTRODUCTION  GENETIC ALGORITHMS  GENETIC ALGORITHMS FOR EXPLORING QUERY SPACE  SYSTEM ARCHITECTURE  THE EFFECT OF DIFFERENT MUTATION RATES.
►Search and optimization method that mimics the natural selection ►Terms to define ٭ Chromosome – a set of numbers representing one possible solution ٭
Genetic algorithms for task scheduling problem J. Parallel Distrib. Comput. (2010) Fatma A. Omara, Mona M. Arafa 2016/3/111 Shang-Chi Wu.
Intro. ANN & Fuzzy Systems Lecture 37 Genetic and Random Search Algorithms (2)
© P. Pongcharoen CCSI/1 Scheduling Complex Products using Genetic Algorithms with Alternative Fitness Functions P. Pongcharoen, C. Hicks, P.M. Braiden.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Overview Last two weeks we looked at evolutionary algorithms.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
Genetic Algorithm(GA)
GENETIC ALGORITHM By Siti Rohajawati. Definition Genetic algorithms are sets of computational procedures that conceptually follow steps inspired by the.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
 Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems n Introduction.
1 Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Application-level Resource Provisioning
Resource Allocation in Heterogeneous Computing Systems
Genetic Algorithms CPSC 212 Spring 2004.
Introduction to Artificial Intelligence Lecture 11: Machine Evolution
Aiman H. El-Maleh Sadiq M. Sait Syed Z. Shazli
Methods and Materials (cont.)
EE368 Soft Computing Genetic Algorithms.
Presentation transcript:

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. s i = E(c i ) x V(c i ) Where, s i is the Sympathy metric for task i. E(c i ) is the mean completion time for task i on all machines. V(c i ) is the variance of completion times for task i on all machines.

Sympathy Heuristic 1.start 2. do 2.1 Compute s i for all tasks in M, 2.2 Find task i with the highest value of s i, 2.3 Map task i to machine j with the lowest value of c ij, 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] P it = (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 on Twitter