目录
调优系统tuned
系统管理员可以利用tuned来优化系统性能,tuned守护进程会利用 当前系统工作的特性来决定采取怎样的调优配置文件,以静态与动态两种方式进行调优调整,根据主机应用选择相应的配置
在Linux 8 分发的调优配置文件
调优配置文件 | 用途 |
---|---|
均衡 | 适用在节能和性能之间折中的系统 |
desktop | 从balanced配置文件衍生而来,加快交互式响应速度 |
throughput-performance | 调优系统,获得最大吞吐量 |
latency-performance | 适合牺牲性能来获取低延迟的服务器系统 |
网络吞吐量 | 从throughput-performance文件中衍生而来,应用其他网络调优参数,以获取最大吞吐量 |
节能 | 调优系统,以最大程度实现节能 |
Oracle | 基于throughput-performance配置文件中,针对Oracle数据库负载进行优化 |
Virtual-quest | 当系统在虚拟机上运行时,使系统以获得最高性能 |
Virtual-host | 当系统充当虚拟机的主机时,调优系统以获得最高性能 |
网络延迟 | 从latency-performance配置文件中衍生而来,它可以启用额外的网络调优参数,以提供低网络延迟 |
[root@server ~]# yum install tuned -y #下载调优系统程序包
[root@server ~]# systemctl is-active tuned.service #查看该系统调优服务是否启动
[root@server ~]# tuned-adm
active --help profile recommend --version
auto_profile list profile_info -v
-h off profile_mode verify
[root@server ~]# tuned-adm recommend
virtual-guest
[root@server ~]# tuned-adm active
Current active profile: virtual-guest ###查看当前系统正在使用的调优配置文件,和程序所建议你使用的调优配置文件
[root@server ~]# tuned-adm verify ##进行验证 查看当前系统所使用的调优配置文件和推荐配置文件是否一致
[root@server ~]# tuned-adm profile
accelerator-performance latency-performance recommend.d
balanced network-latency throughput-performance
desktop network-throughput virtual-guest
hpc-compute optimize-serial-console virtual-host
intel-sst powersave
### 可以更改当前系统的调优配置文件 例如可以选择均衡以及Virtual host等等
VDO
(Virtual data optimize