wiki:WikiStart
Last modified 7 weeks ago Last modified on 03/06/14 12:49:51

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

Up-to-date 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 (2013-11-06):

tuned-2.3.0 (SHA-1: c441b2cf23c81fe461dac286f8cb76d1f5239742)

Older releases

Changelog (noticable changes since previous release)

  • audio plugin: fixed audio settings in standard profiles (rhbz#1019805)
  • video plugin: fixed tunings
  • daemon: fixed crash if preset profile is not available (rhbz#953128)
  • man: various updates and corrections
  • functions: fixed usb and bluetooth handling
  • tuned: switched to lightweighted pygobject3-base
  • daemon: added global config for dynamic_tuning (rhbz#1006427)
  • utils: added pmqos-static script for debug purposes (rhbz#1015676)
  • throughput-performance: various fixes (rhbz#987570)
  • tuned: added global option update_interval
  • plugin_cpu: added support for x86_energy_perf_policy (rhbz#1015675)
  • dbus: fixed KeyboardInterrupt handling
  • plugin_cpu: added support for intel_pstate driver (rhbz#996722)
  • profiles: various fixes (rhbz#922068)
  • profiles: added desktop profile (rhbz#996723)
  • tuned-adm: implemented non DBus fallback control
  • profiles: added sap profile
  • tuned: lowered CPU usage due to python bug (rhbz#917587)

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>
  • Jan Včelák <jvcelak AT fedoraproject.org>

Ideas

Trac