Install and enable TuneD

As a system administrator, use TuneD to optimize the performance profile for a variety of use cases. You must install and enable TuneD to start using it.

Before you begin

  • You have administrative privileges.

About this task

After you install TuneD, the /usr/lib/tuned/profiles directory stores distribution-specific profiles. Each profile is stored in its own subdirectory. The profile includes the profile configuration file, named tuned.conf and optionally other files, such as helper scripts. Also, to customize a profile, copy the profile directory into /etc/tuned/profiles, which stores the files related to the custom profiles. In cases where profiles with the same name exist, the custom profile located in /etc/tuned/profiles takes precedence.

Procedure

  1. Install the TuneD package:
    # dnf install tuned
  2. Enable and start the TuneD service:
    # systemctl enable --now tuned
  3. Optional: Install TuneD profiles for real-time systems:

    For the TuneD profiles for real-time systems enable the rhel-10 repository.

    # subscription-manager repos --enable=rhel-10-for-x86_64-nfv-beta-rpms
    # dnf install tuned-profiles-realtime tuned-profiles-nfv

Results

  • Check the activation status of the profile:
    $ tuned-adm active
    Current active profile: throughput-performance
  • Check if the profile is active and applied:
    $ tuned-adm verify
    Verification succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details.