Resolves: rhbz#1246172 Allow specifying order in which individual plugin instances are to be executed. Each instance can be given the 'instance_priority' option in the profile configuration. The value must be an integer (it can be negative). If no priority is specified, it is inherited from the parent profile, or set to the default instance priority, if no parent profile specifies the priority for that instance. The default instance priority is by default zero, but it can be set to a different value using the 'default_instance_priority' option in the global configuration file. Creating plugin instances, assigning devices to instances, initializing instances, applying, updating and verifying tuning are all done in order from lowest numerical instance priority to highest. Unapplying tuning and destroying instances is done in reversed order. Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
# Global tuned configuration file.
|
|
|
|
# Whether to use daemon. Without daemon it just applies tuning. It is
|
|
# not recommended, because many functions don't work without daemon,
|
|
# e.g. there will be no D-Bus, no rollback of settings, no hotplug,
|
|
# no dynamic tuning, ...
|
|
daemon = 1
|
|
|
|
# Dynamicaly tune devices, if disabled only static tuning will be used.
|
|
dynamic_tuning = 1
|
|
|
|
# How long to sleep before checking for events (in seconds)
|
|
# higher number means lower overhead but longer response time.
|
|
sleep_interval = 1
|
|
|
|
# Update interval for dynamic tunings (in seconds).
|
|
# It must be multiply of the sleep_interval.
|
|
update_interval = 10
|
|
|
|
# Recommend functionality, if disabled "recommend" command will be not
|
|
# available in CLI, daemon will not parse recommend.conf but will return
|
|
# one hardcoded profile (by default "balanced").
|
|
recommend_command = 1
|
|
|
|
# Whether to reapply sysctl from the e.g /etc/sysctl.conf, /etc/sysctl.d, ...
|
|
# If enabled these sysctls will be re-appliead after Tuned sysctls are
|
|
# applied, i.e. Tuned sysctls will not override system sysctls.
|
|
reapply_sysctl = 1
|
|
|
|
# Default priority assigned to instances
|
|
default_instance_priority = 0
|