Parallel Optimization of Program Instructions Using Genetic Algorithms

被引:10
作者
Anghelescu, Petre [1 ]
机构
[1] Univ Pitesti, Dept Elect Commun & Comp, Pitesti 110040, Romania
来源
CMC-COMPUTERS MATERIALS & CONTINUA | 2021年 / 67卷 / 03期
关键词
Parallel instruction execution; parallel algorithms; genetic algorithms; parallel genetic algorithms; artificial intelligence techniques; evolutionary strategies; SOLVE;
D O I
10.32604/cmc.2021.015495
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper describes an efficient solution to parallelize software program instructions, regardless of the programming language in which they are written. We solve the problem of the optimal distribution of a set of instructions on available processors. We propose a genetic algorithm to parallelize computations, using evolution to search the solution space. The stages of our proposed genetic algorithm are: The choice of the initial population and its representation in chromosomes, the crossover, and the mutation operations customized to the problem being dealt with. In this paper, genetic algorithms are applied to the entire search space of the parallelization of the program instructions problem. This problem is NP-complete, so there are no polynomial algorithms that can scan the solution space and solve the problem. The genetic algorithm-based method is general and it is simple and efficient to implement because it can be scaled to a larger or smaller number of instructions that must be parallelized. The parallelization technique proposed in this paper was developed in the C# programming language, and our results confirm the effectiveness of our parallelization method. Experimental results obtained and presented for different working scenarios confirm the theoretical results, and they provide insight on how to improve the exploration of a search space that is too large to be searched exhaustively.
引用
收藏
页码:3293 / 3310
页数:18
相关论文
共 33 条
[1]   Efficient backtracking instruction schedulers [J].
Abraham, SG ;
Meleis, WM ;
Baev, ID .
2000 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PROCEEDINGS, 2000, :301-308
[2]  
Aho A. V., 2007, INSTRUCTION LEVEL PA
[3]   An enhanced genetic algorithm with new operators for task scheduling in heterogeneous computing systems [J].
Akbari, Mehdi ;
Rashidi, Hassan ;
Alizadeh, Sasan H. .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2017, 61 :35-46
[4]  
[Anonymous], 2008, 08 GCC
[5]  
[Anonymous], 2004, P 18 ANN INT C SUP
[6]   Instruction scheduling heuristic for an efficient FFT in VLIW processors with balanced resource usage [J].
Bahtat, Mounir ;
Belkouch, Said ;
Elleaume, Philippe ;
Le Gall, Philippe .
EURASIP JOURNAL ON ADVANCES IN SIGNAL PROCESSING, 2016,
[7]   Non-identical parallel machine scheduling using genetic algorithm [J].
Balin, Savas .
EXPERT SYSTEMS WITH APPLICATIONS, 2011, 38 (06) :6814-6821
[8]  
Beaty S., 1999, P INT C MASS PAR COM
[9]  
Beaty S. J., 1991, Proceedings of the 24th International Symposium on Microarchitecture. MICRO 24, P206, DOI 10.1145/123465.123507
[10]  
Coons KE, 2006, ACM SIGPLAN NOTICES, V41, P129, DOI 10.1145/1168919.1168875