You are not logged in.

#1 2024-11-10 18:30:50

Vertennn
Member
Registered: 2024-11-10
Posts: 13

[SOLVED] ENERGY_PERF_BIAS is changed to 'normal' during boot

As mentioned in the title. I get the message ENERGY_PERF_BIAS: Set to 'normal', was 'performance'. I installed cpupower and then set governor='performance' in /etc/default/cpupower. I also enabled the service using systemctl enable cpupower.service. Even though the values are set to performance, the message does not disappear during boot. What did I do wrong?

nvim /etc/default/cpupower

# Define CPUs governor
# valid governors: ondemand, performance, powersave, conservative, userspace.
governor='performance'

# Limit frequency range
# Valid suffixes: Hz, kHz (default), MHz, GHz, THz
#min_freq="2.25GHz"
#max_freq="3GHz"

# Specific frequency to be set.
# Requires userspace governor to be available.
# Do not set governor field if you use this one.
#freq=

# Utilizes cores in one processor package/socket first before processes are 
# scheduled to other processor packages/sockets.
# See man (1) CPUPOWER-SET for additional details.
#mc_scheduler=

# Utilizes thread siblings of one processor core first before processes are
# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
#smp_scheduler=

#  Sets a register on supported Intel processore which allows software to convey
# its policy for the relative importance of performance versus energy savings to
# the  processor. See man (1) CPUPOWER-SET for additional details.
#perf_bias=

# vim:set ts=2 sw=2 ft=sh et:

cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference

performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance

Last edited by Vertennn (2024-11-10 20:06:45)

Offline

#2 2024-11-10 19:16:21

loqs
Member
Registered: 2014-03-06
Posts: 18,032

Re: [SOLVED] ENERGY_PERF_BIAS is changed to 'normal' during boot

What is the output of `/sys/devices/system/cpu/cpu*/power/energy_perf_bias` Please see https://www.kernel.org/doc/html/latest/ … l_epb.html.

Offline

#3 2024-11-10 19:34:36

Vertennn
Member
Registered: 2024-11-10
Posts: 13

Re: [SOLVED] ENERGY_PERF_BIAS is changed to 'normal' during boot

cat /sys/devices/system/cpu/cpu*/power/energy_perf_bias

0
0
0
0
0
0
0
0
0
0
0
0

Offline

#4 2024-11-10 19:42:27

loqs
Member
Registered: 2014-03-06
Posts: 18,032

Re: [SOLVED] ENERGY_PERF_BIAS is changed to 'normal' during boot

The message can not be removed as linux treats an initial value of 0 as being unset rather than meaning performance see https://github.com/torvalds/linux/blob/ … epb.c#L102 see also my previous link. The 0 outputs show that energy_perf_bias is being set correctly later in boot probably by cpupower.

Offline

#5 2024-11-10 20:06:00

Vertennn
Member
Registered: 2024-11-10
Posts: 13

Re: [SOLVED] ENERGY_PERF_BIAS is changed to 'normal' during boot

Thanks for the valuable information. I think that's all smile

Offline

Board footer

Powered by FluxBB