Improved analysis and evaluation of real-time semaphore protocols for P-FP scheduling
Author:
- 1 April 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10801812,p. 141-152
Abstract
Several suspension-based multiprocessor real-time locking protocols for partitioned fixed-priority (P-FP) scheduling have been proposed in prior work. These protocols differ in key design choices that affect implementation complexity, overheads, and worst-case blocking, and it is not obvious which is “best” when implemented in a real OS. In particular, should blocked tasks wait in FIFO or in priority order? Should tasks execute critical sections locally on their assigned processor, or should resource access be centralized on designated processors? This paper reports on a large-scale, overhead-aware schedulability study comparing four protocols, the MPCP, FMLP + , DPCP, and the DFLP, which together cover each of the four possible combinations. The results are based on a new, linear-programming-based blocking analysis technique, which is explained in detail and shown to offer substantial improvements over prior blocking bounds. The results reveal that priority queuing (MPCP, DPCP) is often preferable if the range of temporal constraints spans (at least) an order of magnitude, whereas FIFO queueing (FMLP + , DFLP) is preferable if the ratio of longest to shortest deadlines is small. Further, centralized resource access (DPCP, DFLP) is found to be preferable to local critical sections (MPCP, FMLP + ) for high-contention workloads. Scheduling, cache, and locking overheads were accounted for as measured in LITMUS RT on two 8- and 16-core x86 platforms. In contrast to earlier LITMUS RT -based studies, no statistical outlier filtering was performed, owing to improved tracing support.Keywords
This publication has 17 references indexed in Scilit:
- An ILP-based Worst-case Performance Analysis Technique for Distributed Real-time Embedded Systems2012
- The OMLP family of optimal multiprocessor real-time locking protocolsDesign Automation for Embedded Systems, 2012
- Task synchronization and allocation for many-core real-time systems2011
- Independently-Developed Real-Time Systems on Multi-cores with Shared Resources2011
- The Multiprocessor Bandwidth Inheritance Protocol2010
- Coordinated Task Scheduling, Allocation and Synchronization on Multiprocessors2009
- Real-Time Synchronization on Multiprocessors: To Block or Not to Block, to Suspend or Spin?2008
- Real-time synchronization protocols for multiprocessors2003
- Real-time synchronization protocols for shared memory multiprocessors2002
- Synchronization in Real-Time Systems1991