OS scheduling with nest: keeping tasks close together on warm cores
Julia Lawall, Himadri Chhaya-Shailesh, Jean-Pierre Lozi, Baptiste Lepers, Willy Zwaenepoel, Gilles Muller
Abstract
To best support highly parallel applications, Linux's CFS scheduler tends to spread tasks across the machine on task creation and wakeup. It has been observed, however, that in a server environment, such a strategy leads to tasks being unnecessarily placed on long-idle cores that are running at lower frequencies, reducing performance, and to tasks being unnecessarily distributed across sockets, consuming more energy. In this paper, we propose to exploit the principle of core reuse, by constructing a nest of cores to be used in priority for task scheduling, thus obtaining higher frequencies and using fewer sockets. We implement the Nest scheduler in the Linux kernel. While performance and energy usage are comparable to CFS for highly parallel applications, for a range of applications using fewer tasks than cores, Nest improves performance 10%--2× and can reduce energy usage.
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 fce79f5f-d0f2-4f94-abc1-099ecd7c523eCited by top-tier papers5
- Enoki: High Velocity Linux Kernel Scheduler DevelopmentSamantha Miller, Anirudh Kumar, Tanay Vakharia, Ang Chen et al.EuroSys 2024 · 8 citations
- SUIT: Secure Undervolting with Instruction TrapsJonas Juffinger, Stepan Kalinin, Daniel Gruss, Frank MuellerASPLOS 2024 · 4 citations
- Optimizing Task Scheduling in Cloud VMs with Accurate vCPU AbstractionEdward Guo, Weiwei Jia, Xiaoning Ding, Jianchen ShanEuroSys 2025 · 3 citations
- kSTEP: Characterization and Deterministic Testing of Linux CPU Scheduler BugsTingjia Cao, Shawn (Wanxiang) Zhong, Caeden Whitaker, Ke Han et al.OSDI 2026 · 1 citation
- Virtualizing eBPF with Late-BindingJing Zhang, Xiaguannan Song, Dong Du, Yubin Xia et al.OSDI 2026
Builds on4
- Provable multicore schedulers with Ipanema: application to work conservationBaptiste Lepers, Redha Gouicem, Damien Carver, Jean-Pierre Lozi et al.EuroSys 2020 · 18 citations
- Fewer Cores, More Hertz: Leveraging High-Frequency Cores in the OS Scheduler for Improved Application PerformanceRedha Gouicem, Damien Carver, Jean-Pierre Lozi, Julien Sopena et al.USENIX ATC 2020 · 12 citations
- Fair Scheduling for AVX2 and AVX-512 WorkloadsMathias Gottschlag, Philipp Machauer, Yussuf Khalil, Frank BellosaUSENIX ATC 2021 · 8 citations
- Avoiding scheduler subversion using scheduler-cooperative locksYuvraj Patel, Leon Yang, Leo Prasath Arulraj, Andrea C. Arpaci-Dusseau et al.EuroSys 2020 · 6 citations
Related papers
- EANeM: Energy-Aware Network Stack Management for Mobile DevicesChungseop Lee, Keonhyuk Lee, Mingoo Kang, Hyukjun LeeDAC 2020
- Compiler support for near data computingMahmut Taylan Kandemir, Jihyun Ryoo, Xulong Tang, Mustafa KaraköyPPoPP 2021 · 14 citations
- Machine Learning-based Thermally-Safe Cache Contention Mitigation in Clustered ManycoresMohammed Bakr Sikal, Heba Khdr, Martin Rapp, Jörg HenkelDAC 2023 · 7 citations
- Virtually-Federated Scheduling of Parallel Real-Time TasksXu Jiang, Nan Guan, Haochun Liang, Yue Tang et al.RTSS 2021 · 22 citations
- Efficient Scheduling Policies for Microsecond-Scale TasksSarah McClure, Amy Ousterhout, Scott Shenker, Sylvia RatnasamyNSDI 2022 · 43 citations
