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

基于时间帧的处理器PFair调度改进算法
引用本文:蒋丽丽,陈国彬,张广泉..基于时间帧的处理器PFair调度改进算法[J].计算机应用研究,2016,33(4).
作者姓名:蒋丽丽  陈国彬  张广泉.
作者单位:重庆工商大学融智学院大数据应用研究所,重庆工商大学融智学院,苏州大学计算机科学与技术学院;中国科学院计算机科学国家重点实验室;中国科学院计算机科学国家重点实验室
基金项目:重庆市教委科学技术研究项目(No.KJ133103), 江苏省自然科学(No.BK2011152), 中国科学院计算机科学国家重点实验室开放课题(No.CSYSKF0908)
摘    要:为了解决PFair算法进行交互任务调度时,由于忽略了不同阶段的周期性任务而导致多个线程之间任务的迁移问题以及空间和时间的浪费问题,提出了基于时间帧的处理器PFair调度改进算法。该算法基于周期性任务系统的特点,引入时间帧控制和改变本地周期性任务调度来限制任务迁移,从而实现对PFair算法的改进。为了评估算法的迁移开销和公平性,通过实验对普通PFair算法及本文所提出的改进算法ERfair进行对比实验,结果表明,改进算法ERfair能够通过时间帧内调度和分区控制大大降低任务在不同处理器间的迁移次数。基于时间帧的处理器PFair调度改进算法在保证公平性的同时,提高了系统的效率,应用于多核处理器上的任务调度是可行的、有效的。

关 键 词:多处理器  实时系统  任务迁移  任务调度
收稿时间:2014/12/11 0:00:00
修稿时间:2016/2/25 0:00:00

PFair processor scheduling algorithm based on time frame
Affiliation:Rongzhi CollegeofChongqing Technology and Business University,Rongzhi CollegeofChongqing Technology and Business University,Computer Scienc
Abstract:When the PFair algorithm makes task scheduling, it may ignore the periodic tasks of different phases so that there will be problems of task migration among multiple threads and the waster of space and time. In view of the above problems, an improved PFair scheduling algorithm for the processor based on time frame is put forward. The algorithm, based on the characteristics of periodic task system, introduces the time frame to control and change the local periodic task scheduling and to limit task migration, so as to realize the improvement of the PFair algorithm. To assess the migration expense and fairness of the algorithm, comparison experiment between the ordinary PFair algorithm and improved ERfair algorithm proposed in this paper is carried out. The results show that, the improved ERfair algorithm can greatly reduce the times of task migration between different processors through scheduling in the time frame and partition control. The PFair scheduling algorithm for processor based on time frame can guarantee fairness, and also improve the efficiency of the system. It is feasible and effective when applied to the scheduling of multi-core processors.
Keywords:Multiprocessor  Real-time system  Task Migration  Task Scheduling
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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