New AMD Dynamic EPP Feature Causing Some Problems With Linux 7.1
([AMD] 5 Hours Ago
AMD P-State Dynamic EPP)
- Reference: 0001633763
- News link: https://www.phoronix.com/news/AMD-Dynamic-EPP-Fallout
- Source link:
[1]Dynamic EPP is one of [2]the new AMD P-State features in Linux 7.1 , but, unfortunately is causing some fallout in early usage of this power-savings related functionality.
Dynamic Energy Performance Preference (EPP) allows changing the performance profile depending upon whether the Ryzen laptop is running on AC or DC power. EPP values are dynamically adjusted based on the power state and adjust based on plug-in/out events as well as other contributing factors like the ACPI Platform Profile. The kernel is autonomously in control of setting the EPP mode and manual writes to the EPP interface for the AMD P-State driver are blocked.
It turns out though that there are some unexpected performance issues coming up from Dynamic EPP. [3]This patch was posted for now dropping the Kconfig build option for allowing Dynamic EPP to be enabled by default. The patch message explains of some yet unresolved performance issues:
"There are some performance issues being identified by dynamic EPP and we don't want to have distributions turning it on by default exposing them to users at this time.
Drop the kconfig option, and require an explicit opt in from kernel command line or runtime sysfs option to turn it on."
The amd_pstate.dynamic_epp=1 module parameter can be used for manually enablign Dynamic EPP if so desired.
This patch along with other Dynamic EPP related fixes were [4]sent out today to the Linux power management subsystem's "fixes" for in turn getting into Linux 7.1 Git in the days ahead.
The other Dynamic EPP work includes some improved error handling, permitting writes to dynamic_epp when the state isn't modified, and other changes. Hopefully AMD Dynamic EPP will be in better shape for restoring the Kconfig default option by the time of the Linux v7.2 merge window next month.
[1] https://www.phoronix.com/news/AMD-P-State-Raw-EPP-Dynamic
[2] https://www.phoronix.com/news/AMD-P-State-Linux-7.1
[3] https://lore.kernel.org/all/20260512221947.1652988-1-mario.limonciello@amd.com/
[4] https://lore.kernel.org/linux-pm/fc712ca8-253a-4a08-8ed6-4082fc50fff2@kernel.org/
Dynamic Energy Performance Preference (EPP) allows changing the performance profile depending upon whether the Ryzen laptop is running on AC or DC power. EPP values are dynamically adjusted based on the power state and adjust based on plug-in/out events as well as other contributing factors like the ACPI Platform Profile. The kernel is autonomously in control of setting the EPP mode and manual writes to the EPP interface for the AMD P-State driver are blocked.
It turns out though that there are some unexpected performance issues coming up from Dynamic EPP. [3]This patch was posted for now dropping the Kconfig build option for allowing Dynamic EPP to be enabled by default. The patch message explains of some yet unresolved performance issues:
"There are some performance issues being identified by dynamic EPP and we don't want to have distributions turning it on by default exposing them to users at this time.
Drop the kconfig option, and require an explicit opt in from kernel command line or runtime sysfs option to turn it on."
The amd_pstate.dynamic_epp=1 module parameter can be used for manually enablign Dynamic EPP if so desired.
This patch along with other Dynamic EPP related fixes were [4]sent out today to the Linux power management subsystem's "fixes" for in turn getting into Linux 7.1 Git in the days ahead.
The other Dynamic EPP work includes some improved error handling, permitting writes to dynamic_epp when the state isn't modified, and other changes. Hopefully AMD Dynamic EPP will be in better shape for restoring the Kconfig default option by the time of the Linux v7.2 merge window next month.
[1] https://www.phoronix.com/news/AMD-P-State-Raw-EPP-Dynamic
[2] https://www.phoronix.com/news/AMD-P-State-Linux-7.1
[3] https://lore.kernel.org/all/20260512221947.1652988-1-mario.limonciello@amd.com/
[4] https://lore.kernel.org/linux-pm/fc712ca8-253a-4a08-8ed6-4082fc50fff2@kernel.org/