Auto-cpufreq: Difference between revisions

From wikinotes
(Created page with "Compatible alongside tlp, manages cpu scaling settings min/max and governor. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/AdnanHo...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Compatible alongside [[tlp]], manages cpu scaling settings min/max and governor.
Manages cpu scaling settings min/max and governor.<br>
Intended as a replacement for [[tlp]], but can work alongside it.
 
Unlike [[cpupower]], this will dynamically change between cpu scaling governors.
 
{| class="wikitable"
|-
!colspan=1| Compatible Alongside
|-
| [[tlp]]
|-
!colspan=1| Incompatible Alongside
|-
| [[cpupower]]
|-
|}


= Documentation =
= Documentation =
Line 9: Line 24:
|}
|}
</blockquote><!-- Documentation -->
</blockquote><!-- Documentation -->
= Locations =
<blockquote>
{| class="wikitable"
|-
| <code>/etc/auto-cpufreq.conf</code> || config
|-
|}
</blockquote><!-- Locations -->
= Install =
<blockquote>
<syntaxhighlight lang="bash">
sudo aura -A auto-cpufreq
</syntaxhighlight>
<syntaxhighlight lang="bash">
sudo systemctl enable --now auto-cpufreq
</syntaxhighlight>
</blockquote><!-- Install -->
= Usage =
<blockquote>
<syntaxhighlight lang="bash">
sudo auto-cpufreq --live  # activates temporarily, lost on reboot
sudo auto-cpufreq --stats # live stats from daemon
</syntaxhighlight>
</blockquote><!-- Usage -->
= Configuration =
<blockquote>
Configuration is optional
</blockquote><!-- Configuration -->
= Troubleshooting =
<blockquote>
== High CPU temps ==
<blockquote>
If you're on intel, try setting <code>intel_pstate=disable</code> in your kernel params (bootloader entries) to disable on-cpu cpu-scaling.
</blockquote><!-- High CPU temps -->
</blockquote><!-- Troubleshooting -->

Latest revision as of 01:26, 8 March 2022

Manages cpu scaling settings min/max and governor.
Intended as a replacement for tlp, but can work alongside it.

Unlike cpupower, this will dynamically change between cpu scaling governors.

Compatible Alongside
tlp
Incompatible Alongside
cpupower

Documentation

github https://github.com/AdnanHodzic/auto-cpufreq

Locations

/etc/auto-cpufreq.conf config

Install

sudo aura -A auto-cpufreq
sudo systemctl enable --now auto-cpufreq

Usage

sudo auto-cpufreq --live  # activates temporarily, lost on reboot
sudo auto-cpufreq --stats # live stats from daemon

Configuration

Configuration is optional

Troubleshooting

High CPU temps

If you're on intel, try setting intel_pstate=disable in your kernel params (bootloader entries) to disable on-cpu cpu-scaling.