1tuned.conf(5)         tuned.conf file format description         tuned.conf(5)
2
3
4

NAME

6       tuned.conf - Tuned profile definition
7

DESCRIPTION

9       This  man  page documents format of Tuned 2.0 profile definition files.
10       The    profile    definition    is    stored    in     /etc/tuned/<pro‐
11       file_name>/tuned.conf  or  in  /usr/lib/tuned/<profile_name>/tuned.conf
12       file where the /etc/tuned/ directory has higher priority.
13
14       The tuned.conf configures the profile and it is in ini-file format.
15
16

MAIN SECTION

18       The main section is called "[main]" and can contain following options:
19
20
21       include=
22              Includes a profile with the given name. This allows you to  base
23              a  new profile on an already existing profile. In case there are
24              conflicting parameters in the new profile and the base  profile,
25              the parameters from the new profile are used.
26
27

PLUGINS

29       Every other section defines one plugin. The name of the section is used
30       as name for the plugin and is used in  logs  to  identify  the  plugin.
31       There  can  be  only  one  plugin  of particular type tuning particular
32       device. Conflicts are by default fixed by merging the options  of  both
33       plugins together. This can be changed by "replace" option.
34
35       Every plugin section can contain following sections:
36
37
38       type=  Plugin  type.  Currently  there  are following upstream plugins:
39              audio, bootloader, cpu, disk, eeepc_she, modules,  mounts,  net,
40              script,  scsi_host,  selinux, scheduler, sysctl, sysfs, systemd,
41              usb, video, vm. This list may be incomplete.  If  you  installed
42              tuned through RPM you can list upstream plugins by the following
43              command: rpm -ql tuned | grep 'plugins/plugin_.*.py$' Check  the
44              plugins  directory  returned  by this command to see all plugins
45              (e.g. plugins provided by 3rd party packages).
46
47
48       devices=
49              Comma separated list of devices which should be  tuned  by  this
50              plugin  instance.   If  you  omit this option, all found devices
51              will be tuned.
52
53       replace=1
54              If there is conflict between two plugins (meaning two plugins of
55              the  same  type  are trying to configure the same devices), then
56              the plugin defined as last replaces all options defined  by  the
57              previously defined plugin.
58
59       Plugins can also have plugin related options.
60
61

EXAMPLE

63       [main]
64       # Includes plugins defined in "included" profile.
65       include=included
66
67       # Define my_sysctl plugin
68       [my_sysctl]
69       type=sysctl
70       # This plugin will replace any sysctl plugin defined in "included" profile
71       replace=1
72       # 256 KB default performs well experimentally.
73       net.core.rmem_default = 262144
74       net.core.wmem_default = 262144
75
76       # Define my_script plugin
77       # Both scripts (profile.sh from this profile and script from "included"
78       # profile) will be run, because if there is no "replace=1" option the
79       # default action is merge.
80       [my_script]
81       type=script
82       script=profile.sh
83
84

SEE ALSO

86       tuned(8)
87

AUTHOR

89       Written by Jan Kaluža <jkaluza@redhat.com>.
90

REPORTING BUGS

92       Report bugs to https://bugzilla.redhat.com/.
93
94
95
96Jan Kaluža                        13 Mar 2012                    tuned.conf(5)
Impressum