Optimize power consumption

You can use either the powertop service or the powertop2tuned utility to optimize power consumption.

The powertop2tuned utility

Use the powertop2tuned utility to create custom TuneD profiles from PowerTOP suggestions. By default, powertop2tuned creates profiles in the /etc/tuned/profiles/ directory, and bases the custom profile on the currently selected TuneD profile.

For safety reasons, all PowerTOP tunings are initially disabled in the new profile. You can enable the tunings by uncommenting them in the /etc/tuned/profiles/profile_name/tuned.conf file.

Use the --enable or -e option to generate a new profile that enables most of the tunings suggested by PowerTOP. Certain potentially problematic tunings, such as the USB autosuspend, are disabled by default and need to be uncommented manually.

Optimize power consumption using the powertop2tuned utility

You can use the powertop2tuned utility to generate a custom TuneD profile that helps optimize your system’s power consumption.

Before you begin

  • The powertop2tuned utility is installed on the system.
    # dnf install tuned-utils

Procedure

  1. Create a custom profile:
    # powertop2tuned <new_profile_name>
  2. Activate the new profile:
    # tuned-adm profile <new_profile_name>

Comparison of powertop2tuned and powertop.service usage

You can prefer optimizing power consumption with powertop2tuned over powertop.service for the following reasons:

  • The powertop2tuned utility represents integration of PowerTOP into TuneD, which enables the benefit of both tools.
  • The powertop2tuned utility provides fine-grained control of enabled tuning.
  • With powertop2tuned, potentially dangerous tuning is not automatically enabled.
  • With powertop2tuned, rollback is possible without reboot.