Skip to main content
In this article, you will learn how to manage tuning profiles using TuneD—a powerful service that monitors system performance and optimizes settings for various workloads. TuneD leverages profiles to adjust system behavior, making it easier to fine-tune environments for high throughput, low latency, or power-saving needs. TuneD profiles cater to two main use cases:
  • Power-saving profiles: These adjust system settings to reduce energy consumption, for example by disabling inactive devices or enabling low-power hardware modes.
  • Performance-boosting profiles: These are designed to enhance system performance by reducing storage and network latency or by increasing throughput in environments such as virtualization.
The image shows a menu from "TuneD" with options for "Power saving profiles" and "Performance-boosting profiles," each accompanied by an icon.
The image shows a selection screen for "TuneD" with three options: "Throughput-performance," "Virtual-guest," and "Balanced," each accompanied by an icon.
By default, TuneD automatically selects a profile based on the system environment. For example:
  • On a high-throughput server, TuneD will choose the throughput performance profile.
  • On a virtual machine, the virtual guest profile is selected.
  • In all other scenarios, the balanced profile is used to maintain an equilibrium between performance and power consumption.
!!! note “Installing TuneD” If TuneD is not installed, use the following commands to install, enable, and verify its status:
The output confirms that TuneD is active and displays the currently active profile along with the system settings.

TuneD Profile Locations

TuneD profiles are stored in two key locations:
  • /usr/lib/tuned: Contains distribution-specific profiles, with each profile in its own subdirectory and its associated tuned.conf configuration file.
  • /etc/tuned: Holds the main configuration file (tuned-main.conf) and any custom profiles. Profiles in this directory override those in /usr/lib/tuned if they share the same name.
To list the distribution-provided profiles, run:
Sample output:
Similarly, check the custom profiles and main configuration file with:
Expected output:
For more details on TuneD configuration options, refer to the TuneD manual page:

Managing TuneD Profiles with tuned-adm

The TuneD ADM command-line tool simplifies the administration of TuneD. It enables you to list available profiles, view the active profile, switch between profiles, and get profile recommendations.

Listing Profiles and Checking the Active Profile

To list available profiles and see which one is active, use:
Example output:
To view just the active profile, run:
Expected output:

Switching Profiles

To change the active profile, specify the new profile name. For example, to switch to the balanced profile:
You can also display detailed information about a profile. Running the following command without specifying a profile shows details for the current profile:
Example output:

Profile Recommendation and Verification

Get a profile recommendation based on your current environment:
If the system suggests virtual-guest, then that is the recommended profile. Verify that the system settings align with the active TuneD profile:
Example output:
To enable continuous monitoring and automatic profile selection, run:
For additional options or command usage, access the help menu:

Example: Switching Profiles on a Virtual Machine

In a virtual machine scenario, the active profile is usually virtual-guest. However, if you need to test a high-throughput server profile, you can list available profiles and switch accordingly:
Output:
List profiles:
Switch to the throughput-performance profile:
Expected active profile:

Merging Profiles

TuneD supports merging profiles. For instance, if you need a configuration that combines the settings of both virtual-host and powersave profiles (ideal for hosting virtual machines while conserving power), you can merge them. Note that if a conflict arises, TuneD applies the option from the last specified profile. !!! warning “Caution” When merging profiles, ensure that settings do not conflict. For example, avoid merging performance-optimized disk settings with power-saving parameters.

Dynamic Tuning

Static tuning applies the chosen profile settings as-is. For dynamic system tuning—where TuneD adjusts settings on the fly based on system demands—you must enable dynamic tuning via the main configuration file at /etc/tuned/tuned-main.conf. By default, dynamic tuning is disabled. Verify the current state:
Expected output:
To enable dynamic tuning, edit the configuration file (using your preferred text editor, such as Vim) and change the value from 0 to 1:
Replace:
With:
After saving the changes, restart the TuneD service:
Expected output:
With dynamic tuning enabled, TuneD will continually monitor your system and adjust settings automatically to achieve optimal performance.
For further details, refer to the official TuneD documentation and related resources: This guide should help you effectively manage and optimize TuneD profiles to suit your system’s unique requirements.

Watch Video

Practice Lab