FRAP: A Flexible Resource Accessing Protocol for Multiprocessor Real-Time Systems

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhao, Shuai, Xu, Hanzhi, Chen, Nan, Su, Ruoxian, Chang, Wanli
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910577795792896
author Zhao, Shuai
Xu, Hanzhi
Chen, Nan
Su, Ruoxian
Chang, Wanli
author_facet Zhao, Shuai
Xu, Hanzhi
Chen, Nan
Su, Ruoxian
Chang, Wanli
contents 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 fine-grained 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 15.20%-32.73% on average, up to 65.85%.
format Preprint
id arxiv_https___arxiv_org_abs_2408_13772
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FRAP: A Flexible Resource Accessing Protocol for Multiprocessor Real-Time Systems
Zhao, Shuai
Xu, Hanzhi
Chen, Nan
Su, Ruoxian
Chang, Wanli
Operating Systems
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 fine-grained 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 15.20%-32.73% on average, up to 65.85%.
title FRAP: A Flexible Resource Accessing Protocol for Multiprocessor Real-Time Systems
topic Operating Systems
url https://arxiv.org/abs/2408.13772