A tool that performs monitoring and adaptive configuration of the system according to selected profile.
Quick Start Guide
After installing the package you simply need to start the tuned service. If systemd is used you can use:
# systemctl start tuned.service
You can also automatically start it during system startup. If systemd is used, you can enable the automatic start the following way:
# systemctl enable tuned.service
There are various profiles optimized for powersave, performance and virtual hosts/guests. You can view all available profiles by:
# tuned-adm list
The default is balanced profile, if you want to switch to e.g. powersave profile use:
# tuned-adm profile powersave
This settings is persistent across reboots.
Profiles contains various sysctl/sysfs settings and optionally a script that is run on profile activation/deactivation. This is called static tuning. We try to keep the database of tunings up-to-date with the latest kernels. The profiles also contain settings for various tuned plugins that tune the system dynamically. Each plugin can connect to various sensors. Currently there are plugins for CPU, disk, ethernet and FSB. For example the ethernet plugin change the ethernet speed according to previous network load.
System profiles are located in /usr/lib/tuned. You can create your own profiles that can also include and override settings from system profiles. Your custom profiles can be put into /etc/tuned, they have higher priority in case of conflict. For details see man page of tuned.conf.
You can create your own profiles from PowerTOP suggestions. For example if you want to create profile my-profile that will implement all PowerTOP suggestions that are relevant on your system run:
# powertop2tuned my-profile
This command will create new profile in /etc/tuned/my-profile and will include settings from your previous profile. To be safe all tunings suggested by PowerTOP are initially disabled. You can selectively enable them by going through /etc/tuned/my-profile/script.sh and uncommenting the appropriate lines. You can switch to this new profile by:
# tuned-adm profile my-profile
Dynamic Tuning & Troubleshooting
Tuned supports dynamic tuning, which can dynamically tune your hardware / kernel settings according to current system utilization. The feature is meant as a helper for cases, where is no kernel auto-tuning supported / available (yet). It is experimental feature, still under development and currently very limited. It is by default enabled. If you don't like it you can globally disable it in /etc/tuned/tuned-main.conf by setting:
dynamic_tuning = 0
Or if the particular plugin is causing trouble to you, e.g. you don't like the network plugin changing the interface speed according to network utilization in the powersave profile, you can disable such plugin by customizing the profile. E.g. to disable the mentioned network plugin in the powersave profile you can do the following:
# mkdir /etc/tuned/custom-powersave && cat << :EOF > /etc/tuned/custom-powersave/tuned.conf [main] include=powersave [net] enabled=false :EOF
Than you can select / activate your custom profile by the following command:
# tuned-adm profile custom-powersave
Tuned documentation can be found in the Fedora Power Management: http://docs.fedoraproject.org/en-US/Fedora/20/html/Power_Management_Guide/tuned.html
Latest release (2016-08-02):
Noticeable changes since previous release (for full changes see git log):
- gui: fixed traceback caused by DBus paths copy&paste error (rhbz#1356369)
- tuned-adm: fixed traceback of 'tuned-adm list' if daemon is not running (rhbz#1358857)
- tuned-adm: fixed profile_info traceback (rhbz#1362481)
$ git clone https://github.com/redhat-performance/tuned.git
Browse the Git repository from your WWW browser
Please do not use Git repository from this Trac (e.g. via the link from the top bar). It's abandoned and kept there only as a archive for some limited time.
- #fedora-power AT freenode
- Jaroslav Škarvada <jskarvad AT redhat.com>