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

Shuai Zhao, Hanzhi Xu, Nan Chen, Ruoxian Su, Wanli Chang
{"title":"FRAP: A Flexible Resource Accessing Protocol for Multiprocessor Real-Time Systems","authors":"Shuai Zhao, Hanzhi Xu, Nan Chen, Ruoxian Su, Wanli Chang","doi":"arxiv-2408.13772","DOIUrl":null,"url":null,"abstract":"Fully-partitioned fixed-priority scheduling (FP-FPS) multiprocessor systems\nare widely found in real-time applications, where spin-based protocols are\noften deployed to manage the mutually exclusive access of shared resources.\nUnfortunately, existing approaches either enforce rigid spin priority rules for\nresource accessing or carry significant pessimism in the schedulability\nanalysis, imposing substantial blocking time regardless of task execution\nurgency or resource over-provisioning. This paper proposes FRAP, a spin-based\nflexible resource accessing protocol for FP-FPS systems. A task under FRAP can\nspin at any priority within a range for accessing a resource, allowing flexible\nand fine-grained resource control with predictable worst-case behaviour. Under\nflexible spinning, we demonstrate that the existing analysis techniques can\nlead to incorrect timing bounds and present a novel MCMF (minimum cost maximum\nflow)-based blocking analysis, providing predictability guarantee for FRAP. A\nspin priority assignment is reported that fully exploits flexible spinning to\nreduce the blocking time of tasks with high urgency, enhancing the performance\nof FRAP. Experimental results show that FRAP outperforms the existing\nspin-based protocols in schedulability by 15.20%-32.73% on average, up to\n65.85%.","PeriodicalId":501333,"journal":{"name":"arXiv - CS - Operating Systems","volume":"78 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.13772","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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 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%.
FRAP:多处理器实时系统的灵活资源访问协议
全分区固定优先级调度(FP-FPS)多处理器系统广泛存在于实时应用中,其中通常部署基于自旋的协议来管理共享资源的互斥访问。遗憾的是,现有的方法要么对资源访问强制执行僵化的自旋优先级规则,要么在可调度性分析中带有明显的悲观色彩,无论任务执行的紧迫性或资源的超额供应情况如何,都会带来大量的阻塞时间。本文为 FP-FPS 系统提出了基于自旋的灵活资源访问协议 FRAP。FRAP 下的任务可以在一定范围内的任意优先级旋转访问资源,从而以可预测的最坏情况行为实现灵活、细粒度的资源控制。在灵活旋转的情况下,我们证明了现有的分析技术会导致不正确的时序界限,并提出了一种新颖的基于 MCMF(最小成本最大流量)的阻塞分析,为 FRAP 提供了可预测性保证。报告中的 Aspin 优先级分配充分利用了灵活的旋转来减少高紧迫性任务的阻塞时间,从而提高了 FRAP 的性能。实验结果表明,FRAP 在可调度性方面平均比现有基于旋转的协议高出 15.20%-32.73%,最高可达 65.85%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信