Lune

EuroSys2022Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • kSTEP: Characterization and Deterministic Testing of Linux CPU Scheduler Bugs cites Provable multicore schedulers with Ipanema: application to work conservation
  • SUIT: Secure Undervolting with Instruction Traps cites Fewer Cores, More Hertz: Leveraging High-Frequency Cores in the OS Scheduler for Improved Application Performance
  • Fewer Cores, More Hertz: Leveraging High-Frequency Cores in the OS Scheduler for Improved Application Performance cites Provable multicore schedulers with Ipanema: application to work conservation
  • Virtualizing eBPF with Late-Binding cites Enoki: High Velocity Linux Kernel Scheduler Development
  • Optimizing Task Scheduling in Cloud VMs with Accurate vCPU Abstraction cites Fair Scheduling for AVX2 and AVX-512 Workloads
  • Enoki: High Velocity Linux Kernel Scheduler Development cites Provable multicore schedulers with Ipanema: application to work conservation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Enoki: High Velocity Linux Kernel Scheduler DevelopmentSamantha Miller, Anirudh Kumar, Tanay Vakharia, Ang Chen et al.EuroSys 2024 · 8 citations
  2. SUIT: Secure Undervolting with Instruction TrapsJonas Juffinger, Stepan Kalinin, Daniel Gruss, Frank MuellerASPLOS 2024 · 4 citations
  3. Optimizing Task Scheduling in Cloud VMs with Accurate vCPU AbstractionEdward Guo, Weiwei Jia, Xiaoning Ding, Jianchen ShanEuroSys 2025 · 3 citations
  4. kSTEP: Characterization and Deterministic Testing of Linux CPU Scheduler BugsTingjia Cao, Shawn (Wanxiang) Zhong, Caeden Whitaker, Ke Han et al.OSDI 2026 · 1 citation
  5. Virtualizing eBPF with Late-BindingJing Zhang, Xiaguannan Song, Dong Du, Yubin Xia et al.OSDI 2026

Builds on4

  1. Provable multicore schedulers with Ipanema: application to work conservationBaptiste Lepers, Redha Gouicem, Damien Carver, Jean-Pierre Lozi et al.EuroSys 2020 · 18 citations
  2. 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
  3. Fair Scheduling for AVX2 and AVX-512 WorkloadsMathias Gottschlag, Philipp Machauer, Yussuf Khalil, Frank BellosaUSENIX ATC 2021 · 8 citations
  4. 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

  1. EANeM: Energy-Aware Network Stack Management for Mobile DevicesChungseop Lee, Keonhyuk Lee, Mingoo Kang, Hyukjun LeeDAC 2020
  2. Compiler support for near data computingMahmut Taylan Kandemir, Jihyun Ryoo, Xulong Tang, Mustafa KaraköyPPoPP 2021 · 14 citations
  3. Machine Learning-based Thermally-Safe Cache Contention Mitigation in Clustered ManycoresMohammed Bakr Sikal, Heba Khdr, Martin Rapp, Jörg HenkelDAC 2023 · 7 citations
  4. Virtually-Federated Scheduling of Parallel Real-Time TasksXu Jiang, Nan Guan, Haochun Liang, Yue Tang et al.RTSS 2021 · 22 citations
  5. Efficient Scheduling Policies for Microsecond-Scale TasksSarah McClure, Amy Ousterhout, Scott Shenker, Sylvia RatnasamyNSDI 2022 · 43 citations
Dusk over the sea between two cliffs drawn in fine vertical lines