Dev

AMD Dynamic EPP Experiences Issues in Linux 7.1, Affecting Performance

The AMD Dynamic EPP function introduced in Linux 7.1 is causing performance issues during initial use. Although intended to optimize power management, it is expected to be disabled by default for now.

2 min read Reviewed & edited by the SINGULISM Editorial Team

AMD Dynamic EPP Experiences Issues in Linux 7.1, Affecting Performance
Photo by Lukas on Unsplash

AMD Dynamic EPP Function Encounters Trouble in Linux 7.1

It has been discovered that the Dynamic EPP (Energy Performance Preference) function introduced by AMD in the latest Linux kernel version 7.1 is causing performance-related issues in its initial stage. This function is designed to improve power efficiency on Ryzen-powered laptops, but currently faces stability challenges.

What is Dynamic EPP?

Dynamic EPP is one of the new features in the AMD P-State driver. It dynamically adjusts the performance profile based on the system’s power state (AC power or battery operation). For instance, it automatically selects high-performance mode when connected to AC power and power-saving mode when running on battery. It was expected to optimize energy consumption based on power events (plugging/unplugging) and ACPI platform profiles.

Issues and Response

Unfortunately, in the early stages of its introduction, unexpected performance degradation has been reported with Dynamic EPP. Consequently, the Linux kernel development community has submitted a patch to remove the Kconfig option that enables this function by default. According to the patch message, it explains that “specific performance issues have been identified with Dynamic EPP, and this is to prevent distributions from enabling it by default and exposing users to them.” For now, the function will remain disabled unless explicitly opted into via the kernel command line or sysfs options.

To enable it manually, the module parameter “amd_pstate.dynamic_epp=1” must be set. However, developers are also working on related fixes, including improving error handling and write permissions during state changes, and expect to have it in a stable state by the Linux 7.2 merge window (scheduled for next month).

Industry Impact and Future Outlook

This issue highlights the complexity of power management functions within the Linux kernel. While AMD’s Dynamic EPP has the potential to contribute to extending battery life on mobile devices, it requires careful tuning during the implementation phase. The development community plans to proceed with fixes based on user feedback, aiming to re-enable it by default in the future.

Frequently Asked Questions

What exactly is the Dynamic EPP function?
Dynamic EPP is a power management function for AMD laptops that automatically adjusts the performance profile based on whether the device is on AC power or battery. Its purpose is to optimize power consumption and extend battery life. It was introduced in Linux 7.1 but has reported performance issues at present.
Why did problems occur with Dynamic EPP?
Unexpected performance degradation was confirmed during the initial usage phase. The exact cause has not been fully identified, but it is believed that in some cases, the dynamic adjustment of EPP values can burden the system. Developers are trying to minimize the impact on users by disabling it by default and providing an option to enable it manually.
How can I try Dynamic EPP on Linux 7.1?
To enable it manually, use the kernel command line or sysfs options. Specifically, set the module parameter "amd_pstate.dynamic_epp=1". However, due to current stability issues, it is recommended for use in testing environments. Improvements are planned for future kernel versions.
Source: Phoronix

Comments

← Back to Home