Rate This Document
Findability
Accuracy
Completeness
Readability

Selecting tuned Configurations

Principles

tuned is a service for the Linux system. It provides the configuration file adjustment mechanism to tune the system settings based on the system status. tuned-adm is a tool that cooperates with the tuned service. tuned-adm is preconfigured with multiple system parameter configuration files, which can adapt to different services by adjusting parameters such as the scheduling time, dirty page flush watermark, and CPU performance mode.

You can select different configurations based on service requirements. For example:

  • To achieve low latency, select the network-latency mode.
  • To achieve high network I/O throughput, select the network-throughput mode.
  • To achieve low I/O latency, select the latency-performance mode.
  • To achieve high I/O throughput, select the throughput-performance mode.

Modification Method

Installation method:

1
# yum install tuned

Table 1 and Table 2 list common tuned commands and modes.

Table 1 Common tuned commands

Description

Command

Views the tuned service running status.

systemctl status tuned

Checks the current tuned mode.

tuned-adm active

Checks supported tuned modes.

tuned-adm list

Sets a tuned mode.

tuned-adm profile $config

Cancels a tuned mode.

tuned-adm off

Table 2 Common tuned modes

Mode

Description

balanced

Balance mode

latency-performance

Low I/O latency mode

network-latency

Low network latency mode

network-throughput

High network throughput mode

throughput-performance

High I/O throughput mode

powersave

Power saving mode

The configuration files used by tuned is stored in /usr/lib/tuned. You can also refer to the kernel configuration parameters to tune the system.