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
Abstract
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 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 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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f7059b0a-f502-4f1f-b60b-904ecf151a9eBuilds on8
- A ROS 2 Response-Time Analysis Exploiting Starvation Freedom and Execution-Time VarianceTobias Blaß, Daniel Casini, Sergey Bozhko, Björn B. BrandenburgRTSS 2021 · 64 citations
- Real-Time Scheduling and Analysis of Processing Chains on Multi-threaded Executor in ROS 2Xu Jiang, Dong Ji, Nan Guan, Ruoxiang Li et al.RTSS 2022 · 39 citations
- R-TOD: Real-Time Object Detector with Minimized End-to-End Delay for Autonomous DrivingWonseok Jang, Hansaem Jeong, Kyungtae Kang, Nikil D. Dutt et al.RTSS 2020 · 37 citations
- Modeling and Analysis of Inter-Process Communication Delay in ROS 2Xiantong Luo, Xu Jiang, Nan Guan, Haochun Liang et al.RTSS 2023 · 10 citations
- 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 et al.RTSS 2020 · 10 citations
Related papers
- IsolatOS: Detecting Double Fetch Bugs in COTS RTOS by Re-enabling Kernel IsolationYingjie Cao, Xiaogang Zhu, Dean Sullivan, Haowei Yang et al.NDSS 2026 · 1 citation
- Co-Exploration of RISC-V Processor Microarchitectures and FreeRTOS Extensions for Lower Context-Switch LatencyMarkus Scheck, Tammo Mürmann, Andreas KochASPLOS 2026 · 2 citations
- Response Time Analysis and Priority Assignment of Processing Chains on ROS2 ExecutorsYue Tang, Zhiwei Feng, Nan Guan, Xu Jiang et al.RTSS 2020 · 81 citations
- Addressing Multi-core Timing Interference using Co-Runner LockingHyoseung Kim, Dionisio de Niz, Björn Andersson, Mark H. Klein et al.RTSS 2021 · 3 citations
- Ros : Enabling Flexible Scheduling in Ros 2Sizhe Liu, Rohan Wagle, Shareef Ahmed, Zelin Tong et al.RTSS 2025 · 2 citations
