Improved Task Management Techniques for Enforcing EDF Scheduling on Recurring Tasks

M. Short
{"title":"Improved Task Management Techniques for Enforcing EDF Scheduling on Recurring Tasks","authors":"M. Short","doi":"10.1109/RTAS.2010.22","DOIUrl":null,"url":null,"abstract":"The management of tasks is an essential requirement in most real-time and embedded systems, but invariably leads to unwanted CPU overheads. This paper is concerned with task management in real-time and embedded systems employing the Earliest Deadline First (EDF) scheduling algorithm. Currently, the best known techniques to manage EDF scheduling lead to overheads with complexity O(log n), where n is the number of recurring (periodic/sporadic) tasks. In this paper it will be shown that if both the ready and waiting queues are represented by either i) timing and indexed deadline wheels or ii) digital search trees, then all scheduling decisions may be made in time proportional to the logarithm of the largest time representation required by the system, pm. In cases where pm is relatively small, for example in some embedded systems, extremely efficient task management may then be achieved. Experimental results are then presented, and it is shown that on an ARM7 microcontroller, when the number of tasks is comparatively large for such a platform (≫ 250), the worst-case scheduling overheads remain effectively constant and below 20 µs. The results indicate that the techniques provide some improved performance over previous methods, and also seem to indicate that there is little discernable difference between the overheads incurred between employing a fixed- or dynamic-priority scheduler in a given system.","PeriodicalId":356388,"journal":{"name":"2010 16th IEEE Real-Time and Embedded Technology and Applications Symposium","volume":"77 11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-04-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"19","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 16th IEEE Real-Time and Embedded Technology and Applications Symposium","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RTAS.2010.22","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 19

Abstract

The management of tasks is an essential requirement in most real-time and embedded systems, but invariably leads to unwanted CPU overheads. This paper is concerned with task management in real-time and embedded systems employing the Earliest Deadline First (EDF) scheduling algorithm. Currently, the best known techniques to manage EDF scheduling lead to overheads with complexity O(log n), where n is the number of recurring (periodic/sporadic) tasks. In this paper it will be shown that if both the ready and waiting queues are represented by either i) timing and indexed deadline wheels or ii) digital search trees, then all scheduling decisions may be made in time proportional to the logarithm of the largest time representation required by the system, pm. In cases where pm is relatively small, for example in some embedded systems, extremely efficient task management may then be achieved. Experimental results are then presented, and it is shown that on an ARM7 microcontroller, when the number of tasks is comparatively large for such a platform (≫ 250), the worst-case scheduling overheads remain effectively constant and below 20 µs. The results indicate that the techniques provide some improved performance over previous methods, and also seem to indicate that there is little discernable difference between the overheads incurred between employing a fixed- or dynamic-priority scheduler in a given system.
改进的任务管理技术,用于对循环任务执行EDF调度
任务管理是大多数实时和嵌入式系统的基本需求,但总是会导致不必要的CPU开销。本文研究了采用最早截止日期优先调度算法的实时和嵌入式系统任务管理问题。目前,最著名的管理EDF调度的技术导致复杂度为O(log n)的开销,其中n是重复(周期性/零星)任务的数量。本文将证明,如果就绪队列和等待队列都由i)定时和索引截止轮或ii)数字搜索树表示,那么所有调度决策都可以在与系统所需的最大时间表示pm的对数成比例的时间内做出。在pm相对较小的情况下,例如在某些嵌入式系统中,可以实现极其有效的任务管理。实验结果表明,在ARM7微控制器上,当平台上的任务数量较多(250)时,最坏情况调度开销保持在20µs以下。结果表明,与以前的方法相比,这些技术提供了一些改进的性能,并且似乎还表明,在给定的系统中使用固定优先级调度器或动态优先级调度器所产生的开销之间几乎没有明显的区别。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信