【整理】使用tuned/tuned-adm工具动态调优你的CentOS系统

原创文章,转载请注明: 转载自勤奋的小青蛙
本文链接地址: 【整理】使用tuned/tuned-adm工具动态调优你的CentOS系统
程序猿,还在辛苦用百度,为何不搭建梯子:程序员如何搭建梯子

timg

参考文章:使用tuned/tuned-adm工具动态调优你的CentOS系统

Tuned – Automatic Performance Tuning of CentOS/RHEL Servers

安装和启动 tuned:

yum -y install tuned

管理tuned服务:

--------------- On RHEL/CentOS 7 --------------- 
# systemctl start tuned	        
# systemctl enable tuned	
# systemctl status tuned	
# systemctl stop tuned		

--------------- On RHEL/CentOS 6 ---------------
# service tuned start
# chkconfig tuned on
# service tuned status
# service tuned stop

查看当前优化方案:

# tuned-adm active
Current active profile: default
Service tuned: enabled, running
Service ktune: enabled, running

查看预先配置好的优化方案:

# tuned-adm list
Available profiles:
- laptop-battery-powersave
- virtual-guest
- desktop-powersave
- sap
- server-powersave
- virtual-host
- throughput-performance
- enterprise-storage
- laptop-ac-powersave
- latency-performance
- spindown-disk
- default
Current active profile: default

设置某项优化方案:

命令格式为:tuned-adm profile 模式名称

# tuned-adm  profile throughput-performance
# tuned-adm active
原创文章,转载请注明: 转载自勤奋的小青蛙
本文链接地址: 【整理】使用tuned/tuned-adm工具动态调优你的CentOS系统
程序猿,还在辛苦用百度,为何不搭建梯子:程序员如何搭建梯子

文章的脚注信息由WordPress的wp-posturl插件自动生成



|2|left
打赏

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: