tuned-adm
Tune system performance using predefined profiles
TLDR
List available profiles
Show the currently active profile
Set a specific tuning profile
Recommend a suitable profile based on the current system
Disable tuning
SYNOPSIS
tuned-adm [OPTIONS] COMMAND [ARGUMENTS]
Common Commands:
tuned-adm list
tuned-adm active
tuned-adm profile <profile_name>
tuned-adm recommend
tuned-adm off
tuned-adm verify
PARAMETERS
list
Lists all available tuning profiles on the system, indicating the currently active one.
active
Displays the name of the currently active tuning profile.
profile <profile_name>
Activates the specified tuning profile. The profile will be applied immediately.
recommend
Analyzes the system and recommends the most suitable tuning profile based on detected hardware and software characteristics.
off
Deactivates the tuned daemon and reverts the system to its default, untuned settings.
verify
Checks whether the current system settings conform to the active tuning profile. Useful for troubleshooting.
auto_profile
Switches tuned to automatically select and apply a profile based on system analysis, similar to 'recommend' but persistent.
monitor
Provides real-time monitoring of tuned's actions, showing when it applies or changes settings.
log
Displays recent log entries from the tuned daemon, which can be useful for debugging.
profile_info <profile_name>
Shows detailed configuration parameters and settings defined within a specific tuning profile.
--version
Displays the version information for the tuned-adm utility.
--help
Shows a brief help message and usage information for the command.
DESCRIPTION
tuned-adm is the command-line interface for the tuned daemon, a dynamic system tuning tool.
It allows users to query, activate, deactivate, and manage various system tuning profiles. These profiles are designed to optimize system performance for specific use cases, such as desktop, server, virtual host, or low-latency networking, by automatically adjusting system parameters like CPU governors, I/O schedulers, swappiness, and kernel settings.
tuned-adm simplifies system optimization, enabling administrators to tailor system behavior to diverse workloads without requiring deep manual configuration of individual components. It provides a robust and persistent way to ensure the system is always performing optimally for its intended purpose.
CAVEATS
Requires the tuned daemon to be running for profile changes to take effect.
Applying a new profile can sometimes require a system reboot for all changes to be fully integrated, especially for kernel-level parameters.
Custom profiles must be correctly configured and placed in the appropriate directories to be recognized.
tuned-adm's changes may override manual system configurations, so it's important to understand its impact.
COMMON PROFILE EXAMPLES
Some frequently used built-in tuning profiles include:
balanced: The default general-purpose profile.
throughput-performance: Optimizes for high-throughput server workloads, focusing on disk and network I/O.
latency-performance: Designed for low-latency applications, prioritizing CPU and network responsiveness.
virtual-guest: Optimized for efficiency and performance when running as a virtual machine.
virtual-host: Configured for systems hosting multiple virtual machines, balancing host and guest needs.
powersave: Reduces power consumption by prioritizing energy efficiency.
CONFIGURATION FILES
Tuning profiles are typically defined in directories under /usr/lib/tuned/. Custom or overridden profiles should be placed in /etc/tuned/. Each profile directory contains a tuned.conf file that specifies the tuning parameters and scripts to be applied when the profile is active.
HISTORY
tuned and tuned-adm were developed by Red Hat, primarily for its enterprise Linux distributions (RHEL, Fedora, CentOS). It emerged as a solution to provide a consistent and robust way to manage system performance optimizations across various hardware and workload types. Its development aimed to simplify the complex task of manually tuning numerous system parameters, offering a profile-based approach that is both flexible and easy to manage, especially in server and data center environments.