电子科技 ›› 2024, Vol. 37 ›› Issue (1): 33-40.doi: 10.16180/j.cnki.issn1007-7820.2024.01.005

• • 上一篇    下一篇

面向异构处理平台任务调度的麻雀优化算法

沈小龙,马金全,冀亚玮,谢宗甫,李宜亭,李宇东   

  1. 战略支援部队信息工程大学 信息系统工程学院,河南 郑州 450000
  • 收稿日期:2022-09-13 出版日期:2024-01-15 发布日期:2024-01-11
  • 作者简介:沈小龙(1994-),男,硕士研究生。研究方向:异构信号处理平台、资源调度。|马金全(1975-),男,博士,副教授。研究方向:通信信号处理与软件无线电。
  • 基金资助:
    国家科技支撑项目(2013BAH56F00)

Sparrow Optimization Algorithm for Task Scheduling of Heterogeneous Processing Platform

SHEN Xiaolong,MA Jinquan,JI Yawei,XIE Zongfu,LI Yiting,LI Yudong   

  1. School of Information Systems Engineering,Information Engineering University,Zhengzhou 450000,China
  • Received:2022-09-13 Online:2024-01-15 Published:2024-01-11
  • Supported by:
    National Science and Technology Support Project(2013BAH56F00)

摘要:

针对当前异构信号处理平台中各处理器任务数量分配不均衡、处理器性能发挥不完全以及系统运行效率低的问题,文中提出一种面向异构处理平台的麻雀优化算法。该算法利用了麻雀算法较强的全局寻优能力和麻雀种群内部的高效工作机制。在经典麻雀算法基础上,文中提出了符合任务调度的二进制异或编解码规则,将离散的任务分配方案映射为连续的麻雀位置信息。将处理器负载均衡指数作为适应度函数,选取每次迭代中的最优解;在麻雀遍历任务时,采用任务优先级分流排序策略。对通信密集型任务和计算密集型任务采取不同的计算式得到更符合任务特点的遍历顺序,生成随机任务图,并将所提算法同ICPA(Improved Critical Path Algortthm)算法进行对比。仿真结果表明,相比于ICPA算法,所提算法的负载均衡指数平均优化率为60%,各处理器负载情况更加均衡,能更好地发挥异构处理平台的整体效能。

关键词: 异构处理平台, 任务调度, 麻雀算法, 负载均衡, DAG, 编码规则, 适应度函数, 信号处理

Abstract:

In view of the problems of unbalanced distribution task quantity of the each precessor,incomplete performance of the each processor and inefficient system operation in heterogeneous signal processing platform,a sparrow optimization algorithm for heterogeneous processing platform is proposed in this study, which takes advantage of the strong global optimization ability of sparrow algorithm and efficient working mechanism within sparrow population.Based on the classical sparrow algorithm, this study proposes a binary or codec rule that meets the task scheduling, and maps discrete task assignment scheme to continuous sparrow position information.The processor load balance index is taken as the fitness function and the optimal solution is selected in each iteration. When the sparrow traverses the task, the task priority shunt sorting strategy is adopted to adopt different computing formulas for communication-intensive tasks and computing dense tasks to obtain the order of traversing more in accordance with the characteristics of the task, and generates random tasks.Finally, the proposed algorithm is compared with the ICPA(Improved Critical Path Agorithm). The simulation results show that when compared with the ICPA, the an average optimization rate of load balance index of the proposed algorithm is 60%, and the load of each processor is more balanced, and the overall performance of the heterogeneous processing platform can be better utilized.

Key words: heterogeneous processing platform, task scheduling, sparrow algorithm, load balancing, DAG, coding rules, adaptation function, signal processing

中图分类号: 

  • TN911