meta data for this page
  •  

This is an old revision of the document!


CPUPOWER Settings

In order to get the best performance from your processor for audio work, you need to set the CPU mode to 'performance'

To Set Temporarily

To temporarily change this setting which resets upon reboot, run this command in your console:

sudo /usr/bin/cpupower frequency-set -g performance

This will set your CPU to it's maximum rated speed. This will draw more power, and if you are using a laptop, it will drain the battery quicker.

To Set Permanently

If you wish to make this change permanent, you need to create a special text file.

Using your console text editor of choice create the following file (for this example, I will use nano which is pre-installed with openSUSE).

sudo nano /etc/systemd/system/cpupower.service

Copy and paste the following text into the newly created file:


[Unit]

Description=CPU powersave

[Service] Type=oneshot ExecStart=/usr/bin/cpupower frequency-set -g performance

[Install]

WantedBy=multi-user.target


Then save and close the file (in nano it's ctrl + o then enter to save. To exit press ctrl + x

Then run the following command:

sudo systemctl daemon-reload

Followed by:

systemctl enable cpupower.service