期刊文献+

FPTS:一种任务间存在共享资源时的抢占阈值调度算法 被引量:3

FPTS:A Fixed-Priority Preemption Threshold Scheduling Algorithm in the Presence of Resources Sharing
下载PDF
导出
摘要 受到广泛关注的抢占阈值调度算法能够有效减少现场切换次数,防止不必要的任务抢占,降低资源额外消耗,提高任务集合的可调度性.目前该调度算法的研究工作大多围绕独立任务集合展开,在实际实时系统中任务经常需要互斥访问共享资源,任务之间由于资源共享而导致的相关性对于任务集合的优先级分配和抢占阈值分配都有很大的影响.SRP协议是在实时系统中得到广泛应用的资源访问控制协议,具有死锁避免、提前阻塞、共享任务栈等一系列优良特性.将SRP和抢占阈值调度算法结合起来,提出FPTS调度模型,给出相应的可调度性判定公式,考虑在任务之间使用SRP协议时求解任务抢占阈值分配,最后给出计算抢占阈值分配的伪多项式时间算法. Fixed-priority with preemption threshold (FPPT) is an important form of real-time scheduling algorithm, which fills the gap between fixed-priority preemptive (FPP) and fixed-priority non-preemptive (FPNP). FPPT can prevent tasks from unnecessary task preemption, reduce the additional memory usage, and improve the schedulability of task set. In real-world real-time applications, access to exclusively-shared resources is a very common operation, and therefore shared resources management in FPPT is necessary. The correlations between tasks, resulting from the shared resources, have a great influence on the priority assignment and preemption threshold assignment of task set. However, current research on FPPT real-time scheduling techniques focuses on the time guarantees of independent real-time tasks rather than the complexity coming from exclusively-shared resources. Stack resource protocol (SRP) is well-known resource access and control protocol in real-time systems, and has many nice features such as deadlock avoidance, earlier blocking, shared run-time stack and so on. Proposed in this paper is a new FPTS scheduling paradigm, which integrates FPPT with SRP, including the new critical instant, preemption threshold assignment and appropriate schedulability analysis, based on response time analysis. Furthermore, an algorithm to compute the feasible preemption threshold assignment is presented, and the proofs for the correctness of these algorithms are also presented.
作者 贺小川 贾焰
出处 《计算机研究与发展》 EI CSCD 北大核心 2009年第2期302-309,共8页 Journal of Computer Research and Development
基金 国家自然科学基金项目(90412011) 国家"九七三"重点基础研究发展计划基金项目(2006AA10Z237)~~
关键词 抢占阈值调度(FPPT) 可调度性分析 栈资源协议(SRP) 抢占阈值分配 共享资源 fixed-priority with preemption threshold (FPPT) scheduability analysis stack resource protocol(SRP) preemption threshold assignment shared resources
  • 相关文献

参考文献7

  • 1Lamie W. Preemption-threshold [OL]. (1997) [2005-11- 10]. http://www. threadx. com/wppreemption.html
  • 2Wang Yun, Saksena Manas. Scheduling fixed-priority tasks with preemption threshold[C]//Proc of the 6th Int Conf on Real-Time Computing Systems and Applications (RTAS'99). Los Alamitos, CA: IEEE Computer Society, 1999:328-335
  • 3Kim Saehwa, Hong Seongsoo, Kim Tae-Hyung. Integrating real-time synchronization schemes into preemption threshold scheduling[C] //Proc of the 5th IEEE Int Syrup on Object- Oriented Real-Time Distributed Computing. Los Alamitos, CA: IEEE Computer Society, 2002:145-152
  • 4Ragunathan R, Lui Sha, John J P. Priority inheritance protocols: An approach to real-time synchronization [J]. IEEE Trans on Computers, 1990, 39(9): 1175-1185
  • 5Paolo G, Giuseppe I., Marco D N. Minimizing memory utilization of real-time task sets in single and multi-processor system-on-a-chip[C] //Proc of the 22nd Real-Time Systems Symp (RTSS 2001). Los Alamitos, CA: IEEE Computer Society, 2001: 73-83
  • 6Baker T P. A stack-based resource allocation policy for real- time processes [C] //Proc of the 11th Real-Time. Systems Symposium. Los Alamitos, CA: IEEE Computer Society, 1990:191-200
  • 7Liu C L, Layland J W. Scheduling algorithms for multiprogramming in a hard-real-time environment [J]. Journal of the ACM, 1973, 20(1): 46-61

同被引文献24

  • 1王漫,何宁,裴俊,冯改玲,刘海涛.面向无线传感器网络应用的嵌入式操作系统综述[J].计算机应用与软件,2007,24(6):44-48. 被引量:14
  • 2杨玉海,宾雪莲,余胜生,周敬利.采用抢占阈值调度的具有释放抖动和特定释放偏移的最大响应时间计算方法[J].计算机科学,2007,34(8):55-57. 被引量:1
  • 3Allavena A, Mosse D. Scheduling of frame-based embedded systems with rechargeable batteries [C/OL] //Proc of Workshop on Power Management for Real-Time and Embedded Systems (in Conjunction With RTAS 2001). 2001 [2015-08-01]. http://igm, univ-rrdv. fr/-masson/pdfANDps/ allavena_mosse 01. pdf.
  • 4Banerjee A, Venkatasubramaniae K K, Mukherjee T, et al. Ensuring safety, security, and sustainability of mission critical cyber-physical systems [J]. Cyber-Physical Systems, 2012, 100(1): 283-29.
  • 5Zhang F, Szwaykowska K, Wolf W, et al. Task scheduling for control oriented requirements for cyber physical systems [C] //Proc of the 29th Real-Time Systems Symp. Piscataway, NJ: IEEE, 2008:417-56.
  • 6Luo J, Jha N K. Power efficient scheduling for heterogeneous distributed real time embedded systems [J]. IEEE Trans on Compute:Aided Design of Integrated Circuits and Systems, 2007, 26(6), 1161-1170.
  • 7Jiang Wei, Xiong Guangze, Ding Xuyang. Energy-saving service scheduling for low-end cyber physical systems [C] // Proc of the 9th Int Conf for "Young Computer Scientists (ICYCS'08). Piscataway, NJ: IEEE, 2008:1064-1069.
  • 8Chandarli Y, Abdeddaim Y, Masson D. The fixed priority scheduling problem for energy harvesting real-time systems [C] //Proc of the 18th Int Conf on Embedded and Real-Time Computing Systems and Applications ( RTCSA ). Piscataway, NJ: IEEE, 2012:415-418.
  • 9Abdeddaim Y, Chandarli Y, Masson D. Toward an optimal fixed priority algorithm for energy harvesting real-time systems [C/OL] //Proc of the Work in Progress Session of 19th IEEE Real Time and Embedded Technology and Applications Syrup. 2013: 45-48. [2015-08-01]. https:// hal. archives-ouvertes, fr/hal 00796646/document.
  • 10Abdeddafm Y, Chandarli Y, Masson D. The optimality of PFPasap algorithm for fixed-priority energy-harvesting real time systems [C] //Proc of the 25th Euromieroc Conf on Real Time Systems (ECRTS). Piscataway, NJ: IEEE, 2013:47-56.

引证文献3

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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