mirror of
https://github.com/unraid/webgui.git
synced 2026-05-05 20:00:52 -05:00
rc.cpufreq: also default to "performance" for amd-pstate-epp.
This commit is contained in:
+2
-1
@@ -42,7 +42,8 @@ SYSTEM="/sys/devices/system/cpu"
|
||||
# provides power savings on Intel processors while avoiding the ramp-up lag
|
||||
# present when using the powersave governor (which is the default if ondemand
|
||||
# is requested on these machines):
|
||||
if [[ $(cat $SYSTEM/cpu0/cpufreq/scaling_driver 2>/dev/null) == intel_pstate ]]; then
|
||||
if [[ $(cat $SYSTEM/cpu0/cpufreq/scaling_driver 2>/dev/null) == intel_pstate ||
|
||||
$(cat $SYSTEM/cpu0/cpufreq/scaling_driver 2>/dev/null) == amd-pstate-epp ]]; then
|
||||
SCALING_GOVERNOR="performance"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user