Enable cpupower.service

General support questions
Post Reply
Posts: 1
Joined: 2014/08/19 08:21:42

Enable cpupower.service

Post by r0n1N » 2014/08/19 08:30:45

Hi all,

I'm running CentOS 7 on our Sandy- and Ivy-Bridge server systems. I'd like to use the cpupower service and disable Intel's pstate feature. Therefore, I did the following.

I added

Code: Select all

to the kernel boot parameters and enabled the cpupower service by:

Code: Select all

systemctl enable cpupower.service
This created a symbolic link in /etc/systemd/system/multi-user.target.wants/ to a file/usr/lib/systemd/system/cpupower.service containing:

Code: Select all

Description=Configure CPU power related settings

ExecStart=/usr/bin/cpupower $CPUPOWER_START_OPTS
ExecStop=/usr/bin/cpupower $CPUPOWER_STOP_OPTS

However, the service won't start on boot and if I type systemctl status cpupower.service, I get:

Code: Select all

cpupower.service - Configure CPU power related settings
   Loaded: loaded (/usr/lib/systemd/system/cpupower.service; enabled)
   Active: inactive (dead)
Do you have an idea what is going wrong here? I'm running a minimal installation without graphical user interface. Do you need further information? If I start the service by hand (systemctl start cpupower.service), everything works fine.

Posts: 1
Joined: 2014/09/24 06:23:18

Re: Enable cpupower.service

Post by DwayneI » 2014/09/24 06:38:31

EL7 enables tuned (https://access.redhat.com/documentation ... Tuned.html) by default and that service conflicts with cpupower. As far as I can tell cpupower gets completely ignored by systemd once tuned is enabled. So you can either disable tuned and use cuppower or forget about cpupower and stick with tuned.

Posts: 3
Joined: 2015/04/25 05:47:31

Re: Enable cpupower.service

Post by ILMostro » 2015/04/25 05:53:05

That's weird, unclear, and inconsistent with the package description, as it states
Currently only ethernet
: network and ATA harddisk devices are implemented
Perhaps a bug with `systemd`? There's no indication that CPU is part of the "components" being tuned with `tuned`.

Post Reply

Return to “CentOS 7 - General Support”