Creating a custom tuned profile
Once we've commented on the different tuned profiles... How do they work? How to create one?
Let's examine, for example, latency-performance
in the next lines of code, by checking the /usr/lib/tuned/latency-performance/tuned.conf
file.
In general, the syntax of the file is described in the man tuned.conf
page, but the file, as you will be able to examine, is an initialization (ini)-file—that is, a file organized in categories, expressed between brackets and pairs of keys and values assigned by the equals (=
) sign.
The main section defines a summary of the profile if it inherits from another profile via include
, and the additional sections depend on the plugins installed.
To learn about the available plugins, the documentation included in the man page (man tuned.conf
) instructs us to execute rpm -ql tuned | grep 'plugins/plugin_.*.py$'
, which provides an output similar to this: