6 Creating a Custom TuneD Profile

Create a custom TuneD profile with optimization rules customized for a specific system.

TuneD stores predefined profiles in the /usr/lib/tuned directory. For custom profiles, TuneD provides the /etc/tuned directory. If two profiles share the same name, the profile under /etc/tuned takes precedence.

The following steps show one way of creating a custom TuneD profile:

  1. Copy a directory for a predefined profile, such as virtual-guest, to the directory location for custom profiles.
    sudo cp -R /lib/tuned/virtual-guest/ /etc/tuned
  2. Rename the directory that you copied. For example, to create a profile called mycustomprofile, run the following command:
    sudo mv /etc/tuned/virtual-guest /etc/tuned/mycustomprofile
  3. Customize the tune.conf file in the custom directory. For example, for the mycustomprofile directory, customize the/etc/tuned/mycustomprofile/tuned.conf file.

A new custom profile is created in the /etc/tuned directory and is ready to be activated.