Rhel/centos introduced a new set of system tuning tools Tuned/tuned-adm after the 6.3 release, wherein tuned is a service-side program used to monitor and collect data from various components of the system and dynamically adjust the system settings according to the information provided by the data to achieve the purpose of dynamic optimization system; Tuned-adm is a client program that deals with tuned and manages and configures the Tuned,tuned-adm with a command line that provides preconfigured optimizations that can be used directly, such as notebooks, virtual machines, storage servers, and so on.
If you are using a laptop (battery power), want to optimize the system, save power and do not want to know too much of this detail, you can use the Tuned/tuned-adm tool and apply Laptop-battery-powersave scheme to adjust and optimize the system. Of course different system and application scenarios have different optimization schemes, Tuned-adm pre-configured optimization strategy is not always meet the requirements, this time needs to be customized, Tuned-adm allows users to create and customize the new tuning scheme.
[Email protected] tuned]# Rpm-qa|grep Tun
Tuned-2.5.1-4.el7.noarch
[Email protected] tuned]# Less/var/log/tuned/tuned.log
[Email protected] ~]# Tuned-adm list
Available Profiles:
-Balanced
-Desktop
-Latency-performance
-Network-latency
-Network-throughput
-PowerSave
-Throughput-performance
-Virtual-guest
-Virtual-host
Current Active profile:balanced
[Email protected] ~]# Tuned-adm Active
Current Active profile:balanced
[Email protected] ~]# Tuned-adm profile Virtual-host
[Email protected] ~]# Tuned-adm Active
Current Active Profile:virtual-host
If it is an enterprise storage server, you can use the Enterprise-storage scheme:
Tuned-adm Profile Enterprise-storage
The above plan does not always meet the requirements, if you have your own needs can be customized solutions. Customize it easily, switch to the configuration directory of the optimization scheme, copy an example, and then edit the relevant parameters inside it, and use the Tuned-adm List command to see the new scheme that you just created My-virtual-host:
[email protected] tuned]# LL
Total 16
Drwxr-xr-x. 2 root root 14:59 balanced
Drwxr-xr-x. 2 root root 14:59 desktop
-rw-r--r--. 1 root root 12260 may functions
Drwxr-xr-x. 2 root root 14:59 latency-performance
Drwxr-xr-x. 2 root root 14:59 network-latency
Drwxr-xr-x. 2 root root 14:59 network-throughput
Drwxr-xr-x. 2 root root 14:59 powersave
-rw-r--r--. 1 root root 1288 1 recommend.conf
Drwxr-xr-x. 2 root root 14:59 throughput-performance
Drwxr-xr-x. 2 root root 14:59 virtual-guest
Drwxr-xr-x. 2 root root 14:59 virtual-host
[Email protected] tuned]# pwd
/usr/lib/tuned
Tuned of Linux Services