使用tuned修改Centos或Redhat的性能模式

本站所有内容来自互联网收集,仅供学习和交流,请勿用于商业用途。如有侵权、不妥之处,请第一时间联系我们删除!Q群:迪思分享

免费资源网 – https://freexyz.cn/

tuned是一项配置文件调整机制,使 Red Hat Enterprise Linux 适应特定负载特性,例如 CPU 密集型任务要求,或存储/网络吞吐量的响应能力。

[root@VM-1-9-centos ~]# rpm -q tuned tuned-2.11.0-10.el7.noarch 配置

查看当前性能模式

[root@VM-1-9-centos ~]# tuned-adm active Current active profile: virtual-guest

显示主机上能支持的模式

[root@VM-1-9-centos ~]# tuned-adm list AvAIlable profiles: – balanced – General non-specialized tuned profile – desktop – Optimizefor the desktop use-case – hpc-compute – Optimize forHPC compute workloads – latency-performance – Optimizefordeterministic performance at the cost of increased power consumption – network-latency – Optimizefordeterministic performance at the cost of increased power consumption, focusedon low latency network performance – network-throughput – Optimize forstreaming network throughput, generally only necessaryon older CPUs or 40G+ networks – powersave – Optimizeforlow 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 forrunning KVM guests Current active profile:virtual-guest 更改配置模式 更改为高性能 [root@VM-1-9-centos ~]# tuned-adm profile throughput-performance [root@VM-1-9-centos ~]# tuned-adm activeCurrent active profile: throughput-performance

开启后CPU性能会提高一丢丢。

禁用 tuned tuned-adm off 恢复系统推荐 tuned-adm recommend
免费资源网 – https://freexyz.cn/


© 版权声明
THE END
★喜欢这篇文章吗?喜欢的话,麻烦动动手指支持一下!★
点赞8 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容