Cpupower configuration file was deleted after 2026.02..01 stable update

/etc/default/cpupower configuration file was deleted after this stable update.
I don’t know for what reason
:zany_face:

After rename /etc/default/cpupower.pacsave in /etc/default/cpupower lead also to instant system freezes after a system boot.

Anyone has a idea how i can run process govervor in performance mode again?
I want a stable all cores at 4500Mhz ergo 4.50Ghz

cpupower.pacsave (which i believe has stored the old settings which i used for 5 year’s now
but no longer working now, when i change the filename):

# 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="4.50GHz"
max_freq="4.50GHz"

# 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:

Maybe that feature is unsupported right now, because Intel stopped support for Linux?

It looks that arch wiki isn’t updated to the recent changes.

/etc/default/cpupower has been re-named to /etc/default/cpupower-service.conf recently

Arch Linux - Commit b2c92601: cpupower: use unit files and scripts from upstream

Upstream included files based on those from this repo.
Which now causes some duplicated and useless files (double conf file, script in /usr/libexec/ which is unused and the wrong location).
This commit switches to the files supplied by upstream but adjusts the install locations to mostly keep the old structure. Only mostly, because the config file got renamed.

/etc/default/cpupower-service.conf:

# Configuration file for cpupower.service systemd service unit
#
# Edit this file (uncommenting at least one of the options, depending on
# your preferences) and then enable cpupower.service, if you want cpupower
# to run at boot with these settings.

# --- CPU clock frequency ---

# Define CPU governor
# Valid governors: ondemand, performance, powersave, conservative, userspace
#GOVERNOR='ondemand'

Edit configuration file with root privileges:

sudo nano +15 /etc/default/cpupower-service.conf

Change #GOVERNOR='ondemand' to GOVERNOR='performance'
and use Cttl + S to save changes and Ctrl + X to exit nano

And reload systemctl daemon:

systemctl daemon-reload
4 Likes

Thanks, i try this setting.

sudo nano +15? is that a typo?
i would expect:

sudo nano /etc/default/cpupower-service.conf

From the man page… :backhand_index_pointing_down:

NAME
       nano - Nano's ANOther text editor, inspired by Pico

SYNOPSIS
       nano [options] [[+line[,column]] file]...
1 Like

No changes… CPU idling around 800Mhz and systeminfo also showed still in powersave:

CPU:
  Info: model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S
    gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
    model-id: 0x5E (94) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB
    desc: 4x256 KiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 800 min/max: 800/4500 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 bogomips: 64026

Maybe systemctl daemon-reload isn’t enough and i need to reboot?

Normally, daemon-reload should be enough. The effect should apply immediately. :thinking:

systemctl start cpupower.service

Didn’t changed anything also.

1 Like

Note: I’ve split off this exchange from the '[Stable Update] 2026-02-01 - Kernels, COSMIC, Plasma, GNOME, Mesa" thread, because this clearly warrants a more in-depth examination. :wink:

1 Like

Im wondering why did the maintainer change the name from this package,
now i have to deal with this problems.

:roll_eyes:

BG405 recommend in my old topic (which is unlisted right now) a reinstall from the package.
I need to go afk for a while, but later i reboot my system and give it a try.

Because i’m out of ideas, hopefully this maintainer not destroyed his own package :rofl:

Indeed; nothing to lose with sudo pacman -Syu cpupower (I repeated it here for other readers’ benefit). I for one am interested to see the result. :wink:

Make a backup copy of the configuration files first, and then delete the original ones before reinstalling the package. That way, you’ll get the defaults from upstream, and then you can compare the settings in both.

1 Like

Well that file is filled with # lines to the brim anyways, but i have always a timeshift snapshot, which i had always created before a release update. :slightly_smiling_face:

Yes, but my point is that the files that are there now might prevent the new default configuration files from being written out when the package gets reinstalled. So by removing them, it’ll install a fresh default configuration again, which you can then tweak.

Edit: After reinstalling cpupower, don’t forget to make sure it’s enabled… :backhand_index_pointing_down:

sudo systemctl enable --now cpupower
2 Likes

I also had to add:

MIN_FREQ="4.50GHz"
MAX_FREQ="4.50GHz"

This did nothing, but a system restart was clearly required.

I also did not reinstall the package btw.

Thanks all for the assist…

This took me so long, to find out why my system was unstable.

This secret changes are a damn problem… specially in a rolling release distro :grimacing:

Maybe add this Topic to Known issues and solutions in the stable Topic.

1 Like

+15 moves the cursor to Line 15

If you prefer to run CPU at a fixed frequency instead of using a governor to scale CPU frequencies, I would suggest changing Line 25: #FREQ= to FREQ="4.50GHz

I can only confirm that deamon-reload is enough for my old desktop system.
If more is needed for other systems, reboot and enable the service as already suggested:

Or use the “old-school” command instead of the systemd service;

sudo cpupower -c all frequency-set -g performance

Or install cpupower-gui from AUR

As far as I can recall, the cpupower.service was created a few years ago by Arch, but was not available on other distributions until this upstream commit last year:

git.kernel.org/commit/tools/power - cpupower: add a systemd service to run cpupower

committer: Shuah Khan skhan@linuxfoundation.org 2025-05-02 13:52:45 -0600

One of the most typical use cases of the ‘cpupower’ utility works as
follows: run ‘cpupower’ at boot with the desired command-line options
and then forget about it.

Add a systemd service (disabled by default) that automates this use
case (for environments where the initialization system is ‘systemd’),
by running ‘cpupower’ at boot with the settings read from a default
configuration file.

The systemd service, the associated support script and the
corresponding default configuration file are derived from what is
provided by the Arch Linux package (under “GPL-2.0-or-later” terms),
modernized and enhanced in various ways (the script has also been
checked with ‘shellcheck’).

3 Likes

Actually, one would need to install cpupower-gui-git for Python 3.14 compatibility.

4 Likes

In this case, i assume that i need additional changes from GOVERNOR='performance' to GOVERNOR='userspace' because of this info.

# Set a specific frequency
# Requires userspace governor to be available.
# If this option is set, all the previous frequency options are ignored

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.