[root@rhel-server-7-4-x86-64 tmp]# rpm -qa tuned
tuned-2.8.0-5.el7.noarch
[root@rhel-server-7-4-x86-64 tmp]# systemctl status tuned.service
● tuned.service - Dynamic System Tuning Daemon
Loaded: loaded (/usr/lib/systemd/system/tuned.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-06-13 17:36:28 CST; 14min ago
Main PID: 1018 (tuned)
CGroup: /system.slice/tuned.service
└─1018 /usr/bin/python -Es /usr/sbin/tuned -l -P
Jun 13 17:36:28 rhel-server-7-4-x86-64.novalocal systemd[1]: Starting Dynamic System Tuning Daemon…
Jun 13 17:36:28 rhel-server-7-4-x86-64.novalocal systemd[1]: Started Dynamic System Tuning Daemon.
[root@rhel-server-7-4-x86-64 tmp]# 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: virtual-guest
[root@rhel-server-7-4-x86-64 tmp]#
快速调整
[root@rhel-server-7-4-x86-64 tmp]# tuned-adm recommend
virtual-guest
[root@rhel-server-7-4-x86-64 tmp]# tuned-adm active
Current active profile: virtual-guest
[root@rhel-server-7-4-x86-64 tmp]# tuned-adm profile virtual-host
[root@rhel-server-7-4-x86-64 tmp]# tuned-adm active
Current active profile: virtual-host
[root@rhel-server-7-4-x86-64 tmp]#