A Deadline-Floor Inheritance Protocol for EDF Scheduled Embedded Real-Time Systems with Resource Sharing

被引:19
作者
Burns, Alan [1 ]
Gutierrez, Marina [2 ]
Aldea Rivas, Mario [3 ]
Gonzalez Harbour, Michael [3 ]
机构
[1] Univ York, Dept Comp Sci, York YO10 5DD, N Yorkshire, England
[2] Univ Cantabria, Comp Sci, Cantabria, Spain
[3] Univ Cantabria, Dept Math Stat & Comp Sci, Cantabria, Spain
关键词
Real-time systems; embedded systems; concurrency control;
D O I
10.1109/TC.2014.2322619
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Earliest Deadline First (EDF) is the most widely studied optimal dynamic scheduling algorithm for uniprocessor real-time systems. For realistic programs, tasks must be allowed to exchange data and use other forms of resources that must be accessed under mutual exclusion. With EDF scheduled systems, access to such resources is usually controlled by the use of Baker's Stack Resource Protocol (SRP). In this paper we propose an alternative scheme based on deadline inheritance. Shared resources are assigned a relative deadline equal to the minimum (floor) of the relative deadlines of all tasks that use the resource. On entry to the resource a task's current absolute deadline is subject to an immediately reduction to reflect the resource's deadline floor. On exit the original deadline for the task is restored. We show that the worst-case behaviour of the new protocol (termed DFP-Deadline Floor inheritance Protocol) is the same as SRP. Indeed it leads to the same blocking term in the scheduling analysis. We argue that the new scheme is however more intuitive, removes the need to support preemption levels and we demonstrate that it can be implemented more efficiently.
引用
收藏
页码:1241 / 1253
页数:13
相关论文
共 25 条
  • [1] [Anonymous], 2008, 100312008 IEEE
  • [2] BAKER TP, 1990, PROCEEDINGS : 11TH REAL-TIME SYSTEMS SYMPOSIUM, P191, DOI 10.1109/REAL.1990.128747
  • [3] STACK-BASED SCHEDULING OF REALTIME PROCESSES
    BAKER, TP
    [J]. REAL-TIME SYSTEMS, 1991, 3 (01) : 67 - 99
  • [4] Resource sharing in EDF-scheduled systems: a closer look
    Baruah, Sanjoy K.
    [J]. 27TH IEEE INTERNATIONAL REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 2006, : 379 - 387
  • [5] BARUAH SK, 1990, PROCEEDINGS : 11TH REAL-TIME SYSTEMS SYMPOSIUM, P182, DOI 10.1109/REAL.1990.128746
  • [6] Brukardt R., 2006, 8526 ISOIEC
  • [7] Burns A, 2004, LECT NOTES COMPUT SC, V3063, P156
  • [8] Burns A., 2012, YVS2012476 U YORK DE
  • [9] DYNAMIC PRIORITY CEILINGS - A CONCURRENCY-CONTROL PROTOCOL FOR REAL-TIME SYSTEMS
    CHEN, MI
    LIN, KJ
    [J]. REAL-TIME SYSTEMS, 1990, 2 (04) : 325 - 346
  • [10] Fairbairn M. L., 2012, P 17 ADA EUR INT C R, P193