Chapter 4. tuned and tuned-adm
Chapter 4. tuned and tuned-adm This chapter covers using the tuned daemon for tuning system settings in virtualized environments. tuned is a tuning profile delivery mechanism that adapts Red Hat Enterprise Linux for certain workload characteristics, such as requirements for CPU-intensive tasks, or storage/network throughput responsiveness. It provides a number of tuning profiles that are pre-configured to enhance performance and reduce power consumption in a number of specific use cases. Edit these profiles or create new profiles to create performance solutions tailored to your environment. The virtualization-related profiles provided as part of tuned include: virtual-guest Based on the throughput-performance profile, virtual-guest also decreases the swappiness of virtual memory. The virtual-guest profile is automatically selected when creating a Red Hat Enterprise Linux 7 guest virtual machine. It is the recommended profile for virtual machines. This profile is available in Red Hat Enterprise Linux 6.3 and later, but must be manually selected when installing a virtual machine. virtual-host Based on the throughput-performance profile, virtual-host also enables more aggressive writeback of dirty pages. This profile is the recommended profile for virtualization hosts, including both KVM and Red Hat Virtualization (RHV) hosts. By default in a Red Hat Enterprise Linux 7 installation, the tuned package is installed and the tuned service is enabled. To list all available profiles and identify the current active profile, run: It is also possible to create custom tuned profiles to encapsulate a set of tuning parameters. For instructions on creating custom tuned profiles, see the tuned.conf man page. To only display the currently active profile, run: To switch to one of the available profiles, run: For example, to switch to the virtual-host profile, run: Important After setting a tuned profile in Red Hat Enterprise Linux 7.1 and above, make sure the tuned service is enabled for the configured profile to be applied after a reboot: In some cases, it is preferable to disable tuned to use parameters set manually. To disable all tuning for the current session, run: To permanently disable tuned and revert all changes it performed, run: Note For further information about tuned , see the Red Hat Enterprise Linux 7 Performance Tuning Guide .
tuned-adm list Available profiles: - balanced - desktop - latency-performance - network-latency - network-throughput - powersave - sap - throughput-performance - virtual-guest - virtual-host Current active profile: throughput-performance tuned-adm active tuned-adm profile profile_name tuned-adm profile virtual-host systemctl enable tuned tuned-adm off tuned-adm off; systemctl disable tuned