[systemd-devel] Disabling cpufreq/boost at boot time sometimes fails

Leon Fauster leonfauster at googlemail.com
Tue Jul 12 23:22:13 UTC 2022


Am 13.07.22 um 00:11 schrieb Leon Fauster:
> Am 12.07.22 um 18:55 schrieb Thomas HUMMEL:
>> Hello,
>>
>> I'm using systemd-239-45 on RHEL 8.4 x86_64 AMD nodes on which I 
>> disable Turbo Core/Turbo Boost by writing '0' into the following file:


Uups, the AMD string was not recognized. So, my comments are only for 
intel cpus.


>> /sys/devices/system/cpu/cpufreq/boost
>>
> 
> What about /sys/devices/system/cpu/intel_pstate/no_turbo  ?
> 
> And check your actual config profile. Some  "major" settings must be set 
> adequately to allow having a specific config.
> 
>   cat /sys/devices/system/cpu/cpufreq/*/energy_performance_preference
>   cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_governor
> 
> https://www.kernel.org/doc/html/v4.13/admin-guide/pm/intel_pstate.html
> 
> 
> 
>> 2) adding an entry for systemd-tmpfiles-setup.service like this:
>>
>> w /sys/devices/system/cpu/cpufreq/boost - - - - 0
> 
> 
> Using the same approach with success here for the scaling_governor.
> 
> 
> 
>>
>> a) SELinux is disabled
>>
> 
> Sorry that I have to say, in 2022 disabling SELinux is like
> having Win95 installed ... and more important, in the future
> you will not be able to disable it. So, better get in touch with it.
> 
> -- 
> L



More information about the systemd-devel mailing list