Infinity Scheduler Aims to Be a Better Linux Scheduler

Bender2 pts0 comments

Infinity Scheduler Aims To Be A Better Linux Scheduler - Phoronix

Articles & Reviews

News Archive

Forums

Premium Ad-Free<br>Contact

Popular Categories

Close

Articles & Reviews

News Archive

Forums

Premium

Contact

Categories

Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals

Infinity Scheduler Aims To Be A Better Linux Scheduler

Written by Michael Larabel in Linux Kernel on 29 June 2026 at 09:52 AM EDT. 2 Comments

The Infinity Scheduler is another attempt at improving the CPU scheduling behavior under Linux and created by the developer behind the existing "scx_flow" sched_ext scheduler. But Infinity Scheduler isn't taking the approach of using sched_ext and is rather patched into the Linux kernel in modifying CFS and RT behavior.

Open-source developer Galih Tama has been working on a replacement to scx_flow to address some "fundamental limitations" of the BPF-based sched_ext approach that can lead to false positives with these schedulers under heavy load. In a message to Phoronix, the Infinity Scheduler is described by its creator as:<br>"A native EEVDF modification built directly into CFS and RT — no BPF, no sched-ext dependency. The core idea is an Exponential Moving Average that tracks each task's recent runtime history. CPU-bound tasks see their time slice shrink (down to a 400µs floor) while interactive tasks retain the full share. Low-EMA wakeups get a 50% shorter vslice, moving their deadline earlier in the EEVDF tree, and a futex-waiting bypass in pick_eevdf() allows immediate preemption at the next scheduling point. RT tasks get the same EMA treatment via queue placement modulation."

In abandoning the sched_ext route, the Infinity Scheduler is currently just patches to the mainline Linux kernel for modifying the CFS and RT code. These patches as of writing are targeting the mainline Linux 6.18 LTS, Linux 7.0, and Linux 7.1 kernel versions.

Those curious about this new Infinity Scheduler effort for Linux can see this GitHub repository for all the details and the necessary kernel patches. If there is enough reader interest I can look at running some Infinity Scheduler performance benchmarks on Phoronix.

2 Comments

Tweet

Linux 7.2-rc1 Released: "Things Look Reasonably Normal" While Landing AMDGPU HDMI 2.1 FRL, AMD ISP4 & CAS<br>Linux 7.3 To Introduce DRM "Color Format" Property With AMD GPU Driver Support<br>Linux Dropping Old Drivers, AI Detected Vulnerabilities & Other Kernel Highlights Of Q2<br>Linux 7.2 Surpasses More Than 43 Million Lines In The Kernel Tree<br>Reserved THP Feature Proposed For Linux To Combine The Best Of HugeTLB & THP<br>Linux 7.2 Fixes Where PCIe Devices Could Be Inadvertently Restricted To 2.5 GT/s

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

"Disgusting" Linux sched_ext Source Code Restructured Following Complaint By Linus Torvalds<br>Google's Gemini Partially Figures Out A Lengthy Linux Boot Time On Modern ASUS Laptop<br>Steam Machine Launches, Priced $1049 To $1428 USD<br>One Line x86 Change To GCC Compiler Nets +12% Benchmark Win For Modern Intel/AMD CPUs<br>COSMIC's New System Monitor Is Looking Very Slick<br>Linux Cache Aware Scheduling Extended For Even Better Performance: Up To 360% In MySQL<br>Linux 7.2 Staging Still Working To Tame The Realtek RTL8723BS "Beast Of A Driver"<br>Nourish: A New Wayland Compositor Powered By Vulkan With Infinite Scrolling/Panning

Microsoft Announces Public Preview For Linux Containers On WSL

Red Hat ARM Engineer Abandons ARM64 Linux Personal Desktop, Goes Back To AMD Ryzen System

Infinity Scheduler Aims To Be A Better Linux Scheduler

AMD Linux Patches Introduce New "Low Power" CPU Core Type

ZLUDA v6 Gets PhysX Running Well On AMD GPUs But Loses Commercial Funding

TLAC Aims To Be An Open-Source Alternative To Kernel-Level Anti-Cheat Systems

RADV Enables Vulkan Descriptor Heap Support By Default

Mageia 10 Released For This Linux Distribution Carrying On The Mandrake Legacy

Arch Linux's Archinstall 4.4 Adds Dank Material Shell + Niri Desktop Option

Linux 7.2-rc1 Released: "Things Look Reasonably Normal" While Landing AMDGPU HDMI 2.1 FRL, AMD ISP4 & CAS

CachyOS June 2026 OS Released With More Performance Optimizations

Linux 7.3 To Introduce DRM "Color Format" Property With AMD GPU Driver Support

Linux Dropping Old Drivers, AI Detected Vulnerabilities & Other Kernel Highlights Of Q2

Linux 7.2 Surpasses More Than 43 Million Lines In The Kernel Tree

Phoronix Premium allows ad-free access to the site, multi-page articles...

linux scheduler infinity kernel phoronix aims

Related Articles