arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.21701cs.OScs.DC
收藏

LEFT-RS:一种适用于多核实时系统的无锁容错资源共享协议

LEFT-RS: A Lock-Free Fault-Tolerant Resource Sharing Protocol for Multicore Real-Time Systems

University of York(约克大学);Sun Yat-sen University(中山大学)

Nan Chen, Xiaotian Dai, Tong Cheng, Alan Burns, Iain Bate, Shuai Zhao

AI总结:

本文提出LEFT-RS协议,通过无锁机制提升多核实时系统中资源共享的容错性和效率。

摘要:

新兴的实时应用推动了多核嵌入式系统的发展,其中任务由于功能需求和资源有限而必须共享资源。这些资源,无论是本地还是全局的,都通过临界区保护以防止竞态条件,锁定协议确保了独占访问和定时要求。然而,临界区内发生的瞬态故障会破坏执行并导致错误传播到多个任务。传统锁定协议无法解决此类故障,而整合传统容错技术往往会增加阻塞。最近的方法通过并行复制执行来改进故障恢复;然而,由于顺序访问、协调开销和易受共模故障影响,仍存在挑战。在本文中,我们提出了一种适用于多核实时系统的无锁容错资源共享(LEFT-RS)协议。LEFT-RS允许任务在并行进入临界区时同时访问和读取全局资源。如果其他任务出现故障,每个任务可以在成功执行后更早完成其访问,从而提高资源使用的效率。我们的设计也限制了开销并增强了故障容忍性。我们提出了全面的最坏响应时间分析以确保定时保证。广泛评估结果表明,我们的方法显著优于现有方法,在平均上实现了高达84.5%的可调度性改进。

英文摘要:

Emerging real-time applications have driven the transition to multicore embedded systems, where tasks must share resources due to functional demands and limited availability. These resources, whether local or global, are protected within critical sections to prevent race conditions, with locking protocols ensuring both exclusive access and timing requirements. However, transient faults occurring within critical sections can disrupt execution and propagate errors across multiple tasks. Conventional locking protocols fail to address such faults, and integrating traditional fault tolerance techniques often increases blocking. Recent approaches improve fault recovery through parallel replica execution; however, challenges remain due to sequential accessing, coordination overhead, and susceptibility to common-mode faults. In this paper, we propose a Lock-frEe Fault-Tolerant Resource Sharing (LEFT-RS) protocol for multicore real-time systems. LEFT-RS allows tasks to concurrently access and read global resources while entering their critical sections in parallel. Each task can complete its access earlier upon successful execution if other tasks experience faults, thereby improving the efficiency of resource usage. Our design also limits the overhead and enhances fault resilience. We present a comprehensive worst-case response time analysis to ensure timing guarantees. Extensive evaluation results demonstrate that our method significantly outperforms existing approaches, achieving up to an 84.5% improvement in schedulability on average.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑