2014 · 12 citations · 23 references
ComputingComputer EngineeringComputer ScienceEmbedded SystemsOperating SystemsReal-time SystemsInterprocess CommunicationKernel DesignKernel ProgrammingReal-time Systems ArchitectureReal-time Systems DesignSynchronization PrimitivesFutexesPriority InheritancePriority Inheritance ProtocolsReal-time Concurrency ControlReal-time Kernel DesignReal-time KernelsReal-time LinuxReal-time Locking Protocols
This paper explores the problem of how to improve the average-case performance of real-time locking protocols, preferably without significantly deteriorating worst-case performance. Motivated by the futex implementation in Linux, where uncontended lock operations under the Priority Inheritance Protocol (PIP) do not incur mode-switching overheads, we extend this concept to more sophisticated protocols, namely the PCP, the MPCP and the FMLP+. We identify the challenges involved in implementing futexes for these protocols and present the design and evaluation of their implementations in LITMUSRT, a real-time extension of the Linux kernel. Our evaluation shows substantial improvements in the uncontended case (e.g., A futex implementation of the PCP lowers lock acquisition and release overheads by up to 75% and 92%, respectively), at the expense of some increases in worst-case overhead on par with Linux's existing futex implementation.
23
Stack-based scheduling of realtime processes
T. P. Baker · Real-Time Systems · 1991 · 818 citations
On a Real-Time Scheduling Problem
Sudarshan Dhall, C. L. Liu · Operations Research · 1978 · 567 citations
A stack-based resource allocation policy for realtime processes
T. P. Baker · 1990 · 289 citations