X13/thermal.md
2025-06-05 16:31:09 +03:00

132 lines
2.2 KiB
Markdown

## tlp
```sh
sudo dnf install tlp tlp-rdw
sudo systemctl enable tlp
sudo systemctl start tlp
```
```sh
sudo dnf install acpi_call kernel-modules-extra
```
```sh
sudo tlp-stat -s
```
# thermald
```sh
sudo dnf install thermald
sudo systemctl enable thermald
sudo systemctl start thermald
```
# powertop
```sh
sudo dnf install powertop
sudo powertop --auto-tune
sudo systemctl enable powertop
```
# BIOS
```sh
sudo fwupdmgr get-devices
sudo fwupdmgr refresh
sudo fwupdmgr get-updates
sudo fwupdmgr update
```
# Kernel Parameter Tuning (Last Resort)
For advanced thermal tuning, kernel parameters like `intel_pstate=passive` or `pcie_aspm=force`
# Info
```sh
sudo cpupower frequency-info
```
```
analyzing CPU 10:
driver: intel_pstate
CPUs which run at the same hardware frequency: 10
CPUs which need to have their frequency coordinated by software: 10
energy performance preference: default
hardware limits: 400 MHz - 3.80 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 400 MHz and 3.80 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: 3.40 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
```
```sh
grep MHz /proc/cpuinfo
```
```
cpu MHz : 4800.000
cpu MHz : 400.000
cpu MHz : 4744.609
cpu MHz : 4777.125
```
```sh
sudo sensors
```
```
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: +40.0°C
thinkpad-isa-0000
Adapter: ISA adapter
fan1: 5338 RPM
CPU: +64.0°C
GPU: N/A
temp3: +56.0°C
temp4: +0.0°C
temp5: +48.0°C
temp6: +51.0°C
temp7: +53.0°C
temp8: N/A
```
# Manual set freq
```sh
cpupower --cpu all frequency-info | grep "current CPU"
```
```
current CPU frequency: 1.30 GHz (asserted by call to kernel)
current CPU frequency: 400 MHz (asserted by call to kernel)
current CPU frequency: 1.40 GHz (asserted by call to kernel)
current CPU frequency: 400 MHz (asserted by call to kernel)
```
```sh
sudo cpupower --cpu all frequency-set --max 1.4GHz
```
```
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
Setting cpu: 4
```