Show Your Support: Have you heard of Phoronix Premium? It's what complements advertisements on this site for our premium ad-free service. For less than $4 USD per month, you can help support our site while the funds generated allow us to keep doing Linux hardware reviews, performance benchmarking, maintain our community forums, and much more.
Intel Adding Interface To Pass Workload Hints To The Linux Kernel For Thermal/Power Purposes
With Linux 5.11 the INT340X kernel code is set to see a mailbox driver introduced for handling of workload hints. The intent is to give an indication to the hardware/firmware about what's being run in order to better manage the system power and thermal conditions.
The hints initially supported by the INT340X mailbox code include:
bursty [or if you are experimenting with the current "-next" code at the moment, use "burusty"]
Those different hints can be written to /sys/bus/pci/devices/0000:00:04.0/workload_request/workload_type by user-space. The value will affect the power ramp up of the hardware and other power/thermal behavior of the system.
The new driver code is staged in the thermal's "linux-next" branch ahead of Linux 5.11 expected to open next week.
It will be interesting to see what power/performance impact making use of these hints ultimately has on modern Intel laptops. It will also be interesting to see what Linux user-space software may end up offering these options to the user and/or coming up with their own means of seeding the hints automatically.