Magic Mirror in My Hand...Who is the Fairest Scheduler in Linux Land?
DJ Ware
Today I dive into the deep and mysterious waters of the new Linux Scheduler Earliest Eligible Virtual Deadline First (EEVDF), a scheduler which has supplanted the Completely Fair Scheduler (CFS) in the Linux Kernel 6.6. I ran into a couple of surprises so I am including the other mystery to this puzzle which is the Intel Thread Director which comes into play when using Intel Hybrid CPU architecture from the 12th Generation Intel processors to the present 14th Gen (MeteorLake) CPUs. So buckle up because "we ain't in Kansas anymore".
AI Image: In the spirit of the Evil Queen from Sleeping Beauty, who asked one single question every day...
Chapters 00:00 - Start 00:18 - Why change from CFS? 02:12 - Sounds Great so what's the problem? 04:37 - Problem 2 05:27 - Solution 08:37 - Hybrid CPUs 09:25 - Intel Thread Director 10:47 - Intel's CPU Classification 12:54 - Intel Thread Director 14:01 - Use Case: Idle Load Balancing 15:24 - Use Case: Partially Idel Load Balancing 16:18 - Use Case: Live Exchange 17:02 - Use Case: Overutilized and Unbalanced CPUs 18:19 - Use Case: Overloaded and Balanced CPUs 19:10 - Performance Governor Isn't the Best 26:45 - Unix Bench 28:29 - Final Thoughts ... https://www.youtube.com/watch?v=F4pibcYbT9U
381552398 Bytes