From ac3a6637b58ae70c2d3a52f55a08ba1ea40575d9 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 15 Feb 2023 02:26:30 +0000 Subject: [PATCH] hardware: Change CPU energy_perf_bias performance -> balance-performance Signed-off-by: Grant Slater --- cookbooks/hardware/attributes/default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/hardware/attributes/default.rb b/cookbooks/hardware/attributes/default.rb index c9d003e57..6f89a9c34 100644 --- a/cookbooks/hardware/attributes/default.rb +++ b/cookbooks/hardware/attributes/default.rb @@ -53,9 +53,9 @@ end energy_perf_bias = Dir.glob("/sys/devices/system/cpu/cpu*/power/energy_perf_bias") unless energy_perf_bias.empty? - default[:sysfs][:cpu_power_energy_perf_bias][:comment] = "Set CPU Energy-Performance Bias Preference to performance" + default[:sysfs][:cpu_power_energy_perf_bias][:comment] = "Set CPU Energy-Performance Bias Preference to balance-performance" energy_perf_bias.sort.each do |path| - default[:sysfs][:cpu_power_energy_perf_bias][:parameters][path.sub(%r{^/sys/}, "")] = "0" + default[:sysfs][:cpu_power_energy_perf_bias][:parameters][path.sub(%r{^/sys/}, "")] = "4" end end -- 2.39.5