期刊文献+

动态抢占阈值调度中的快速任务选择算法

A Fast Real-Time Job Selection Algorithm for Dynamic Preemption Threshold Scheduling
下载PDF
导出
摘要 基于动态抢占阈值的实时调度算法集非抢占调度和纯抢占调度的特点,既减少了由于过多的随意抢占造成的CPU资源浪费,又保证了较高的CPU资源利用率。然而,现有的任务选择算法运行时的额外代价严重影响了系统的整体性能。针对这个问题,本文提出一种使用"选择树"作为任务队列结构的、时间复杂度为Ο[log2n]的快速任务选择算法。本文从理论上证明该算法正确性的同时,在使用ARM9芯片的Nokia智能手机上验证了该算法在嵌入式实时系统中的有效性。实验表明,该算法在充分利用处理器的同时能够有效降低动态阈值调度算法的额外代价。 Scheduling algorithms with a preemption threshold have the characteristics of no preemption scheduling and full preemption scheduling. It both decreases a waste of the CPU resources caused by excessive random preemptions and guarantees suitable CPU utilization. However, the runtime overhead of job selection algorithms affects the performance of the system seriously. To solve the problem, a job selection algorithm is proposed that uses a selection tree as the scheduling queue structure. The proposed algorithm selects a job in O(|log2n| ) time, resulting in a significant reduction in the runtime overhead of scheduling. In this paper, the correctness of the job selection algorithm is presented. Also, the job selection algorithm is implemented in a Nokia handset with the ARM9 processor to verify its effectiveness on embedded systems. The experiments performed on the system show that the proposed algorithm can further utilize the processor by reducing the scheduling overhead.
作者 贺小川 贾焰
出处 《计算机工程与科学》 CSCD 2008年第12期51-54,89,共5页 Computer Engineering & Science
基金 国家自然科学基金资助项目(90412011)
关键词 任务选择算法 动态抢占阈值调度 选择树 job selection algorithm dynamic preemption threshold scheduling selection tree
  • 相关文献

参考文献8

  • 1Saksena M, Wang Y. Scalable Multi-Tasking Using Preemption Thresholds[C]//Proc of the 6th IEEE Real-Time Technology and Application Syrup, 2000.
  • 2Wang Y,Seheduling M S. Fixed-Priority Tasks with Preemption Threshold[C]//Proc of the 6th Int'l Conf on Real-Time Computing Systems and Applications, 1999.
  • 3Gai P,Lipari G,di Natale M. Minimizing Memory Utilization of Real-Time Task Sets in Single and Multi-Processor Systems-on-a-Chip [C]// Proc of IEEE Real-Time Systems Symp,2001.
  • 4He Dong-Zhi, Wang Fei-Yue, Li Wei. Dynamic Preemption Threshold Scheduling for Specific Real-Time Control Systems [C]//Proc of the 2005 IEEE Networking, Sensing and Control, 2005 : 395-400.
  • 5Baker T P. Stack-Based Scheduling of Realtime Processes[J]. Journal of Real-Time Systems, 1991,3 ( 1 ) : 67-99.
  • 6Liu J W S. Real-Time Systems[M]. Prentice-Hall, 2000.
  • 7Knuth D E. The Art of Computer Programming. Volume 3 [M]. Addison-Wesley, 1998.
  • 8Zuberi K M, Pillai P,Shin K G. EMERALDS: A Small-Memory Real-Time Microkernel[C]// Procof the 17th ACM Syrup on Operating Systems Principles, 1999 : 277-299.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部