Intel HFI Driver Will Quit Wasting CPU Cycles With Linux 6.10

Written by Michael Larabel in Intel on 1 April 2024 at 01:27 PM EDT. 1 Comment
INTEL
Intel's Hardware Feedback Interface (HFI) driver will act more efficiently come the Linux 6.10 kernel this summer.

You may recall the Linux kernel patches for the Intel HFI driver talked about back in February for only enabling the HFI driver when it's actually being used with a user-space software component like Intel Speed Select or the Intel Low Power Daemon actually wanting to make use of HFI events. By skipping out on Intel HFI driver activity when no user-space components are actively leveraging it, "tons of CPU cycles" can be saved according to Intel Linux engineers.

Intel's Hardware Feedback Interface is used for communicating performance / energy efficiency capability information on each CPU core to the operating system. Linux can make use of Intel HFI for better task placement that is particularly important for recent Intel Core processors employing a hybrid design.

Intel Core hybrid CPU


Intel engineers didn't quantify the impact of the CPU cycle savings, but the news now is that these patches are slated for premiering in Linux 6.10. This past week the patches to only enable Intel HFI when required have been queued into the power management subsystem's "linux-next" branch. With the code hitting this milestone, it's destined for the next merge window (v6.10) barring any last minute issues from appearing.
"Enable and disable hardware feedback interface (HFI) when user space handler is present. For example, enable HFI, when intel-speed-select or Intel Low Power daemon is running and subscribing to thermal netlink events. When user space handlers exit or remove subscription for thermal netlink events, disable HFI."

So for now it's in Linux-pm.git's linux-next branch ahead of the 6.10 merge window opening in May.
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