PLUGSCHED+: Efficient and General Live Update and Recovery for Linux Scheduler
The scheduler is a critical component of the operating system (OS) and is tightly coupled with Linux. Production-level clouds often host various workloads, and these workloads require different schedulers to achieve high performance. Furthermore, the scheduler may encounter faults during runtime, leading to the kernel panic. Thus the capability of updating and recovering the scheduler lively without rebooting the OS is crucial for the production environments. However, existing techniques only apply for the fine-grained function-level updates, or require extra constraints such as virtualization when performing update and recovery. We therefore propose Plugsched+ to enable scheduler live update and recovery with two key novelties. First, with the idea of modularization, Plugsched+ decouples the scheduler from the Linux kernel to be an independent module. Second, Plugsched+ uses the data rebuild technique to migrate the state from the old scheduler to the new one during live update, or clear anomalous data during live recovery. This scheme can be directly applied to the Linux kernel scheduler in production environments without replacing the kernel. Experimental and production results show that Plugsched+ can effectively update and recover the scheduler lively, and the downtime is no more than tens of milliseconds.
Authors
- Huanle Xu (ORCID: https://orcid.org/0000-0001-6657-1154)
- Minyi Guo (ORCID: https://orcid.org/0000-0003-0034-2302)
- Shoumeng Yan (ORCID: https://orcid.org/0009-0007-9580-5395)
- Zhuo Song (ORCID: https://orcid.org/0009-0003-3244-5186)
- Teng Ma (ORCID: https://orcid.org/0000-0002-7104-1526)
- Pu Pang (ORCID: https://orcid.org/0009-0004-3685-0901)
- Quan Chen (ORCID: https://orcid.org/0000-0001-5832-0347)
- Peng Wang (ORCID: https://orcid.org/0000-0003-4972-1231)
- Tao Ma (ORCID: https://orcid.org/0009-0008-8629-6274)
- Yong Yang (ORCID: https://orcid.org/0009-0007-3418-9314)
- Yi Tao (ORCID: https://orcid.org/0009-0001-1498-8705)
- Chengqi Jiang (ORCID: https://orcid.org/0009-0001-9272-3497)
- Shuai Xue (ORCID: https://orcid.org/0000-0001-6176-1557)
Institutions
- Guizhou University (CN)
- Shanghai Jiao Tong University (CN)
- University of Macau (MO)
- Ant Group (China) (CN)
- Alibaba Group (China) (CN)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2026-11-05
- DOI
- https://doi.org/10.1145/3861009
- Primary Topic
- Distributed systems and fault tolerance
- Type
- article
- Field-Weighted Citation Impact
- 0.00