You are not logged in.

#1 2013-04-08 10:05:09

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 606

[Solved] CPU governor fails to load on boot

Hello community,

I have a strange problem with cpupower. It loads fine:

$ systemctl status cpupower
cpupower.service - Apply cpupower configuration
	  Loaded: loaded (/usr/lib/systemd/system/cpupower.service; enabled)
	  Active: active (exited) since Mo 2013-04-08 11:01:51 CEST; 59min ago
	 Process: 332 ExecStart=/usr/lib/systemd/scripts/cpupower (code=exited, status=0/SUCCESS)

and the powersave governor seems to be properly configured:

$ cat /etc/conf.d/cpupower | grep powersave
# valid governors: ondemand, performance, powersave, conservative, userspace.
governor='powersave'

Setting the powersave governor manually with

cpupower frequency-set -g powersave

works fine, but on boot the ondemand governor is loaded:

$ LANG=C cpupower frequency-info
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 1.83 GHz
  available frequency steps: 1.83 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 1000 MHz and 1.83 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1000 MHz.
  boost state support:
    Supported: no
    Active: no

Thanks for any hints on how to make the correct governor load on boot properly,
PhotonX

Last edited by PhotonX (2013-05-09 17:49:41)


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

#2 2013-05-06 10:46:06

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 606

Re: [Solved] CPU governor fails to load on boot

Sorry to bump, but the problem is still unsolved, any help is appreciated. smile


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

#3 2013-05-06 11:00:22

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [Solved] CPU governor fails to load on boot

/etc/default/cpupower is the configuration file, not /etc/conf.d/cpupower (changed a few months ago because initscripts were dropped, there should have been a message after upgrading).

Offline

#4 2013-05-06 14:38:30

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [Solved] CPU governor fails to load on boot

Why do you even want to use powersave? Contrary to the name, it doesn't actually save power. Using anything other than the default ondemand governor is usually non-sense:

http://www.codon.org.uk/~mjg59/power/go … tices.html
http://mjg59.livejournal.com/88608.html

Offline

#5 2013-05-06 14:43:13

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] CPU governor fails to load on boot

65kid wrote:

Why do you even want to use powersave? Contrary to the name, it doesn't actually save power. Using anything other than the default ondemand governor is usually non-sense:

http://www.codon.org.uk/~mjg59/power/go … tices.html
http://mjg59.livejournal.com/88608.html

This.

Unless you have a damn good reason to want to throttle your CPU to the minimum, this is actually a really bad idea.  The only legit reason I can think of mght be thermal.  That is, your CPU cannot function because you live in an area that is just so damn hot that it shuts down.  So the only way to get it to actually run is throttling it down... even then, I think the real solution would be better cooling for your system.

Stick with ondemand.  There are reasons why this is the default.

Offline

#6 2013-05-06 14:50:28

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 606

Re: [Solved] CPU governor fails to load on boot

Raynman: Big thanks, I didn't notice that the configuration file has shifted, after setting the governor in the correct configuration file, everything works fine.

65kid, WonderWoofy: The reason is exactly thermal. I've a notebook with a defective fan which is pretty loud if it gets on. So I configured the fan to be off up to a given temperature (67°C to be precise). With ondemand this leads to the fan being almost always on, with powersafe almost always off. smile


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

Board footer

Powered by FluxBB