How do I use 'tuned' to apply tuning profiles?

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • tuned

Issue

  • How to list all the available tuned profiles?
  • How to check the default tuned profile set on the system?
  • How do I use tuned to apply tuning profiles to my machine?

Resolution

  • Install tuned package:
# yum install tuned
  • Enable and start tuned service:

Red Hat Enterprise Linux 6:

# chkconfig tuned on
# service tuned start

Red Hat Enterprise Linux 7, 8, and 9:

# systemctl enable tuned
# systemctl start tuned
  • Check the default tuned profile set for the system:
# tuned-adm active
Current active profile: throughput-performance

# cat /etc/tuned/active_profile
throughput-performance
  • List the available tuned profiles (default):
# tuned-adm list
Available profiles:
- balanced                    - General non-specialized tuned profile
- desktop                     - Optimize for the desktop use-case
- latency-performance         - Optimize for deterministic performance at the cost of increased power consumption
- network-latency             - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput          - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks
- powersave                   - Optimize for low power consumption
- throughput-performance      - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest               - Optimize for running inside a virtual guest
- virtual-host                - Optimize for running KVM guests
Current active profile: throughput-performance
  • Set the desired profile (eg: network-throughput):
# tuned-adm profile network-throughput 
  • Verify the tuned profile:
# tuned-adm active
Current active profile: network-throughput

# tuned-adm verify
Verfication succeeded, current system settings match the preset profile.
See tuned log file ('/var/log/tuned/tuned.log') for details.
SBR
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.