Doesn't work in RHEL9
I'm taking a look at this in RHEL9 and wonder; how to verify the state change?
I do not see any change in
cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpufreq/policy?/energy_performance_preference
cat /sys/devices/system/cpu/intel_pstate/*
I also do not have this locations:
/sys/firmware/acpi/platform_profile
/sys/firmware/acpi/platform_profile_choices
(ok: it fallbacks from platform_profile to intel_pstate )
My environment:
# lscpu |grep ^Modelln
Modellname: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
# uname -a
Linux lem 5.14.0-78.el9.x86_64 #1 SMP PREEMPT Mon Apr 11 11:29:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
# rpm -q power-profiles-daemon
power-profiles-daemon-0.10.1-1.el9.x86_64
I would appreciate any feedback, thanks
Apr 21 21:15:53 localhost power-profiles-[1791]: Starting power-profiles-daemon version 0.10.1
Apr 21 21:15:53 localhost power-profiles-[1791]: Handling driver 'fake'
Apr 21 21:15:53 localhost power-profiles-[1791]: probe() failed for driver fake, skipping
Apr 21 21:15:53 localhost power-profiles-[1791]: Handling driver 'platform_profile'
Apr 21 21:15:53 localhost power-profiles-[1791]: No platform_profile sysfs file
Apr 21 21:15:53 localhost power-profiles-[1791]: probe() failed for driver platform_profile, skipping
Apr 21 21:15:53 localhost power-profiles-[1791]: Handling driver 'intel_pstate'
Apr 21 21:15:53 localhost power-profiles-[1791]: Opening policy dir '/sys/devices/system/cpu/cpufreq/'
Apr 21 21:15:53 localhost power-profiles-[1791]: About to start monitoring '/sys/devices/system/cpu/intel_pstate/no_turbo'
Apr 21 21:15:53 localhost power-profiles-[1791]: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
Apr 21 21:15:53 localhost power-profiles-[1791]: Found p-state settings
Apr 21 21:15:53 localhost power-profiles-[1791]: Handling driver 'placeholder'
Apr 21 21:15:53 localhost power-profiles-[1791]: Driver 'intel_pstate' already probed, skipping driver 'placeholder'
Apr 21 21:15:53 localhost power-profiles-[1791]: Handling action 'trickle_charge'
Apr 21 21:15:53 localhost power-profiles-[1791]: Applying profile 'power-saver' from configuration file
Apr 21 21:15:53 localhost power-profiles-[1791]: Setting active profile 'power-saver' for reason 'reset' (current: 'power-saver')
Apr 21 21:54:21 localhost power-profiles-[1791]: Transitioning active profile from 'power-saver' to 'balanced' by user request
Apr 21 21:54:21 localhost power-profiles-[1791]: Setting active profile 'balanced' for reason 'user' (current: 'power-saver')
Apr 21 21:56:28 localhost power-profiles-[1791]: Transitioning active profile from 'balanced' to 'power-saver' by user request
Apr 21 21:56:28 localhost power-profiles-[1791]: Setting active profile 'power-saver' for reason 'user' (current: 'balanced')
Edited by Bastien Nocera