The reapply_sysctl functionality was originally added to address rhbz#1302953, which was about Tuned overriding sysctl config files from /etc, which was deemed undesirable. The bug said nothing about sysctl config files from /usr/lib/sysctl.d, /lib/sysctl.d or /usr/local/lib/sysctl.d. Having sysctl configs from /usr override Tuned profiles causes problems (rhbz#1759597). Also, it seems reasonable for Tuned profiles to override sysctl configs from /usr - a Tuned profile is often explicitly chosen by the user, whereas sysctl configs from /usr are provided by system packages whether the user wants them or not. Also, in RHEL-6, tuned used to ignore sysctl config files from /usr, as far as I can tell. Resolves rhbz#1759597 Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
41 lines
1.3 KiB
Text
41 lines
1.3 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 /run/sysctl.d/, /etc/sysctl.d/ and
|
|
# /etc/sysctl.conf. If enabled, these sysctls will be re-appliead
|
|
# after Tuned sysctls are applied, i.e. Tuned sysctls will not
|
|
# override user-provided system sysctls.
|
|
reapply_sysctl = 1
|
|
|
|
# Default priority assigned to instances
|
|
default_instance_priority = 0
|
|
|
|
# Udev buffer size
|
|
udev_buffer_size = 1MB
|
|
|
|
# Log file count
|
|
log_file_count = 2
|
|
|
|
# Log file max size
|
|
log_file_max_size = 1MB
|