1
0
Fork 0
Tuning Profile Delivery Mechanism for Linux
Find a file
Jaroslav Škarvada 0a85d3c85b
new release (2.24.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-08-07 22:09:40 +02:00
.fmf Fix packit / TMT tests. 2019-11-19 18:32:09 -02:00
.github/workflows Add CodeQL workflow for GitHub code scanning 2022-11-09 07:41:20 +00:00
contrib Fixed sysvinit path 2022-10-20 15:17:43 +02:00
doc Migrate profiles to /etc/tuned/profiles/ and /usr/lib/tuned/profiles/ 2024-04-03 11:01:10 +02:00
experiments explicitly use /bin/bash for tuned scripts 2023-02-19 15:23:12 +01:00
icons Added tuned icon and desktop file for GUI 2016-03-22 17:11:42 +01:00
libexec Mark defirqaffinity.py deprecated via stderr/log message 2019-11-28 10:53:36 +01:00
man man: add description of the balanced-battery profile 2024-07-27 12:08:16 +02:00
profiles Merge pull request #647 from superm1/cpb-boost 2024-07-24 19:26:38 +02:00
systemtap Use python3 interpreter by default 2019-11-18 11:21:33 +01:00
tests tests: Restore TuneD service after the error messages test 2024-06-25 09:10:30 +02:00
tuned Clear plugin repository when stopping tuning 2024-08-02 11:40:46 +02:00
.gitignore Added user-facing documentation: initial commit 2019-01-04 18:08:28 +01:00
.packit.yaml packit: s/synced_files/files_to_sync/ 2022-08-15 10:10:38 +02:00
00_tuned bootloader: add support for initrd overlays 2017-03-01 15:56:17 +01:00
92-tuned.install bootloader: on s390(x) remove TuneD variables from the BLS 2022-02-01 22:30:14 +01:00
AUTHORS Added tuned icon and desktop file for GUI 2016-03-22 17:11:42 +01:00
bootcmdline Project renamed to TuneD 2021-05-17 22:09:02 +02:00
ci.fmf ci: beakerlib tests fixes 2021-05-20 14:54:45 +02:00
com.redhat.tuned.policy dbus: add commands to dynamically create/destroy instances 2024-03-15 12:13:43 +01:00
CONTRIBUTING.md Project renamed to TuneD 2021-05-17 22:09:02 +02:00
COPYING update GPLv2 license text (new FSF address) 2012-03-12 17:53:24 +01:00
dbus.conf Implemented polkit authorization 2016-06-10 11:57:33 +02:00
DCO Add contribution guidelines 2019-01-31 11:19:16 +01:00
functions chore: remove dead irqbalance functions 2024-07-25 07:02:02 +02:00
INSTALL Replaced python-dmidecode with reading sysfs dmi and dmidecode tool. 2020-06-15 18:30:03 +02:00
Makefile Add functions to the files copied by the release-cp Makefile target 2024-07-23 13:26:33 +02:00
modules.conf Project renamed to TuneD 2021-05-17 22:09:02 +02:00
README.md Recast README into MarkDown with various minor corrections and improvements 2023-06-12 23:17:23 -04:00
recommend.conf Removing dependency on python-configobj. 2021-08-18 10:28:27 +02:00
TODO tuned-adm: Print log excerpt when changing profile 2018-06-11 09:56:14 +02:00
tuned-adm.bash Migrate profiles to /etc/tuned/profiles/ and /usr/lib/tuned/profiles/ 2024-04-03 11:01:10 +02:00
tuned-adm.py Re-check dbus when (re)starting TuneD from tuned-adm profile 2024-04-17 12:07:21 +02:00
tuned-gui.desktop Project renamed to TuneD 2021-05-17 22:09:02 +02:00
tuned-gui.glade gui: multiple fixes and warnings removal 2023-08-18 00:43:10 +02:00
tuned-gui.py Add an option to configure profile directories 2024-03-28 10:56:49 +01:00
tuned-main.conf Migrate profiles to /etc/tuned/profiles/ and /usr/lib/tuned/profiles/ 2024-04-03 11:01:10 +02:00
tuned-ppd.py tuned-ppd: Refactor daemon initialization 2024-06-24 15:05:45 +02:00
tuned.py Make DBusExporter reusable for other services 2024-02-06 16:54:54 +01:00
tuned.service systemd: relax polkit requirement 2022-10-11 12:07:08 +02:00
tuned.spec new release (2.24.0) 2024-08-07 22:09:40 +02:00
tuned.tmpfiles Use /run instead of /var/run 2012-10-25 12:05:16 +02:00

TuneD: Daemon for monitoring and adaptive tuning of system devices.

(This is TuneD 2.0 with a new code base. If you are looking for the older version, please check out branch '1.0' in our Git repository.)

How to use it

TuneD is incompatible with cpupower and power-profiles-daemon. If you have these services, uninstall or disable them.

On Fedora, Red Hat Enterprise Linux, and their derivatives: install the tuned package (optionally tuned-utils, tuned-utils-systemtap, and tuned-profiles-compat):

  # dnf install tuned

After installation, start the tuned service:

  # systemctl start tuned

You likely should run tuned whenever your machine boots:

  # systemctl enable tuned

When the daemon is running you can easily control it using the tuned-adm utility. This tool communicates with the daemon over DBus. Any user can list the available profiles and see which one is active. The active profile can be switched only by root user or by any user with physical console allocated on the machine (X11, physical tty, but no SSH).

To see the current active profile, run:

  # tuned-adm active

To list all available profiles, run:

  # tuned-adm list

To switch to a different profile, run:

  # tuned-adm profile <profile-name>

The enabled profile is persisted into /etc/tuned/active_profile, which is read when the daemon starts or is restarted.

To disable all tunings, run:

  # tuned-adm off

To show information/description of given profile or current profile if no profile is specified, run:

  # tuned-adm profile_info

To verify current profile against system settings, run:

  # tuned-adm verify

To enable automatic profile selection, run:

  # tuned-adm auto_profile

To show the current profile selection mode, run:

  # tuned-adm profile_mode

To recommend a profile for a given system, run:

  # tuned-adm recommend

Currently only static detection is implemented - it decides according to data in /etc/system-release-cpe and the output of virt-what. The rules for autodetection are defined in the file /usr/lib/tuned/recommend.d/50-tuned.conf. They can be overridden by the user by creating a file in /etc/tuned/recommend.d or a file named recommend.conf in /etc/tuned. See the tuned-adm(8) man page for details). The default rules recommend profiles targeted to the best performance or the balanced profile if unsure.

Available tunings

We are currently working on many new tuning features. Some are described in the manual pages, some are yet undocumented.

Authors

The best way to contact the authors of the project is to use our mailing list: power-management@lists.fedoraproject.org

If you want to contact an individual author, you will find their e-mail address in every commit message in our Git repository: https://github.com/redhat-performance/tuned.git

You can also join the #fedora-power IRC channel on Freenode.

Web page: https://tuned-project.org/

Contributing

See the file CONTRIBUTING.md for guidelines for contributing.

License

Copyright (C) 2008-2021 Red Hat, Inc.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Full text of the license is enclosed in COPYING file.

The Developer Certificate of Origin, distributed in the file 'DCO' is licensed differently, see the file for the text of the license.

The icon:

The TuneD icon was created by Mariia Leonova mleonova@redhat.com and it is licensed under Creative Commons Attribution-ShareAlike 3.0 license (http://creativecommons.org/licenses/by-sa/3.0/legalcode).