1
0
Fork 0
tuned/doc/manual/modules/performance/con_inheritance-between-tuned-profiles.adoc
Jaroslav Škarvada 16d4acbaca
Project renamed to TuneD
The 'D' is now capital to clarify pronunciation.

DBus service name is kept as '/Tuned' not to break
backward compatibility.

This will also need update of downstream tests
which rely on the specific output strings containing
the name.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-05-17 22:09:02 +02:00

38 lines
1.3 KiB
Text

[id="inheritance-between-tuned-profiles_{context}"]
= Inheritance between TuneD profiles
*TuneD* profiles can be based on other profiles and modify only certain aspects of their parent profile.
The `[main]` section of *TuneD* profiles recognizes the [option]`include` option:
[subs=+quotes]
----
[main]
include=[replaceable]_parent_
----
All settings from the [replaceable]_parent_ profile are loaded in this _child_ profile. In the following sections, the _child_ profile can override certain settings inherited from the [replaceable]_parent_ profile or add new settings not present in the [replaceable]_parent_ profile.
You can create your own _child_ profile in the [filename]`/etc/tuned/` directory based on a pre-installed profile in [filename]`/usr/lib/tuned/` with only some parameters adjusted.
If the [replaceable]_parent_ profile is updated, such as after a *TuneD* upgrade, the changes are reflected in the _child_ profile.
.A power-saving profile based on balanced
====
The following is an example of a custom profile that extends the `balanced` profile and sets Aggressive Link Power Management (ALPM) for all devices to the maximum powersaving.
----
[main]
include=balanced
[scsi_host]
alpm=min_power
----
====
.Additional resources
* The `tuned.conf(5)` man page