FRAP: A Flexible Resource Accessing Protocol for Multiprocessor Real-Time Systems
Shuai Zhao, Hanzhi Xu, Nan Chen, Ruoxian Su, Wanli Chang
Abstract
Fully-partitioned fixed-priority scheduling (FP-FPS) multiprocessor systems are widely found in real-time applications, where spin-based protocols are often deployed to manage the mutually exclusive access of shared resources. Unfortunately, existing approaches either enforce rigid spin priority rules for resource accessing or carry significant pessimism in the schedulability analysis, imposing substantial blocking time regardless of task execution urgency or resource over-provisioning. This paper proposes FRAP, a spin-based flexible resource accessing protocol for FP-FPS systems. A task under FRAP can spin at any priority within a range for accessing a resource, allowing flexible and finegrained resource control with predictable worst-case behaviour. Under flexible spinning, we demonstrate that the existing analysis techniques can lead to incorrect timing bounds and present a novel MCMF (minimum cost maximum flow)-based blocking analysis, providing predictability guarantee for FRAP. A spin priority assignment is reported that fully exploits flexible spinning to reduce the blocking time of tasks with high urgency, enhancing the performance of FRAP. Experimental results show that FRAP outperforms the existing spin-based protocols in schedulability by on average, up to .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 28fb7585-6b90-4638-8cfd-8464358b9f2eCited by top-tier papers1
Ask how each one uses itBuilds on2
Related papers
- A Finer-Grained Blocking Analysis for Parallel Real-Time Tasks with Spin-LocksZe-Wei Chen, Hang Lei, Maolin Yang, Yong Liao et al.DAC 2021 · 5 citations
- Response-Time Analysis for Non-Preemptive Global Scheduling with FIFO Spin LocksSuhail Nogd, Geoffrey Nelissen, Mitra Nasri, Björn B. BrandenburgRTSS 2020 · 14 citations
- Holistic WCRT Analysis for Global Fixed-Priority Preemptive Multiprocessor SchedulingGuoqi Xie, Chenglai Xiong, Wei Wu, Renfa Li et al.DAC 2023 · 2 citations
- DPCP-p: A Distributed Locking Protocol for Parallel Real-Time TasksMaolin Yang, Ze-Wei Chen, Xu Jiang, Nan Guan et al.DAC 2020 · 11 citations
- Recursive Partitioned Scheduling for Real-Time Gang TasksSeongtae Lee, Nan Guan, Jinkyu LeeRTSS 2025 · 1 citation
