tuned-adm 是 Red Hat 开发的 Linux 系统性能调优守护进程。它提供了一系列预设的调优 Profile,每个 Profile 自动调整一组内核参数(CPU 调度器、内存管理、磁盘预读、网络缓冲区等),针对不同的工作负载场景进行优化。
核心价值:不需要手动修改 /etc/sysctl.conf 中的数十个参数,一条命令即可切换到适合当前工作负载的内核配置。Profile 之间的切换是动态的,不影响运行中的服务。

# 查看当前 Profiletuned-adm active # → latency-performance# 列出所有可用 Profiletuned-adm list# 切换 Profiletuned-adm profile throughput-performance# 查看推荐 Profile(系统自检后推荐)tuned-adm recommend # → virtual-guest (如果在 VM 内)# 关闭所有调优(恢复出厂内核参数)tuned-adm off# 检查 tuned 服务状态systemctl status tuned


测试平台:ceph01, 2× Xeon Gold 6140 (72线程), 251GB RAM, 8TB HDD (sdb)




# 1. 创建自定义 profile 目录mkdir /etc/tuned/my-throughput-netcat > /etc/tuned/my-throughput-net/tuned.conf << 'EOF'[main]summary=Custom: throughput-performance + fixed network buffersinclude=throughput-performance[sysctl]net.core.rmem_max=16777216net.core.wmem_max=16777216net.ipv4.tcp_rmem="4096 87380 16777216"net.ipv4.tcp_wmem="4096 65536 16777216"net.core.netdev_max_backlog=5000EOF# 2. 激活tuned-adm profile my-throughput-net# 3. 验证sysctl net.core.rmem_max # 应为 16777216sysctl net.ipv4.tcp_rmem # 末位应为 16777216