meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:wiki:cpupower [2021/05/01 13:59]
Daniel Sammut Fixed code formatting
en:wiki:cpupower [2021/06/14 12:50] (current)
Daniel Sammut
Line 2: Line 2:
  
  
-In order to get the best performance from your processor for audio work, you need to set the CPU mode to 'performance' +In order to get the best performance from your processor for audio work, you need to set the CPU governor to 'performance' 
  
 ===== To Set Temporarily ===== ===== To Set Temporarily =====
Line 15: Line 15:
 ===== To Set Permanently ===== ===== To Set Permanently =====
  
-If you wish to make this change permanentyou need to create a special text file.+In OpenSuSEthe quickest way to set the CPU Governor is through YaST.Follow these steps:
  
-Using your console text editor of choice create the following file (for this example, I will use nano which is pre-installed with openSUSE).+  - Open System Settings. 
 +  - Under 'System Administration' click on 'YaST'
 +  - Type in the administrator password to open YaST. 
 +  - Under 'System' click on 'Boot Loader.' 
 +  - Click on 'Kernel Parameters.' 
 +  - In the text box that is labelled 'Optional Kernel Command Line Parameter' copy and paste the following text AFTER any existing text that may be there. DON'T replace any text that is already in the text box. ''cpufreq.default_governor=performance'' 
 +  Click 'OK' 
 +  - Close YaST. 
 +  - Reboot your computer to ensure that the CPU governor is working as expected (use the RealtimeConfigQuickScan application to check).
  
-''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''