Linux 6.6's new scheduler
A Fair Slice
        		    			© Photo by Diana Krotova on Unsplash
Linux 6.6 introduces the EEVDF scheduler, a next-generation CPU scheduling algorithm focused on fairness and responsiveness.
Linux Kernel 6.6 introduced a major update to process scheduling by replacing the almost decade-old Completely Fair Scheduler (CFS) with the Earliest Eligible Virtual Deadline First (EEVDF) scheduler [1]. This new scheduler fulfills the same role as CFS dividing CPU time among processes but does so more efficiently, with lower latency and more predictable behavior. EEVDF is based on an algorithm from a mid-'90s research paper and was merged under the guidance of veteran kernel developer Peter Zijlstra. For those managing Linux systems (from on-premises servers to cloud environments), EEVDF brings potential performance boosts and smoother multitasking without requiring fundamental changes to userspace software. I'll explore how EEVDF works, how to configure and optimize it, and why it matters for modern Linux distributions and workloads.
Unlike its predecessor, EEVDF takes a more algorithmic approach to fairness and responsiveness, removing many of the ad-hoc heuristics and tuning knobs that CFS relied on. The design ensures that tasks which haven't gotten their fair share of CPU are automatically favored, while tasks that overused CPU are gently throttled back in subsequent scheduling decisions. This clean, proportional-share mechanism improves latency for tasks that CFS might inadvertently starve or delay, all without the need for complex tuning parameters. In practical terms, system administrators and developers should see more consistent task scheduling and fewer edge-case issues. The kernel developers caution that a few specific workloads could see initial performance regressions under EEVDF, but these are expected to be rare and are being addressed in follow-up patches.
Why the Scheduler Changed
The CFS had been the default scheduler since Linux 2.6.23 (2007), so replacing it was a big deal. The main motivation was to eliminate the fragile heuristics and guesswork CFS used to handle various workloads, especially latency-sensitive tasks. CFS implemented fairness by tracking each task's virtual runtime and trying to give equal CPU time to all tasks of equal priority. However, to accommodate interactive vs. batch behavior, CFS accumulated many tunable parameters and heuristics. These required careful balancing and could mispredict some scenarios, leading to suboptimal performance or responsiveness. Administrators might recall tweaking CFS parameters or using tools such as nice/renice to influence scheduling, which sometimes felt like a black art in multitenant or high-load systems.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
    Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
	
News
- 
		    					    		    
Linux Now Runs Most Windows Games
The latest data shows that nearly 90 percent of Windows games can be played on Linux.
 - 
		    					    		    
Fedora 43 Has Finally Landed
The Fedora Linux developers have announced their latest release, Fedora 43.
 - 
		    					    		    
KDE Unleashes Plasma 6.5
The Plasma 6.5 desktop environment is now available with new features, improvements, and the usual bug fixes.
 - 
		    					    		    
Xubuntu Site Possibly Hacked
It appears that the Xubuntu site was hacked and briefly served up a malicious ZIP file from its download page.
 - 
		    					    		    
LMDE 7 Now Available
Linux Mint Debian Edition, version 7, has been officially released and is based on upstream Debian.
 - 
		    					    		    
Linux Kernel 6.16 Reaches EOL
Linux kernel 6.16 has reached its end of life, which means you'll need to upgrade to the next stable release, Linux kernel 6.17.
 - 
		    					    		    
Amazon Ditches Android for a Linux-Based OS
Amazon has migrated from Android to the Linux-based Vega OS for its Fire TV.
 - 
		    					    		    
Cairo Dock 3.6 Now Available for More Compositors
If you're a fan of third-party desktop docks, then the latest release of Cairo Dock with Wayland support is for you.
 - 
		    					    		    
System76 Unleashes Pop!_OS 24.04 Beta
System76's first beta of Pop!_OS 24.04 is an impressive feat.
 - 
		    					    		    
Linux Kernel 6.17 is Available
Linus Torvalds has announced that the latest kernel has been released with plenty of core improvements and even more hardware support.
 

