1
0
Fork 0
tuned/doc/manual/modules/performance/con_inheritance-between-tuned-profiles.adoc

38 lines
1.3 KiB
Text

:_module-type: CONCEPT
[id="inheritance-between-tuned-profiles_{context}"]
= Inheritance between TuneD profiles
[role="_abstract"]
*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/profiles/` directory based on a pre-installed profile in [filename]`/usr/lib/tuned/profiles/` 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
----
====
[role="_additional-resources"]
.Additional resources
* `tuned.conf(5)` man page