Title :
A Deadline-Floor Inheritance Protocol for EDF Scheduled Embedded Real-Time Systems with Resource Sharing
Author :
Burns, Alan ; Gutierrez, Marina ; Aldea Rivas, Mario ; Gonzalez Harbour, Michael
Author_Institution :
Comput. Sci. Dept., Univ. of York, York, UK
Abstract :
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.
Keywords :
embedded systems; protocols; resource allocation; scheduling; Baker SRP; Baker stack resource protocol; DFP; EDF scheduled embedded real-time systems; deadline-floor inheritance protocol; earliest deadline first; optimal dynamic scheduling algorithm; resource sharing; uniprocessor real-time systems; Dynamic scheduling; Floors; Heuristic algorithms; Protocols; Real-time systems; Resource management; Timing; Real-time systems, embedded systems, concurrency control;
Journal_Title :
Computers, IEEE Transactions on
DOI :
10.1109/TC.2014.2322619