1) TuneD
Fedora made the software called "tuned" as its default power management tool. It can be checked if it is running by typing this command.
sudo systemctl status tuned-ppd
The "ppd" means the tuned is compatible to power-profile-daemon which is replaced.
Tuned has some useful profiles which cannot be accessed via graphical tool in Gnome or KDE Plasma. By typing the command below, the available profiles can be identified.
tuned-adm list
My result is below.
Available profiles:
- accelerator-performance - Throughput performance based tuning with disabled higher latency STOP states
- aws - Optimize for aws ec2 instances
- balanced - General non-specialized tuned profile
- balanced-battery - Balanced profile biased towards power savings changes for battery
- desktop - Optimize for the desktop use-case
- hpc-compute - Optimize for HPC compute workloads
- intel-sst - Configure for Intel Speed Select Base Frequency
- latency-performance - Optimize for deterministic performance at the cost of increased power consumption
- network-latency - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks
- optimize-serial-console - Optimize for serial console use.
- powersave - Optimize for low power consumption
- throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest - Optimize for running inside a virtual guest
- virtual-host - Optimize for running KVM guests
Current active profile: throughput-performance
The profile can be changed with this command.
# To desktop profile
sudo tuned-adm profile desktop
Those profiles can be made accessible via Gnome or KDE Plasma's power management setting. However, only three profiles can be selected.
Edit /etc/tuned/ppd.conf
[main]
# The default PPD profile
default=balanced
battery_detection=true
sysfs_acpi_monitor=true
[profiles]
# PPD = TuneD
power-saver=powersave
balanced=balanced
performance=throughput-performance
[battery]
# PPD = TuneD
balanced=balanced-battery
Change the [profiles] section.
More on this, refer to https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/monitoring_and_managing_system_status_and_performance/getting-started-with-tuned_monitoring-and-managing-system-status-and-performance
Chapter 2. Getting started with TuneD | Monitoring and managing system status and performance | Red Hat Enterprise Linux | 9 |
The following example optimizes the system to run in a virtual machine with the best performance and concurrently tunes it for low power consumption, while the low power consumption is the priority: tuned-adm profile virtual-guest powersave # tuned-adm pro
docs.redhat.com
Currently I'm testing the dynamic TuneD
2) Powertop
sudo powertop
Applying powertop profile to tuned: https://discussion.fedoraproject.org/t/psa-powertop-tuned-better-power-profiles/167861
To see powertop results in html,
sudo powertop -r powertop.html