tuned-main.conf(5)
β¨ tuned-main.conf β the file format description β¨
okay bestie, so this is the manual for tuned-main.conf(5), and it's literally just the format description of the TuneD global config file. sit down, grab a strawberry drink π, and let's get into it.
π NAME π
tuned-main.conf β the TuneD global configuration file, aka the main character of your tuning setup π
πΈ SYNOPSIS πΈ
/etc/tuned/tuned-main.conf
that's it. one path. she's lowkey iconic for it.
π¦ DESCRIPTION π¦
this page is here to tell you the format of the TuneD global configuration file, and bestie, the format is ini-file. so yes, it's giving very key = value, very classic, very demure π
π the settings (yes, all of them)
daemon=BOOLβ this one decides whether TuneD uses the daemon or not. it's a boolean value, so it'sTrueor1when the daemon is enabled, andFalseor0when it's disabled. and listen, turning the daemon off is not recommended, fr fr, because so many functions just will not work without it. like: no D-Bus, no settings rollback, no hotplug support, no dynamic tuning, ... the list goes on πdynamic_tuning=BOOLβ this one says whether dynamic tuning is enabled. boolean again:Trueor1means dynamic tuning is on,Falseor0means it's off. if it's off, only the static tuning gets used. and heads up, even if you enable it here, you can still individually disable it inside plugins. also it's only applicable ifdaemonis enabled.sleep_interval=INTβ the TuneD daemon gets periodically woken up after INT seconds and checks for events. by default this is set to1second. if you have a Python 2 interpreter with the patch from Red Hat Bugzilla #917709 applied, this controls the responsiveness time of TuneD to commands (so like, if you request a profile switch, it may take up to1second before TuneD reacts). increase this number for higher responsiveness times and more power savings (because of the lower number of wakeups). but if you have an unpatched Python 2 interpreter, this setting will have no visible effect, because the interpreter will poll20times per second. only applicable ifdaemonis enabled.update_interval=INTβ the update interval for dynamic tuning, in seconds. the TuneD daemon is periodically woken up after INT seconds, it updates its monitors, calculates new tuning parameters for enabled plugins and applies the changes. plugins that have dynamic tuning disabled are not processed. by default INT is set to10seconds. the TuneD daemon does not periodically wake if dynamic tuning is globally disabled (peepdynamic_tuning) or if this setting is set to0. this must be a multiple ofsleep_interval. only applicable ifdaemonis enabled.recommend_command=BOOLβ this controls whether the recommend functionality is enabled or not. boolean value:Trueor1means the recommend command is enabled,Falseor0means disabled. if it's disabled, the recommend command will not be available in the CLI, TuneD will not parserecommend.confand will return one hardcoded profile (by defaultbalanced). only applicable ifdaemonis enabled. by default it's set toTrue.reapply_sysctl=BOOLβ this controls whether to reapply sysctl settings from/run/sysctl.d/*.conf,/etc/sysctl.d/*.confand/etc/sysctl.confafter the TuneD sysctl settings are applied. those are the locations supported bysysctl --system, excluding the ones that contain sysctl configuration files provided by system packages. so ifreapply_sysctlis set toTrueor1, the TuneD sysctl settings will not override user-provided system sysctl settings. if it's set toFalseor0, the TuneD sysctl settings will override the system sysctl settings. by default it's set toTrue.reapply_sysctl_exclude=LISTβ a comma or semicolon separated list of sysctl parameter patterns to exclude from reapplication whenreapply_sysctlis enabled. this is useful for protecting runtime sysctl changes made by Kubernetes CNI plugins or other services that set sysctls dynamically. it supports shell-style wildcards (*,?,[seq]). by default the list is empty.
Example:
reapply_sysctl_exclude = net.ipv4.ip_forward, net.ipv6.conf.*.forwarding
default_instance_priority=INTβ the default instance (unit) priority. by default it's0. each unit has a priority which is by default preset to the INT. it can be overridden in the TuneD profile by thepriorityoption. TuneD units are processed in the order defined by their priorities, meaning the unit with the lowest number is processed first. π₯
π₯ EXAMPLE π₯
here's a whole vibe, copy-paste ready:
no_daemon = 0
dynamic_tuning = 1
sleep_interval = 1
update_interval = 10
recommend_command = 0
reapply_sysctl = 1
reapply_sysctl_exclude = net.ipv4.ip_forward, net.bridge.bridge-nf-call-iptables
default_instance_priority = 0
π FILES π
/etc/tuned/tuned-main.conf
she's the moment. she's the file. π
π SEE ALSO π
go read that one next bestie, it's the sister page π«Ά
π AUTHOR π
written by Jaroslav Ε karvada <jskarvad@redhat.com>. absolute legend, no cap.
π REPORTING BUGS π
found a bug? don't suffer in silence, report it to https://bugzilla.redhat.com/. they wanna hear it fr fr π
okay that's the whole page, you ate that. now go tune something responsibly π β¨
signing off β this was Jaroslav Ε karvada, 15 Oct 2013, and that's the tuned-main.conf(5) energy, periodt. πΈπ¦π
π¦ where this page comes from
- alpine 3.24: tuned-doc 2.27.0-r1 Β· GPL-2.0-only
- arch rolling: tuned 2.28.0-1 Β· GPL-2.0-or-later
- centos-stream 10: tuned 2.28.0-1.el10 Β· GPL-2.0-or-later AND CC-BY-SA-3.0
- centos-stream 9: tuned 2.28.0-1.el9 Β· GPLv2+
- fedora 43: tuned 2.27.0-1.fc43 Β· GPL-2.0-or-later AND CC-BY-SA-3.0
- fedora 44: tuned 2.27.0-1.fc44 Β· GPL-2.0-or-later AND CC-BY-SA-3.0
- fedora 44: tuned 2.28.0-1.fc44 Β· GPL-2.0-or-later AND CC-BY-SA-3.0
- nixpkgs unstable: tuned 2.28.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms