计算机科学 ›› 2015, Vol. 42 ›› Issue (6): 181-184.doi: 10.11896/j.issn.1002-137X.2015.06.039

• 软件与数据库技术 • 上一篇    下一篇

基于特征尺度均衡的Linux系统双阈值任务调度算法

崔永君,张永花   

  1. 兰州交通大学电子与信息工程学院 兰州730070,兰州交通大学电子与信息工程学院 兰州730070
  • 出版日期:2018-11-14 发布日期:2018-11-14
  • 基金资助:
    本文受国家自然科学基金项目:静电感应晶体管栅源击穿电压的提高与关键工艺研究(61366006)资助

Linux System Dual Threshold Scheduling Algorithm Based on Characteristic Scale Equilibrium

CUI Yong-jun and ZHANG Yong-hua   

  • Online:2018-11-14 Published:2018-11-14

摘要: 在嵌入式Linux操作系统的设计和应用中,操作系统经过移植后运行在不同的硬件平台上,它需要一种有效的任务调度算法来实现进程管理和内存管理,以提高系统运行效率。提出了一种基于特征尺度均衡的Linux系统双阈值任务调度算法,分析了嵌入式Linux的内核结构,构建了系统任务调度模型。该算法对以往各类型任务的到达频率、执行时间等信息流进行统计,并提取特征尺度,在Linux系统的全局任务调度中心将所有任务进行融合,输入系统总调度器,得到尺度优化目标函数,进行特征尺度均衡处理;把均衡后的特征尺度时间轴划分成各个相邻但不重合的任务匹配平滑窗口,通过双阈值权衡判决实现对Linux系统的任务调度。仿真结果表明,采用该算法进行Linux嵌入式任务调度,具有较高的执行效率,CPU利用率高,整体性能优于传统算法。

关键词: 特征尺度,Linux操作系统,任务调度,均衡

Abstract: In the design and application of embedded Linux operating system,operating system runs on different hardware platforms after transplantation,and it needs a task scheduling algorithm for effective implementation of process management and memory management to improve the operational efficiency of the system.Linux system dual threshold scheduling algorithm was proposed based on characteristic scale equilibrium.The kernel structure of embedded Linux was analyzed.The system task scheduling model was constructed.According to the various classifications of information such as task arrival rate,execution time,etc,the scale features are extracted.In the global task scheduling center,all the task data are integrated and input to the total system scheduler,and the scale optimization objective function is obtained.The feature scale balanced processing is taken.The characteristic time shaft is divided into the adjacent but not overlap task matching smoothing window,and the double threshold trade-off decision is used for task scheduling in Linux system.The simulation results show that the new algorithm has higher efficiency in Linux embedded task scheduling,utilization rate of CPU is better,and the overall performance is better than the traditional algorithm.

Key words: Characteristic scale,Linux operating system,Task scheduling,Equilibrium

[1] 张松慧,熊锦江.一种针对非平稳网络任务调度防冲突算法研究[J].科技通报,2013,9(10):143-145Zhang Song-hui,Xiong Jin-jiang.Non-Stationary Network Sche- duling Anti-Collision Algorithm Research [J].Bulletin of Science and Technology,2013,9(10):143-145
[2] Miorandi D,Sicari S,Pellegrini F D,et al.Internet of things:vision,applications and research challenges[J].Ad Hoc Networks,2012,10(7):1497-1516
[3] 李静梅,王雪,吴艳霞.一种改进的优先级列表任务调度算法[J].计算机科学,2014,1(5):20-23 Li Jing-mei,Wang Xue,Wu Yan-xia.Improved Priority List Task Scheduling Algorithm [J].Computer Science,2014,1(5):20-23
[4] Chong S K,Gaber M M,Krishnaswamy S,et al.Energy conservation in wireless sensor networks:a rule-based approach[J].Knowledge and Information Systems,2011,28(3):579-614
[5] 许丞,刘洪,谭良.Hadoop云平台的一种新的任务调度和监控机制[J].计算机科学,2013,0(1):112-117 Xu Cheng,Liu Hong,Tan Liang.New Mechanism of Monitoring on Hadoop Cloud Platform[J].Computer Science,2013,0(1):112-117
[6] 李仁发,刘彦,徐成.多处理器片上系统任务调度研究进展评述[J].计算机研究与发展,2008,45(9):1620-1629 Li Ren-fa,Liu Yan,Xu Cheng.A Survey of Task Scheduling Research Progress on Multiprocessor System-on-Chip [J].Computer Research and Development,2008,5(9):1620-1629
[7] 刘少伟,孔令梅,任开军,等.云环境下优化科学工作流执行性能的两阶段数据放置与任务调度策略[J].计算机学报,2011,4(11):2021-2130 Liu Shao-wei,Kong Ling-mei,Ren Kai-jun,et al.A Two-Step Data Placement and Task Scheduling Strategy for Optimizing Scientific Workflow Performance on Cloud Computing Platform [J].Chinese Journal of Computers,2011,4(11):2021-2130
[8] 孟宪福,解文利.基于免疫算法多目标约束P2P任务调度策略研究[J].电子学报,2011,39(1):101-107 Men Xian-fu,Xie Wen-li.Research on P2P Task Scheduling with Multi-objective Constraints Based on Immune Algorithm [J].Acta Electronica Sinica,2011,9(1):101-107
[9] 李文娟,张启飞,平玲娣,等.基于模糊聚类的云任务调度算法[J].通信学报,2012,3(3):146-154 Li Wen-juan,Zhang Qi-fei,Ping Ling-di,et al.Cloud Scheduling Algorithm Based on Fuzzy Clustering [J].Journal on Communications,2012,3(3):146-154
[10] 周浩,高远,朱昌平.基于双门限能量检测的选择式协作频谱感知[J].计算机仿真,2014,31(1):199-203 Zhou Hao,Gao Yuan,Zhu Chang-ping.Alternative Cooperative Spectrum Sensing Based on Double Threshold Energy Detection [J].Computer Simulation,2014,1(1):199-203
[11] 史少锋,刘宴兵.基于动态规划的云计算任务调度研究[J].重庆邮电大学:自然科学版,2012,24(6):687-692 Shi Shao-feng,Liu Yan-bing.Cloud Computing Task Scheduling Research Based on Dynamic Programming[J].Journal of Chongqing University of Posts and Telecommunications:Natural Science Edition,2012,24(6):687-692

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!