HWPSTATE_INTEL(4)
π HWPSTATE_INTEL(4) π
okay so welcome to the Kernel Interfaces Manual bestie, and today's main character is hwpstate_intel(4) β yes that's a section 4 page, we love a driver doc β¨
πΈ NAME πΈ
hwpstate_intel β the Intel Speed Shift Technology driver. that's it, that's the whole name. iconic.
π SYNOPSIS π
so if you want this driver baked into your kernel (and honestly, who wouldn't), you drop this line into your kernel configuration file:
device cpufreq
that's the whole vibe check. one line. slay.
π¦ DESCRIPTION π¦
okay so hwpstate_intel is the driver that gives you support for hardware-controlled performance states on Intel platforms β which, for the uninitiated, is the thing everybody calls Intel Speed Shift Technology. fr fr, that's the name. the hardware handles the performance states itself and this driver is the one holding its hand through it. π«Ά
π₯ LOADER TUNABLES π₯
these are the knobs you can twist before the kernel even wakes up. tune responsibly bestie π
hint.hwpstate_intel.0.disabledβ this one lets you disablehwpstate_intelentirely, which frees up other compatible drivers to manage performance states instead β the manpage literally name-dropsest(4)as an example. it defaults to"0", meaning enabled, meaning the driver is on by default. no cap.machdep.hwpstate_pkg_ctrlβ this is the choose-your-fighter between package-level control (which is the default, btw) and per-core control. set it to"1"and you get package-level control; set it to"0"and you get core-level control</civan>. pick your lane. π
ngl the defaults matter here: package-level is what you get if you touch nothing.
β SYSCTL VARIABLES β
these are the sysctl(8) values you can peek at, and they're giving very much "look at me, I'm the driver's whole personality":
dev.hwpstate_intel.%d.%descβ describes the attached driver. it's the driver's little bio.
living proof:
dev.hwpstate_intel.0.%desc: Intel Speed Shift
dev.hwpstate_intel.%d.%driverβ the driver in use, and it is alwayshwpstate_intel. always always. no impostors.
dev.hwpstate_intel.0.%driver: hwpstate_intel
dev.hwpstate_intel.%d.%parentβ the CPU that's exposing these frequencies. for examplecpu0. it's the parent, it's the source of truth, it's giving main character energy.
dev.hwpstate_intel.0.%parent: cpu0
dev.hwpstate_intel.%d.eppβ the Energy/Performance Preference π valid values range from0to100. setting this field basically whispers a hint to the hardware: preference towards performance at value0, preference towards energy efficiency at value100, or honestly somewhere in between if you're feeling indecisive. it's a hint, not a command β the hardware gets the vibe, not a mandate.
dev.hwpstate_intel.0.epp: 0
π§ COMPATIBILITY π§
hwpstate_intel is only found on supported Intel CPUs. so if you're on something elseβ¦ bestie this page isn't for you, sorry π it's not personal.
π SEE ALSO π
cpufreq(4)π§- Intel 64 and IA-32 Architectures Software Developer Manuals,
http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html. β yes that URL is long enough to wrap, and yes it's copied exactly, tyvm π
π AUTHORS π
this manual page was written by D Scott Phillips <scottph@FreeBSD.org>. give them their flowers, they earned them. π
okay that's the whole page, you're officially informed, go forth and configure your performance states responsibly π¦β¨
β cute sign-off time: this page came to you courtesy of Debian, dated April 21, 2020, and it lives at HWPSTATE_INTEL(4). periodt. π
πΈ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2019 Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms