针对传统遗传算法优化高阶S盒中适应度评价值计算量相对大的问题,利用MPI+C环境结合主从式并行遗传算法框架来改进传统串行遗传算法,在MPP处理机——“深腾-1800”(联想)上进行测试,实验结果表明,运用此并行算法优化6阶、8阶的双射S盒,只在优化8阶的情况下能得到更好的加速比,从而验证了主从模式在解决适应度评价值计算量大的问题时,可达到接近线性的加速比。
The calculation time of fitness function evaluation in the optimization of S-boxes based on genetic algorithm was much great.We utilized master-slave parallel genetic algorithm with MPI environment binding for C to improve the sequential genetic algorithm and it was implemented on the Massive Parallel Proeessors(MPP) DeepComp 1800(Lenovo).The testing results show that the optimization of 8×8 bijective S-boxes based on the parallel algorithm has good speedup.Meanwhile,it is validated that the master-slave parallel algorithm is suitable to solve the problem which the fitness function evaluation calculation time is much great.