wiki:WikiStart
Last modified 9 days ago Last modified on 08/26/15 16:24:24

tuned

A tool that performs monitoring and adaptive configuration of the system according to selected profile.

Documentation

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.

PowerTOP Support

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

Full Documentation

Tuned documentation can be found in the Fedora Power Management Guide: http://docs.fedoraproject.org/en-US/Fedora/20/html/Power_Management_Guide/tuned.html

Downloads

Latest release (2015-08-04):

tuned-2.5.1 (SHA-1: 998b7d8420493053f2bb9d579ec5985bfae4ee85)

All releases

Changelog

Noticeable changes since previous release (for full changes see git log):

  • plugin_scheduler: work with nohz_full (rhbz#1247184)
  • fixed realtime-virtual-guest/host profiles packaged twice (rhbz#1249028)
  • fixed requirements of realtime and nfv profiles
  • fixed tuned-gui not starting
  • various other minor fixes

Changelog for all releases

GIT repository

$ git clone git://git.fedorahosted.org/git/tuned

Browse the GIT repository from your WWW browser

Here in the Trac Browser or on http://git.fedorahosted.org/cgit/tuned.git/

Contacts

Mailing list

IRC channel

  • #fedora-power AT freenode

Developers

  • Jaroslav Škarvada <jskarvad AT redhat.com>

Ideas

Trac