DuckerMan wrote:Hi there! I can change CPU governor with cpupower-gui. But how do I change it permanently?
You need a program called CoreCtrl. That will change your governor at boot time. Though, instead of performance I would suggest ondemand.
So, why do you suggest to use ondemand?
]]>Hi there! I can change CPU governor with cpupower-gui. But how do I change it permanently?
You need a program called CoreCtrl. That will change your governor at boot time. Though, instead of performance I would suggest ondemand.
]]>There seems to be a typo in your config file. You wrote:
governor='perfomance'
So you are missing an 'r' in performance. Maybe that's the cause of your problems?
Huh, it was so silly mistake, thank you
]]>governor='perfomance'
So you are missing an 'r' in performance. Maybe that's the cause of your problems?
]]>cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
will show you which governors you can use on your system, which depend on which kernel modules are in use and doesn't always match the larger possible list of governors that are shown in /etc/default/cpupower
]]>I don't know how to run command.
systemctl cat some.service
will show you an Exec= line. There's the command you want to test manually.
]]>Post the config file. Did you try running the command normally on your terminal and it does work?
I don't know how to run command.
]]>Did you enable the service in systemd? Did you set the governor...powersave, performance, whatever?
When I'm tryinn to enable cpupower.service, I get error:
● cpupower.service - Apply cpupower configuration
Loaded: loaded (/usr/lib/systemd/system/cpupower.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-06-18 11:19:27 MSK; 26min ago
Main PID: 8678 (code=exited, status=1/FAILURE)
июн 18 11:19:25 duck systemd[1]: Starting Apply cpupower configuration...
июн 18 11:19:27 duck systemd[1]: cpupower.service: Main process exited, code=exited, status=1/FAILURE
июн 18 11:19:27 duck systemd[1]: cpupower.service: Failed with result 'exit-code'.
июн 18 11:19:27 duck systemd[1]: Failed to start Apply cpupower configuration.
And yes, I've set perfomance governor.
]]>And the output of the commands you are told to look at? And did you actually read the sentence? Did you adjust the config file? It won't do anything if you don't specify your wanted configuration.
Yep, I've changed governor in config file.
● cpupower.service - Apply cpupower configuration
Loaded: loaded (/usr/lib/systemd/system/cpupower.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-06-18 11:19:27 MSK; 26min ago
Main PID: 8678 (code=exited, status=1/FAILURE)
июн 18 11:19:25 duck systemd[1]: Starting Apply cpupower configuration...
июн 18 11:19:27 duck systemd[1]: cpupower.service: Main process exited, code=exited, status=1/FAILURE
июн 18 11:19:27 duck systemd[1]: cpupower.service: Failed with result 'exit-code'.
июн 18 11:19:27 duck systemd[1]: Failed to start Apply cpupower configuration.
https://wiki.archlinux.org/index.php/CP … g#cpupower read the second sentence...
[duckerman@duck ~]$ sudo systemctl start cpupower.service
Job for cpupower.service failed because the control process exited with error code.
See "systemctl status cpupower.service" and "journalctl -xe" for details.