配置系统调优

文章介绍了如何在Linux服务器上通过`tuned`工具检查推荐配置文件,将系统设置为`throughput-performance`模式,以提升服务器在通用工作负载下的性能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

先查看tuned推荐的配置文件,并将系统的调优配置文件设置为throughput-performance

[root@serverb ~]# tuned-adm recommend

virtual-guest

[root@serverb ~]# tuned-adm profile virtual-guest

[root@serverb ~]# 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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值