Linux's Load Balancer Still Needs To Be Better Adapted For Intel Hybrid CPUs

Written by Michael Larabel in Linux Kernel on 17 September 2022 at 11:19 AM EDT. 5 Comments
LINUX KERNEL
Over the past year since launching Intel Alder Lake processors, Intel engineers have made a number of improvements to the Linux kernel for better dealing with the hybrid processor approach mixing P and E cores. While Alder Lake is running great with recent kernels and the P vs. E core selection for tasks on Linux is better than it was at launch, there still are areas for improvement as raised by Intel engineers this week.

Last week was the big Linux kernel patch series working on "classes of tasks" for hybrid CPUs and properly implementing Thread Director support on Linux. This week at Linux Plumbers Conference it was also raised how Linux's Energy Aware Scheduling could be adapted for Intel hybrid CPUs as where right now EAS is just tailored to Arm big.LITTLE designs.

Also at LPC 2022 this week, Intel engineers Rui Zhang and Yu Chen raised the Intel hybrid Linux work still remaining. This additional talk was about how the Linux load balancer is less than ideal for Intel's hybrid processors. In particular, the frequency max used for calculating the frequency scale is a global value and not something core-specific, with P / E cores having different maximum frequency values. The frequency maximum value can also be incorrect based on turbo mode, thermal/power throttling, etc. Currently the frequency max value also can't be adjusted at run-time.




Those interested in the topic can find the complete slide deck outlining the current Linux load balancing problems for Intel hybrid CPUs and possible improvements that could be made. I'll certainly post as usual when any new patches materialize and are ready for testing/benchmarking.
Related News
About The Author
Michael Larabel

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.

Popular News This Week