2.13. 安装并启用 TuneD
此流程安装并启用 TuneD 应用程序,安装 TuneD 配置文件,并为您的系统预设默认 TuneD 配置文件。
流程
安装
Tuned软件包:# dnf install tuned启用并启动
TuneD服务:# systemctl enable --now tuned可选:为实时系统安装 TuneD 配置文件:
对于实时系统的 TuneD 配置文件,启用
rhel-9存储库。# subscription-manager repos --enable=rhel-9-for-x86_64-nfv-beta-rpms安装它。
# dnf install tuned-profiles-realtime tuned-profiles-nfv验证 TuneD 配置文件是否活跃并应用:
$ tuned-adm active Current active profile: throughput-performance注意活跃的配置文件 TuneD 会根据您的机器类型和系统设置会自动进行不同的预置。
$ tuned-adm verify Verification succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details.