Thermal Pressure On Tap For Linux 5.7 So The Scheduler Can Be Aware Of Overheating CPUs

Written by Michael Larabel in Arm on 7 March 2020 at 11:07 AM EST. 10 Comments
ARM
Going back about two years has been work by Linaro on "thermal pressure" support for the scheduler so that it can make better task placement decisions among CPU cores when any of the core(s) are being restricted by running too hot. That work is now set to finally land this spring with the Linux 5.7 kernel.

The Linux thermal pressure code is designed with ARM SoCs in mind for better performance by allowing the scheduler to be informed of the thermal "pressure" and that the affected cores may be down-clocked/limited for that reason. In turn, the scheduler can make more informed decisions and in turn that can help the performance. Up until now, the Linux kernel scheduler hasn't been aware when a CPU's capacity is reduced due to thermal issues / frequency capping.


With these patches that have gone through close to a dozen rounds of review over the past few years can help with much better task placement while the CPU is thermally constrained. With the new thermal pressure algorithm, benchmarks like Hackbench and Dhrystone were helped by up to a few percent. The thermal pressure infrastructure and its wiring up for capable Arm hardware is now within the sched/core branch making it material for the next kernel cycle with Linux 5.7's merge window coming in about one month's time.
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