Lune

RTSS2024顶会

Interference-free Operating System: A 6 Years' Experience in Mitigating Cross-Core Interference in Linux

Zhaomeng Deng, Ziqi Zhang, Ding Li, Yao Guo, Yunfeng Ye, Yuxin Ren, Ning Jia, Xinwei Hu

摘要

Real-time operating systems employ spatial and temporal isolation to guarantee predictability and schedulability of real-time systems on multi-core processors. Any unbounded and uncontrolled cross-core performance interference poses a significant threat to system time safety. However, the current Linux kernel has a number of interference issues and represents a primary source of interference. Unfortunately, existing research does not systematically and deeply explore the cross-core performance interference issue within the OS itself. This paper presents our industry practice for mitigating crosscore performance interference in Linux over the past 6 years. We have fixed dozens of interference issues in different Linux subsystems. Compared to the version without our improvements, our enhancements reduce the worst-case jitter by a factor of 8.7, resulting in a maximum 11.5x11.5 x improvement over system schedulability. For the worst-case latency in the Core Flight System and the Robot Operating System 2, we achieve a 1.6x and 1.64x1.64 x reduction over RT-Linux. Based on our development experience, we summarize the lessons we learned and offer our suggestions to system developers for systematically eliminating cross-core interference from the following aspects: task management, resource management, and concurrency management. Most of our modifications have been merged into Linux upstream and released in commercial distributions.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper8

  1. A ROS 2 Response-Time Analysis Exploiting Starvation Freedom and Execution-Time VarianceTobias Blaß, Daniel Casini, Sergey Bozhko, Björn B. BrandenburgRTSS 2021 · 64 次引用
  2. Real-Time Scheduling and Analysis of Processing Chains on Multi-threaded Executor in ROS 2Xu Jiang, Dong Ji, Nan Guan, Ruoxiang Li 等RTSS 2022 · 39 次引用
  3. R-TOD: Real-Time Object Detector with Minimized End-to-End Delay for Autonomous DrivingWonseok Jang, Hansaem Jeong, Kyungtae Kang, Nikil D. Dutt 等RTSS 2020 · 37 次引用
  4. Modeling and Analysis of Inter-Process Communication Delay in ROS 2Xiantong Luo, Xu Jiang, Nan Guan, Haochun Liang 等RTSS 2023 · 10 次引用
  5. A study of predictable execution models implementation for industrial data-flow applications on a multi-core platform with shared banked memoryMatheus Schuh, Claire Maiza, Joël Goossens, Pascal Raymond 等RTSS 2020 · 10 次引用

相关 Paper

  1. IsolatOS: Detecting Double Fetch Bugs in COTS RTOS by Re-enabling Kernel IsolationYingjie Cao, Xiaogang Zhu, Dean Sullivan, Haowei Yang 等NDSS 2026 · 1 次引用
  2. Co-Exploration of RISC-V Processor Microarchitectures and FreeRTOS Extensions for Lower Context-Switch LatencyMarkus Scheck, Tammo Mürmann, Andreas KochASPLOS 2026 · 2 次引用
  3. Response Time Analysis and Priority Assignment of Processing Chains on ROS2 ExecutorsYue Tang, Zhiwei Feng, Nan Guan, Xu Jiang 等RTSS 2020 · 81 次引用
  4. Addressing Multi-core Timing Interference using Co-Runner LockingHyoseung Kim, Dionisio de Niz, Björn Andersson, Mark H. Klein 等RTSS 2021 · 3 次引用
  5. Ros RT { }^{\text {RT }}: Enabling Flexible Scheduling in Ros 2Sizhe Liu, Rohan Wagle, Shareef Ahmed, Zelin Tong 等RTSS 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖