当前位置: X-MOL 学术arXiv.cs.OS › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Supporting Multiprocessor Resource Synchronization Protocols in RTEMS
arXiv - CS - Operating Systems Pub Date : 2021-04-13 , DOI: arxiv-2104.06366
Junjie Shi, Jan Duy Thien Pham, Malte Münch, Jan Viktor Hafemeister, Jian-Jia Chen, Kuan-Hsun Chen

When considering recurrent tasks in real-time systems, concurrent accesses to shared resources, can cause race conditions or data corruptions. Such a problem has been extensively studied since the 1990s, and numerous resource synchronization protocols have been developed for both uni-processor and multiprocessor real-time systems, with the assumption that the implementation overheads are negligible. However, in practice, the implementation overheads may impact the performance of different protocols depending upon the practiced scenarios, e.g., resources are accessed locally or remotely, and tasks spin or suspend themselves when the requested resources are not available. In this paper, to show the applicability of different protocols in real-world systems, we detail the implementation of several state-of-the-art multiprocessor resource synchronization protocols in RTEMS. To study the impact of the implementation overheads, we deploy these implemented protocols on a real platform with synthetic task set. The measured results illustrate that the developed resource synchronization protocols in RTEMS are comparable to the existed protocol, i.e., MrsP.

中文翻译:

在RTEMS中支持多处理器资源同步协议

在考虑实时系统中的周期性任务时,对共享资源的并发访问可能会导致争用情况或数据损坏。自1990年代以来,对这一问题进行了广泛的研究,并且在实现开销可忽略的前提下,已经为单处理器和多处理器实时系统开发了许多资源同步协议。但是,在实践中,实现开销可能会根据实际情况而影响不同协议的性能,例如,资源是本地或远程访问的,并且当请求的资源不可用时,任务会自旋或挂起。在本文中,为了展示不同协议在现实世界系统中的适用性,我们详细介绍了RTEMS中几种最先进的多处理器资源同步协议的实现。为了研究实现开销的影响,我们将这些实现的协议部署在具有综合任务集的真实平台上。测量结果表明,RTEMS中开发的资源同步协议与现有协议MrsP相当。
更新日期:2021-04-14
down
wechat
bug