C OMPARING T HREE H EURISTIC S EARCH M ETHODS FOR F UNCTIONAL P ARTITIONING IN H ARDWARE -S OFTWARE C ODESIGN Theerayod Wiangtong, Peter Y. K. Cheung and.

Slides:



Advertisements
Similar presentations
© 2004 Wayne Wolf Topics Task-level partitioning. Hardware/software partitioning.  Bus-based systems.
Advertisements

1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
A PARALLEL GENETIC ALGORITHM FOR SOLVING THE SCHOOL TIME TABLING PROBLEM SUMALATHA.
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2010.
Optimization via Search CPSC 315 – Programming Studio Spring 2009 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
02 -1 Lecture 02 Heuristic Search Topics –Basics –Hill Climbing –Simulated Annealing –Best First Search –Genetic Algorithms –Game Search.
Introduction to Artificial Intelligence Local Search (updated 4/30/2006) Henry Kautz.
Informed Search CSE 473 University of Washington.
System Partitioning Kris Kuchcinski
Imagine that I am in a good mood Imagine that I am going to give you some money ! In particular I am going to give you z dollars, after you tell me the.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
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.
Using Simulated Annealing and Evolution Strategy scheduling capital products with complex product structure By: Dongping SONG Supervisors: Dr. Chris Hicks.
Optimization via Search CPSC 315 – Programming Studio Spring 2008 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
PRESENTED BY: MOHAMAD HAMMAM ALSAFRJALANI UFL ECE Dept. 3/19/2010 UFL ECE Dept 1 SYSTEM LEVEL HARDWARE/SOFTWARE PARTITIONING BASED ON SIMULATED ANNEALING.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Genetic Algorithm.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
High Performance, Pipelined, FPGA-Based Genetic Algorithm Machine A Review Grayden Smith Ganga Floora 1.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
Optimization in Engineering Design Georgia Institute of Technology Systems Realization Laboratory Mixed Integer Problems Most optimization algorithms deal.
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Optimal resource assignment to maximize multistate network reliability for a computer network Yi-Kuei Lin, Cheng-Ta Yeh Advisor : Professor Frank Y. S.
Computational Complexity Jang, HaYoung BioIntelligence Lab.
Doshisha Univ., Kyoto, Japan CEC2003 Adaptive Temperature Schedule Determined by Genetic Algorithm for Parallel Simulated Annealing Doshisha University,
- 1 - EE898_HW/SW Partitioning Hardware/software partitioning  Functionality to be implemented in software or in hardware? No need to consider special.
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2010.
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
Iterative Improvement Algorithm 2012/03/20. Outline Local Search Algorithms Hill-Climbing Search Simulated Annealing Search Local Beam Search Genetic.
Single-solution based metaheuristics. Outline Local Search Simulated annealing Tabu search …
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Probabilistic Algorithms Evolutionary Algorithms Simulated Annealing.
Local Search and Optimization Presented by Collin Kanaley.
Optimization Problems
Local Search. Systematic versus local search u Systematic search  Breadth-first, depth-first, IDDFS, A*, IDA*, etc  Keep one or more paths in memory.
Physically Aware HW/SW Partitioning for Reconfigurable Architectures with Partial Dynamic Reconfiguration Sudarshan Banarjee, Elaheh Bozorgzadeh, Nikil.
Local Search Algorithms and Optimization Problems
Genetic algorithms for task scheduling problem J. Parallel Distrib. Comput. (2010) Fatma A. Omara, Mona M. Arafa 2016/3/111 Shang-Chi Wu.
1 Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations Simulated Annealing (SA)
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
Multi-cellular paradigm The molecular level can support self- replication (and self- repair). But we also need cells that can be designed to fit the specific.
Genetic Algorithms. Solution Search in Problem Space.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm(GA)
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Local search algorithms In many optimization problems, the path to the goal is irrelevant; the goal state itself is the solution State space = set of "complete"
1 Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Optimization Problems
Optimization via Search
Genetic Algorithms.
Heuristic Optimization Methods
Balancing of Parallel Two-Sided Assembly Lines via a GA based Approach
A Comparison of Simulated Annealing and Genetic Algorithm Approaches for Cultivation Model Identification Olympia Roeva.
Artificial Intelligence (CS 370D)
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Comparing Genetic Algorithm and Guided Local Search Methods
Optimization Problems
More on Search: A* and Optimization
Boltzmann Machine (BM) (§6.4)
Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier, 2014
Md. Tanveer Anwar University of Arkansas
Presentation transcript:

C OMPARING T HREE H EURISTIC S EARCH M ETHODS FOR F UNCTIONAL P ARTITIONING IN H ARDWARE -S OFTWARE C ODESIGN Theerayod Wiangtong, Peter Y. K. Cheung and Wayne Luk Presented by: Wei Zang Mar.17, 2010

O UTLINE Introduction of HW/SW partitioning Heuristic Search Methods Genetic algorithm Simulated annealing Tabu search Processing time – System cost Experiment results Conclusions 2

O UTLINE Introduction of HW/SW partitioning Heuristic Search Methods Genetic algorithm Simulated annealing Tabu search Processing time – System cost Experiment results Conclusions 3

I NTRODUCTION OF HW/SW PARTITIONING Common case Implement performance critical code in FPGA Implement everything else on microprocessors Definition Given an application, hw/sw partitioning maps each region of the application onto hardware (custom circuits) or software (microprocessors) under design constraints Possible Goals Meet design constraints (performance, power, size, cost, etc.) Maximize performance Minimize power for a given performance constraint Exploration searches partition space for a optimal partition NP complete/NP hard(Reconfigurable hardware) problem Heuristic method to generate near-optimal solution 4

O UTLINE Introduction of HW/SW partitioning Heuristic Search Methods Genetic algorithm Simulated annealing Tabu search Processing time – System cost Experiment results Conclusions 5

G ENETIC A LGORITHM Based on Darwinian natural evaluation and selection. Solve optimization problems (Video)Video Four main operations: Evaluation Use fitness function Selection Select the parents to breed a new generation Features in parents represented by chromosome, made by genes. Each capture a desirable features Crossover Randomly divide each parents chronmosome into two sets of geanes and then mix them – help to transmit good features into next generation Mutation Occasionally modify a gene To avoid being trapped in local minima 6

The number of genes in a chromosome of each individual is equal to the number of tasks or functional blocks A gene is encoded as “0” if the task is implemented in software; “1” if it is mapped to hardware 7

Fitness function Define the cost of the number: Fitness Crossover Two surviving parents generate two children to maintain population size Mutation Randomly flipping individual bits in the child chromosome with a small probability value(less than 0.01) 8

S IMULATED A NNEALING Search feasible solutions in optimization problems (video)video Can avoid being trapped in local minima Hill-climbing algorithm always choose the best solution in the neighborhood, miss better solution further away SA accepts an inferior solution in the neighborhood according to an acceptance probability function Annealing process The acceptance probability function is set high at the beginning Gradually reduced to zero Cooling schedule Predefined threshold, a solution is arrived Too fast, algorithm stop early at some local minimum Too slow, algorithm jump more or less randomly for a long time before settling to a solution 9

Cooling schedule Neighborhood search: randomly changing one state bit in the solution (and obey the area constraint) Cost is a direct function of processing time Acceptance probability for a more costly neighboring solution: Loop terminate when New temperature reaches Tstop No improvement over the last 500 iterations. 10

O UTLINE Introduction of HW/SW partitioning Heuristic Search Methods Genetic algorithm Simulated annealing Tabu search Processing time – System cost Experiment results Conclusions 11

R EFERENCE ARCHITECTURE Timing model Communication time Execution time on HW/SW Configuration time if reconfigurable HW Only consider ASIC or FPGA without reconfiguration (all hardware tasks are bounded to on-chip hardware) Execution on SW & HW SW processor can execute only one task at a time HW can execute multiple tasks concurrently; HW and SW can work in parallel Transmit data between tasks can only use read or write shared or local memory Memory acts like a medium; Prevent loss of data while waiting Bus conflicts -> waiting time SW tasks have higher priority in using shared bus since hardware is generally faster One has the minimum use of bus is allocated first 12 shbus swbushwbus

E XAMPLE Processing time: Sum the worst-case time at each precedence level 13

O UTLINE Introduction of HW/SW partitioning Heuristic Search Methods Genetic algorithm Simulated annealing Tabu search Processing time – System cost Experiment results Conclusions 14

E XPERIMENTAL SETTING Input parameters for each algorithm are carefully selected by several pre-simulations to get the most promising value Test on randomly generated task graphs with a uniform distribution and commonly encountered structures Parameters used 15

E XPERIMENTAL RESULTS 16 TS provide the shortest processing time and the lowest search time SA is better than GA in most cases

O UTLINE Introduction of HW/SW partitioning Heuristic Search Methods Genetic algorithm Simulated annealing Tabu search Processing time – System cost Experiment results Conclusions 17

C ONCLUSIONS Combines HW/SW partitioning and scheduling to minimize processing time Compare three popular optimization algorithms Genetic algorithm – demands more memory to stoe information of large number of solutions Simulated annealing – better than GA in most cases; more memory efficient Tabu search – provides higher quality results in shorter time than both GA and SA; more memory efficient Future work Now only use simulated inputs in task graphs Need to be verified on real hardware-software systems by using realistic benchmarks 18