Shuffled Frog Leaping Algorithm for Hardware/Software Partitioning

Shuffled Frog Leaping Algorithm for Hardware/Software Partitioning

2752 JOURNAL OF COMPUTERS, VOL. 9, NO. 11, NOVEMBER 2014 Shuffled Frog Leaping Algorithm for Hardware/Software Partitioning Jiayi Dua, Xiangsheng Kongb, Xin Zuo∗∗c, Lingyan Zhangd, Aijia Ouyange;f , a School of Information Science and Engineering, Hunan Provincial Key Laboratory of Embedded and Network Computing, Hunan University, Changsha 410082, China Email: [email protected] b Department of Computer Engineering, Xinxiang University, Xinxiang, Henan, 453003, China Email:[email protected] c Office of Information Department, Hunan University, Changsha 410082, China Email: [email protected] d College of Information Science and Technology, Jinan University, Guangzhou 510632, China Email: [email protected]@163.com e College of Computer, Hunan Institute of Traffic Engineering, Hengyang 421001, Hunan, China f School of Information Science and Engineering, Hunan City University, Yiyang, Hunan 413000, China Email: [email protected] Abstract— Reconfigurable system on chip is well known the performance of computing hardware, but also the for its flexibility for high performance embedded system- flexibility of the software. s. The hardware/software (HW/SW) partitioning is the HW/SW co-design is popular in designing the embed- most important phase during the design of reconfigurable system on chip. A great many different algorithms have ded system. HW/SW partitioning is the most important been adopted for solving the hardware/software partitioning phase during the HW/SW co-design. As far as we know, problem. Shuffled Frog Leaping Algorithm (SFLA) is pop- HW/SW partitioning problem is a typical optimization ular for its simple concepts, little parameter adjustment, problem. If we only take into consideration one cost of high calculation speed, strong global search optimization the embedded system, the HW/SW is simply a single capability and easy execution. In this paper, we apply the SFLA algorithm to solving hardware/software partitioning optimization. Unfortunately, in the real life, the embedded problem on reconfigurable system on chip with coarse- system puts strict requirements on size, power consump- grained. tion, time consumption and reliability. Hence, it becomes The experimental results show that the SFLA algorithm a multiobjective optimization problem. Furthermore the can reduce the time cost by 45.54% on average with three multiobjective optimization problem is a NP-complete different area constrain, compared with greedy algorithm. The time cost of SFLA algorithm are also reduced by 23.57% problem, which we can not find a polynomial time al- and 9.99% on average with simulated annealing algorithm gorithm to solve it. For this reason, HW/SW partitioning (SA) and combined algorithm with greedy and simulated problem is a NP-complete problem. A lot of researchers annealing algorithm (GSA). When area constrain is a half have focused on this problem. of area cost which all tasks are implemented by hardware Generally speaking, HW/SW partitioning problem in- will be taken, SFLA algorithm can reduce the time cost by 51.30%, 21.04% and 11.61% on average, compared with volves two scenarios: namely static HW/SW partitioning that of Greedy algorithm, SA, and GSA, respectively. and dynamic HW/SW partitioning. Static HW/SW par- titioning, refers to that the functional unit is mapped to Index Terms— Reconfigurable System on Chip, Hard- ware/Software Partitioning, Shuffled Frog Leaping Algorith- the hardware or software is decided during the design of m, Coarse-grained, Greedy Algorithm, Simulated Annealing embedded system. Once the design of embedded system Algorithm, Combined Algorithm is completed, the implementation of the functional unit can not be changed. The emergence of reconfigurable technology allows us to use the dynamic HW/SW parti- I. INTRODUCTION tioning algorithm for dealing with the HW/SW partition- With the development of microelectronics and com- ing problem. We can change the implementation of each puter technology, especially large-scale emergence of F- function unit in runtime with the dynamic partitioning PGA programmable devices, real-time circuit remodeling technology. Dynamic HW/SW partitioning is flexible for ideas have attracted increasing attention of researchers. the embedded system. However, one of its main drawback In reconfigurable systems, hardware information (config- is that, if the partitioning algorithm performance happens uration information of programmable devices) can be the to be less than satisfactory, the performance of the whole same as the software program. This will not only keep embedded system will be poor. Against this backdrop, we usually use the Static HW/SW Partitioning for large-scale **Corresponding Author: Xin Zuo Email: [email protected] partitioning problems. © 2014 ACADEMY PUBLISHER doi:10.4304/jcp.9.11.2752-2760 JOURNAL OF COMPUTERS, VOL. 9, NO. 11, NOVEMBER 2014 2753 In this paper, our problem for large-scale task embed- discrete Hopfield neural network algorithm to solve this ded system, so the static partitioning is adopted. In partic- problem [7]. ular, we use the SFLA algorithm for HW/SW partitioning In 2006, Kaizhong et al. model HW/SW partitioning with the area constrain. SFLA algorithm is popular for its to a 0-1 model over IP cores. This algorithm is called simple concepts, little parameter adjustment, fast calcula- 0-1 algorithm, which makes fully use of the IP core and tion speed, strong global search optimization capability yields efficient partitioning [8]. and easy execution. The main contributions of our paper In 2007, Mann et al. and Farmahini et al. respec- are as follows: tively propose a new algorithm [9], based on branch • We have been the first to apply SFLA algorithm to and bound algorithm, and particle swarm optimization solving HW/SW partitioning problem. algorithm [10].n order to improve the reuse functional- • The value of our object function is the completion ities of system, Arunachalam et al. propose the genetic time of critical path in the DAG. It is more reason- algorithm. In this case the system has requirement in able in the real reconfigurable system on chip. functionalities’ concurrency and cost constraints [11]. Liu • We compare three algorithms with SFLA algorithm, et al. use improved directed acyclic graph to model the which include greedy algorithm, simulated annealing HW/SW partitioning problem, and subsequently make use algorithm and the algorithm combining greedy and of the immune algorithm to solve it [12]. Further-more, simulated annealing algorithm. concerning the multi-objective optimization on HW/SW • Our algorithm is compared with other algorithms in partitioning problem, they propose an immune algorithm three different area constrains. to obtain the parieto optimal solution [13]. The rest of this paper is organized as follows. In the In 2013, Pando et al. take a fuzzy approach to solve section II, the research background and previous related the HW/SW partitioning problem. This approach is at- work are introduced. We outline the hardware model, tractive for its flexibility [14]. For special application, compute model and problem definition in Section III. It sensorless current controller, Bahri et al. put forward a then moves to detail how the shuffled frog leaping algo- non-dominated sorting genetic algorithm with regards to rithm is applied to solving HW/SW partitioning problem, the HW/SW partitioning. This algorithm can obtain the as seen, in the Section IV. Experimental are presented in optimal solution [15]. In [16], a reliable delay estimation the section V. The conclusions of our paper are presented approach is proposed by Hansan et al. In [17], Han et al. in Section VI. propose a heuristic solution for scheduling and partition- ing on multi-processor system on chips (MPSOC). Wu II. RELATED WORKS et al. come up with two methods to solve the HW/SW A number of researchers have carried research on partitioning problem. This is firstly done by transforming models of HW/SW partitioning problem. For automate the partitioning problem to an extended 0-1 knapsack model the partitioning, Adhipathi proposes a novel strat- problem, which will then be solve it by the heuristic one egy, Process Model Graphs. He simulates and verifies generated by the first method [18]. Sha, et al focus on this strategy in his paper [1]. Sapienza et al. propose the the HW/SW partitioning problem on MPSoC. They use a meta model for the HW/SW partitioning problem. The dynamic programming method to minimize the system’s meta model enables use for the partitioning and reuse [2]. power consumption under time and area constraints, and However, they do not apply algorithm to solving the propose an optimal algorithm and a heuristic one for HW/SW partitioning problem. tree-structured inputs and DAG, respectively [19]. As Some researchers focus on the partitioning algorithm seen from the literature, the researchers propose their for the HW/SW partitioning problem. Niemann et al. were own algorithms for different target systems with different the first to propose using integer programming (IP) to grain. However, they do not use the SFLA algorithm to solve HW/SW partitioning problem. The merger program- solve the HW/SW partitioning problem. ming can obtain the optimal solution, but it yields poor A number of researchers focus on using the SFLA performance when solving the large scale problem [3]. algorithm to solve the optimization algorithm. SFLA Resano et al. consider the system performance constrain. algorithm is popular for its simple concepts, little pa- They propose a strategy for HW/SW partitioning and rameter adjustment, high calculation speed, strong glob- task scheduling to reduce the energy consumption [4]. al search optimization capability and easy execution. In [5]. Abdelhalim et al. combine several swarm intelli- In [20], Elbeltagi et al. compare memetic algorithm (MA), gence algorithm for the unconstrained design problem in ant colony algorithm (ACO), genetic algorithms (GA), embedded system. According to them, the particle swarm and SFLA algorithm. In [21], Horng et al. propose the optimization algorithm followed by genetic algorithm, maximum entropy based on SFLA algorithm thresholds rather than other sequences, can obtain the best results (MESFLOT) method.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us