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 command [options]
PARAMETERS
active
Displays the currently active tuning profile.
available
Lists the available tuning profiles on the system.
profile profile_name
Switches the system to the specified tuning profile. profile_name is the name of the profile to activate.
off
Disables tuned and returns the system to its default settings.
recommend
Suggests a tuning profile based on system hardware and usage patterns.
verify
Verifies if the current tuning profile matches the settings applied by Tuned.
-v, --verbose
Increases the verbosity of output.
-d, --debug
Enables debugging mode, providing more detailed information.
-h, --help
Displays help information and usage instructions.
DESCRIPTION
The `tuned-adm` command is a command-line tool in Linux used for managing system performance by applying tuned profiles. Tuned profiles are collections of settings that optimize the system for specific workloads. These profiles can adjust CPU scaling governors, disk I/O scheduling, network settings, and other system parameters to improve performance, power consumption, or a balance of both. `tuned-adm` allows users to easily switch between different performance profiles, monitor the active profile, and customize profiles to suit their specific needs.
It simplifies the process of system tuning, removing the need for manual adjustments of various system files and configurations. The service also dynamically adjusts settings in response to workload changes. It provides a centralized way to manage system tuning and provides consistency across different systems.
CAVEATS
Modifying or creating custom tuned profiles requires understanding of system internals and potential side effects. Incorrectly configured profiles can negatively impact system stability or performance. It's advisable to thoroughly test custom profiles in a non-production environment before deploying them to production systems.
PROFILE DIRECTORY
Tuned profiles are typically located in the `/usr/lib/tuned` or `/etc/tuned` directories. You can examine the files in these directories to understand the configuration settings for each profile.
CUSTOM PROFILES
To create custom profiles, copy an existing profile directory and modify its contents. The main file within a profile directory is `tuned.conf`, which contains the settings for the profile.
DYNAMIC TUNING
Tuned can dynamically adjust settings based on system activity. This is achieved by using plugins that monitor system resources and modify the tuning profile accordingly.
HISTORY
The `tuned` daemon and its associated command-line tool `tuned-adm` were developed to provide a more user-friendly and centralized way to manage system performance tuning compared to manually configuring various system settings. It evolved to address the need for easily switchable performance profiles based on different workload requirements. Over time, it gained features such as dynamic tuning and profile recommendation to better adapt to changing system conditions. Its usage has spread with increased interest in optimizing servers and desktops for specific tasks.