User Tools

Site Tools


linux:notes:x86_energy_perf_policy

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:notes:x86_energy_perf_policy [2025/04/14 14:58] – Debian 12 Sean Rhonelinux:notes:x86_energy_perf_policy [2025/12/06 00:20] (current) – Fedora, oS TW, Ubuntu AIO Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * ''x86_energy_perf_policy''+  * ''x86_energy_perf_policy'' as udev rule 
 +  * Alternative to ''tuned'', ''tlp'', etc
  
-===== Check =====+  sudo x86_energy_perf_policy --all 'performance' --turbo-enable '1' --force
  
-  watch --interval '0.5' grep \'cpu MHz\' '/proc/cpuinfo'+===== Prerequisites =====
  
-  sudo x86_energy_perf_policy+==== openSUSE Tumbleweed ====
  
-===== Max Perf =====+  * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]]
  
-****+  sudo zypper remove --clean-deps 'tuned'
  
-  sudo x86_energy_perf_policy --all 'performance--turbo-enable '1' --force+  sudo zypper addlock 'tuned'
  
-====== Scripts ======+  sudo zypper install 'cpupower'
  
-  * [[linux;distros;debian_12_xfce|Debian 12 (Xfce)]]+==== Fedora ====
  
-  sudo apt install 'linux-cpupower'+  * [[linux:distros:fedora_workstation_gnome|Fedora Workstation (GNOME)]] 
 + 
 +  sudo dnf remove 'tuned' 
 + 
 +  sudo dnf install 'kernel-tools' 
 + 
 +==== Ubuntu ==== 
 + 
 +  * [[linux;distros;ubuntu|Ubuntu]] 
 + 
 +  sudo apt remove 'power-profiles-daemon' 
 + 
 +====== Scripts ======
  
 ===== AC ===== ===== AC =====
Line 28: Line 41:
 #!/bin/bash #!/bin/bash
  
-# AC +'/usr/bin/x86_energy_perf_policy--all 'performance' --turbo-enable '1' --force
-x86_energy_perf_policy --all 'performance' --turbo-enable '1' --force+
  
 # End</code> # End</code>
Line 40: Line 52:
 #!/bin/bash #!/bin/bash
  
-# Battery +'/usr/bin/x86_energy_perf_policy--all 'balance-power' --turbo-enable '0' --force
-x86_energy_perf_policy --all 'balance-power' --turbo-enable '0' --force+
  
 # End</code> # End</code>
Line 57: Line 68:
  
 # End</code> # End</code>
 +
 +===== SELinux =====
 +
 +  * [[linux;distros;fedora_workstation_gnome|Fedora Workstation (GNOME)]]
 +
 +  sudo restorecon -F -I -R '/etc/udev/scripts.d' '/etc/udev/rules.d'
  
 ===== Check ===== ===== Check =====
/srv/www/wiki/data/attic/linux/notes/x86_energy_perf_policy.1744657130.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki