Journal of Jilin University(Engineering and Technology Edition) ›› 2024, Vol. 54 ›› Issue (8): 2282-2287.doi: 10.13229/j.cnki.jdxbgxb.20230340

Previous Articles     Next Articles

Optimization of cache scheduling algorithm for embedded multi-core system

Peng WANG1,2(),Guo-dong YANG1,3   

  1. 1.Key Laboratory of Civil Aviation Aircraft Airworthiness Certification Technology,Civil Aviation University of China,Tianjin 300300,China
    2.Civil Aviation University of China,College of Safety Science and Engineering,Tianjin 300300,China
    3.Civil Aviation University of China,Sino-European Institute of Aviation Engineering,Tianjin 300300,China
  • Received:2023-04-11 Online:2024-08-01 Published:2024-08-30

Abstract:

In order to solve the problems of slow cache scheduling and poor performance in multi-core systems, a cache scheduling algorithm optimization method for embedded multi-core systems is proposed. By establishing a multi-core system scheduling model, analyze the overall resource load balance of the system; Calculate the synchronization ratio of the system by expanding the scheduling strategy; By using integer linear programming equations, the system achieves task load balancing, minimizes communication overhead, and satisfies on-chip storage limitations, achieving cache scheduling optimization for embedded multi-core systems. The experimental results show that the proposed method has lower communication overhead and a cache scheduling time between 6.38-12.32 ms, indicating better cache scheduling performance.

Key words: embedded multi-core processor, communication overhead, data flow diagram, expand the scheduling strategy, cache scheduling optimization

CLC Number: 

  • TP391

Fig.1

Cache scheduling model for embedded multi-core systems"

Fig.2

Scheduling sequence before and after expansion"

Fig.3

Cache structure of multi-core system"

Fig.4

Comparison of reception rates under different processor cores"

Fig.5

Communication overhead and task load of the three methods"

Table 1

Cache scheduling time of three methods"

实验次数缓存调度时间(单位:ms)
处理器核数/个文献[3]方法文献[4]方法本文方法
1220.3615.6910.89
318.3114.468.75
416.3513.656.38
2219.6314.6812.32
318.6513.3311.61
417.6512.398.36
3218.9916.3811.23
317.9414.3610.69
415.6513.997.63
1 姜松岩, 廖晓鹃, 陈光柱. 基于可满足性模理论的多处理机通信延迟优化任务调度方法[J]. 计算机应用, 2023, 43(1): 185-191.
Jiang Song-yan, Liao Xiao-juan, Chen Guang-zhu. Optimal task scheduling method based on satisfiability modulo theory for multiple processors with communication delay[J]. Journal of Computer Applications, 2023,43(1): 185-191.
2 李文佳, 史岚, 季航旭, 等. 面向Flink的负载均衡任务调度算法的研究与实现[J]. 计算机工程与科学, 2022, 44(7): 1141-1151.
Li Wen-jia, Shi Lan, Ji Hang-xu, et al. Research and implementation of a Flink-oriented load balancing task scheduling algorithm[J]. Computer Engineering & Science, 2022,44(7): 1141-1151.
3 姚浩,习伟,蒋小文.电力终端多核系统的节能调度优化[J].电力科学与技术学报,2021,36(5):3-9.
Yao Hao, Xi Wei, Jiang Xiao-wen. Research on energy-saving scheduling optimization method for power terminal multi-core systems[J]. Journal of Electric Power Science And Technology, 2021,36(5): 3-9.
4 梁秋玲, 张向利, 张红梅, 等. 基于多核处理器的关联任务并行感知调度算法[J]. 计算机工程, 2021, 47(7): 212-217.
Liang Qiu-ling, Zhang Xiang-li, Zhang Hong-mei, et al. Parallel perceptual scheduling algorithm for related tasks based on multi-core processors[J]. Computer Engineering, 2021,47(7): 212-217.
5 陈莹, 黄永彪, 谢瑾. 基于可靠性的多核系统硬实时任务并行调度[J]. 控制工程, 2021, 28(1): 176-182.
Chen Ying, Huang Yong-biao, Xie Jin. Reliability-based parallel scheduling of hard real-time tasks for multicore systems[J]. Control Engineering of China, 2021,28(1): 176-182.
6 陈海鹏, 邱际伦, 邱峰, 等. 基于pi演算的前沿调度算法并行性建模及实现[J]. 吉林大学学报: 工学版, 2019, 49(1): 242-247.
Chen Hai-peng, Qiu Ji-lun, Qiu Feng, et al. modeling and implementation of frontier scheduling parallelism algorithm based on Pi calculus[J]. Journal of Jilin University (Engineering and Technology Edition), 2019, 49(1): 242-247.
7 梁荣欣, 陈庆奎. 面向模型预分层的边缘终端多ai任务调度策略[J]. 小型微型计算机系统, 2022, 43(6): 1154-1161.
Liang Rong-xin, Chen Qing-kui. Multi-Ai task scheduling strategy for edge terminals based on model pre-layering[J]. Journal of Chinese Computer Systems, 2022,43(6): 1154-1161.
8 汪超, 陈香兰, 章博, 等. 一种具有时间语义的实时处理器模型[J]. 计算机研究与发展, 2021, 58(6): 1176-1191.
Wang Chao, Chen Xiang-lan, Zhang Bo, et al. a real-time processor model with timing semantics[J]. Journal of Computer Research and Development, 2021,58(6): 1176-1191.
9 郭金辉, 刘宏杰, 代红兵, 等. 基于堆栈处理器的实时多任务调度机制研究与实现[J]. 计算机应用研究, 2021, 38(9): 2752-2756, 2772.
Guo Jin-hui, Liu Hong-jie, Dai Hong-bing, et al. Research and implementation of real-time multi-task scheduling mechanism based on stack processor[J]. Application Research of Computers, 2021,38(9): 2752-2756, 2772.
10 胡逸文, 杨晨阳, 刘婷婷. 无线信道预测: 联邦学习与集中式学习的通信开销[J]. 信号处理, 2021, 37(10): 1930-1940.
Hu Yi-wen, Yang Chen-yang, Liu Ting-ting.research and implementation of a flink-oriented load balancing task scheduling algorithm[J]. Journal of Signal Processing, 2021,37(10): 1930-1940.
11 林宇晗, 严健, 王侃侃, 等. 支持缓存划分的全局edf实时系统调度策略[J]. 东北大学学报: 自然科学版, 2021, 42(12): 1673-1680.
Lin Yu-han, Yan jian, Wang Kan-kan, et al. scheduling and analysis of global edf for multi-core real-time systems with cache partitioning[J]. Journal of Northeastern University (Natural Science), 2021, 42 (12): 1673-1680.
12 黄姝娟, 肖锋, 曹子建. 高利用率集合Sporadic实时任务调度方法研究[J]. 电子科技大学学报, 2021, 50(4): 572-579.
Huang Shu-juan, Xiao Feng, Cao Zi-jian. Research on scheduling method of high utilization rate sets for Sporadic real-time tasks[J]. Journal of University of Electronic Science and Technology of China, 2021,50(4): 572-579.
13 翁渊瀚, 李南. 基于时间序列模型的文本数据压缩存储算法[J]. 吉林大学学报: 工学版, 2023, 53(7): 2109-2114.
Weng Yuan-han, Li Nan. Text data compression and storage algorithm based on time series model[J]. Journal of Jilin University (Engineering and Technology Edition), 2023, 53(7): 2109-2114.
14 马亚军, 孔令信. 基于动态反馈的多源数据库缓存冲突处理仿真[J]. 计算机仿真, 2022, 39(1): 432-436.
Ma Ya-jun, Kong Ling-xin. Simulation of cache conflict handling in multi-source database based on dynamic feedback [J]. Computer Simulation, 2022, 39(1): 432-436.
[1] Liang-li ZHANG,Xiao-feng MA. New energy vehicle charging station location method based on improved particle swarm optimization algorithm [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2275-2281.
[2] Li-jun LIU,Yun-feng ZHANG,Qing-song HUANG. Anterior-posterior memory matrix model for chest radiology image report generation [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2355-2363.
[3] Hua CAI,Ting-ting KOU,Yi-ning YANG,Zhi-yong MA,Wei-gang WANG,Jun-xi SUN. Three-dimensional vehicle multi-target tracking based on trajectory optimization [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2338-2347.
[4] Sheng-jie ZHU,Xuan WANG,Fang XU,Jia-qi PENG,Yuan-chao WANG. Multi-scale normalized detection method for airborne wide-area remote sensing images [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2329-2337.
[5] Xin-gang GUO,Chao CHENG,Zi-qi SHEN. Face expression recognition based on attention mechanism of convolution network [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2319-2328.
[6] Hong-wei ZHAO,Hong WU,Ke MA,Hai LI. Image classification framework based on knowledge distillation [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2307-2312.
[7] Chao-lu TEMUR,Ya-ping ZHANG. Link anomaly detection algorithm for wireless sensor networks based on convolutional neural networks [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2295-2300.
[8] Dan-hui LAI,Wei-feng LUO,Xu-dong YUAN,Zi-liang QIU. Key point feature extraction algorithms for multimodal gesture in complex environments [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2288-2294.
[9] Nan ZHANG,Ben-yuan ZHONG,Ping WANG. Real time tracking method for hybrid moving targets based on GPS-UWB combined positioning technology [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(7): 2115-2120.
[10] Yi TANG,Yang PAN,Ming GAO,Hong-chen YI,An-qi WEI. Multi spectral image matching algorithm of unmanned aerial vehicle based on affine invariant operator [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(7): 2080-2085.
[11] Xin-dong YOU,Lei GUO,Jing HAN,Xue-qiang LYU. An character recognition network for imprint character [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(7): 2072-2079.
[12] Xin-gang GUO,Ying-chen HE,Chao CHENG. Noise-resistant multistep image super resolution network [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(7): 2063-2071.
[13] Lei JIANG,Zi-qi WANG,Zhen-yu CUI,Zhi-yong CHANG,Xiao-hu SHI. Visual Transformer based on a recurrent structure [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(7): 2049-2056.
[14] Yun-zuo ZHANG,Yu-xin ZHENG,Cun-yu WU,Tian ZHANG. Accurate lane detection of complex environment based on double feature extraction network [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(7): 1894-1902.
[15] Ming-hui SUN,Hao XUE,Yu-bo JIN,Wei-dong QU,Gui-he QIN. Video saliency prediction with collective spatio-temporal attention [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(6): 1767-1776.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] LI Shoutao, LI Yuanchun. Autonomous Mobile Robot Control Algorithm Based on Hierarchical Fuzzy Behaviors in Unknown Environments[J]. 吉林大学学报(工学版), 2005, 35(04): 391 -397 .
[2] Liu Qing-min,Wang Long-shan,Chen Xiang-wei,Li Guo-fa. Ball nut detection by machine vision[J]. 吉林大学学报(工学版), 2006, 36(04): 534 -538 .
[3] Li Hong-ying; Shi Wei-guang;Gan Shu-cai. Electromagnetic properties and microwave absorbing property
of Z type hexaferrite Ba3-xLaxCo2Fe24O41
[J]. 吉林大学学报(工学版), 2006, 36(06): 856 -0860 .
[4] Zhang Quan-fa,Li Ming-zhe,Sun Gang,Ge Xin . Comparison between flexible and rigid blank-holding in multi-point forming[J]. 吉林大学学报(工学版), 2007, 37(01): 25 -30 .
[5] . [J]. 吉林大学学报(工学版), 2007, 37(04): 0 .
[6] Li Yue-ying,Liu Yong-bing,Chen Hua . Surface hardening and tribological properties of a cam materials[J]. 吉林大学学报(工学版), 2007, 37(05): 1064 -1068 .
[7] Feng Hao,Xi Jian-feng,Jiao Cheng-wu . Placement of roadside traffic signs based on visibility distance[J]. 吉林大学学报(工学版), 2007, 37(04): 782 -785 .
[8] Zhang He-sheng, Zhang Yi, Wen Hui-min, Hu Dong-cheng . Estimation approaches of average link travel time using GPS data[J]. 吉林大学学报(工学版), 2007, 37(03): 533 -0537 .
[9] Yang Shu-kai, Song Chuan-xue, An Xiao-juan, Cai Zhang-lin . Analyzing effects of suspension bushing elasticity
on vehicle yaw response character with virtual prototype method
[J]. 吉林大学学报(工学版), 2007, 37(05): 994 -0999 .
[10] . [J]. 吉林大学学报(工学版), 2007, 37(06): 1284 -1287 .