首页 | 本学科首页   官方微博 | 高级检索  
     

共享资源约束下多核实时任务分配算法
引用本文:刘加海,杨茂林,雷航,廖勇.共享资源约束下多核实时任务分配算法[J].浙江大学学报(自然科学版 ),2014,48(1):113-117.
作者姓名:刘加海  杨茂林  雷航  廖勇
作者单位:1. 浙江大学城市学院 信息与电气工程学院,浙江 杭州 310015; 2. 电子科技大学 信息与软件工程学院,四川 成都 611731
摘    要:为了提高多核实时系统任务分配效率,研究分组固定优先级调度策略下的任务分配算法.通过分析核间任务阻塞对任务最坏情况响应时间产生的影响,提出由于任务间共享资源冲突而引发了任务分配故障问题;指出负载非均衡算法,如First-fit算法、Best-fit算法容易引发任务分配故障.为了避免该问题,提出基于分组与负载均衡的任务分配算法.该算法将存在访问共享资源冲突的任务分配到同一核上,以避免核间任务阻塞;当这些任务无法分配到同一核上时,将这些任务依次分配到当前负载最轻的核上以避免任务分配故障.可调度性分析实验表明,采用该算法可以避免任务分配故障,减少分配任务所需的处理器核数(比Worst-fit算法少10%~40%).


Multicore real-time task allocation algorithms with shared resource constraints
LIU Jia-hai,YANG Mao-lin,LEI Hang,LIAO Yong.Multicore real-time task allocation algorithms with shared resource constraints[J].Journal of Zhejiang University(Engineering Science),2014,48(1):113-117.
Authors:LIU Jia-hai  YANG Mao-lin  LEI Hang  LIAO Yong
Abstract:The task allocation algorithm was analyzed under partitioned fixed priority scheduling policy in order to increase the efficiency of task allocation in multicore real-time systems. The impact of blockings between tasks on different cores on the worst case response time of tasks was analyzed, and a task allocation failure problem incurred by resource sharing conflicts was pointed out. Load-unbalancing algorithms like first-fit and best-fit can easily trigger such task allocation problem. A grouping and load-balancing based task allocation algorithm was proposed in order to avoid such problem. The proposed algorithm preferentially co-locates tasks that may incur resource sharing conflicts to avoid blocking between tasks on different cores, and allocates the tasks that can not be allocated to the same core to the lightest-loaded core to avoid task allocation failure. Schedulability experiments show that the proposed algorithm can avoid task allocation failure and reduce the number of cores needed for task allocation (about as less as 10%~40% than that of the worst-fit algorithm needed).
Keywords:
点击此处可从《浙江大学学报(自然科学版 )》浏览原始摘要信息
点击此处可从《浙江大学学报(自然科学版 )》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号