1
0
Fork 0
Tuning Profile Delivery Mechanism for Linux
Find a file
Ondřej Lysoněk afa6611f39 Makefile: Run pylint on the tests too
The tests are now in a good shape, so we can now run pylint on them
without getting a huge list of errors. In fact, we should lint them
to decrease the likelihood they'll go stale again.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-02-19 16:26:27 +01:00
contrib added upstart file to contrib 2015-04-28 17:25:21 +02:00
doc Removed unnecessary internal comments 2019-01-07 18:38:09 +01:00
experiments Pass universal_newlines = True to Popen() 2018-01-14 15:13:29 +01:00
icons Added tuned icon and desktop file for GUI 2016-03-22 17:11:42 +01:00
libexec Use open() instead of file() to open files 2018-01-14 15:13:35 +01:00
man cpu-partitioning.7: add note about ksm and ksmtuned 2018-10-10 23:20:03 +02:00
profiles mssql: updated tuning 2019-01-08 15:07:03 +01:00
systemtap varnetload: more python3 fixes 2018-01-18 16:47:16 +01:00
tests tests: Fix import of Mapping 2019-02-19 16:26:27 +01:00
tuned Merge pull request #151 from watologo1/intel_amd_ppc_differing 2019-01-31 18:38:58 +01:00
.gitignore Added user-facing documentation: initial commit 2019-01-04 18:08:28 +01:00
.travis.yml Add Travis and Docker file 2018-10-15 13:20:14 +02:00
00_tuned bootloader: add support for initrd overlays 2017-03-01 15:56:17 +01:00
92-tuned.install Added workaround for zipl (s390x) not supporting multiple initrds 2018-12-10 17:49:54 +01:00
AUTHORS Added tuned icon and desktop file for GUI 2016-03-22 17:11:42 +01:00
bootcmdline bootloader: add support for initrd overlays 2017-03-01 15:56:17 +01:00
com.redhat.tuned.policy Move plugin and hint listing functionality into dbus 2018-12-05 12:18:48 +01:00
CONTRIBUTING.md Add contribution guidelines 2019-01-31 11:19:16 +01: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
INSTALL solves issue #127 - install instructions 2018-10-09 13:46:12 +03:00
Makefile Makefile: Run pylint on the tests too 2019-02-19 16:26:27 +01:00
modules.conf modules: Fix a comment in modules.conf 2017-07-10 10:21:55 +02:00
README Add contribution guidelines 2019-01-31 11:19:16 +01:00
recommend.conf recommend.conf: Describe syspurpose_role and chassis_type 2018-09-24 17:32:14 +02:00
requirements.txt solves issue #127 - install instructions 2018-10-09 13:46:12 +03:00
TODO tuned-adm: Print log excerpt when changing profile 2018-06-11 09:56:14 +02:00
tuned-adm.bash bash-completion: added support for 'tuned-adm verify' 2015-07-10 16:00:34 +02:00
tuned-adm.py Move plugin and hint listing functionality into dbus 2018-12-05 12:18:48 +01:00
tuned-gui.desktop Change desktop menu category for tuned-gui 2017-07-07 18:57:14 +02:00
tuned-gui.glade Merge pull request #152 from redhatrises/tuned_gui_typo 2019-01-31 18:39:53 +01:00
tuned-gui.py Remove unnecessary import from tuned-gui.py 2019-02-04 11:04:52 +01:00
tuned-main.conf Increase max log file size in the default config file 2019-02-08 14:34:30 +01:00
tuned.py log: add two options(log_file_count and log_file_maxbytes) in the main config file 2018-09-11 15:42:53 +08:00
tuned.service Improve checking if we are rebooting or not 2017-09-08 16:16:50 +02:00
tuned.spec Added workaround for zipl (s390x) not supporting multiple initrds 2018-12-10 17:49:54 +01: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
-------------

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

# yum install tuned

After the installation, start the tuned service:

# systemctl start tuned

You might also want to run tuned whenever your machine starts:

# systemctl enable tuned

If the daemon is running you can easily control it using 'tuned-adm' command
line utility. This tool communicates with the daemon over DBus. Any user can
list the available profiles and see which one is active. But the profiles 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>

Your profile choice is also written into /etc/tuned/active_profile and this
choice is used when the daemon is restarted (e.g. with the machine reboot).

To disable all tunings, run:
# tuned-adm off

# tuned-adm recommend
Recommend profile suitable for your system. Currently only static detection is
implemented - it decides according to data in /etc/system-release-cpe and
virt-what output. 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
putting a file to /etc/tuned/recommend.d or a file named recommend.conf into
/etc/tuned (see tuned-adm(8) for more details). The default rules recommend
profiles targeted to the best performance or the balanced profile if unsure.

Available tunings
-----------------

We are currenlty 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

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

You can also join #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-2019 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).