2.4. 管理 TuneD 配置文件


您可以在 Red Hat Enterprise Linux 中管理 TuneD 配置集,包括列出可用配置集、设置特定配置集以及根据需要禁用 TuneD。正确管理配置文件可优化特定工作负载的系统性能,如对低延迟应用程序使用 cpu-partitioning 配置文件。

先决条件

  • 您已安装并启用了 TuneD。
  • 您有管理特权。

流程

  1. 列出所有可用的预定义的 TuneD 配置文件:

    $ tuned-adm list
  2. 可选:要让 TuneD 为您的系统推荐最合适的配置文件,请使用以下命令:

    # tuned-adm recommend
    throughput-performance
  3. 激活配置文件:

    # tuned-adm profile selected-profile

    另外,您可以激活多个配置文件的组合:

    # tuned-adm profile selected-profile1 selected-profile2
  4. 查看系统上当前活跃的 TuneD 配置文件:

    # tuned-adm active
    Current active profile: selected-profile
  5. 临时禁用所有调优:

    # tuned-adm off
    The tunings are applied again after the TuneD service restarts.
  6. 可选:停止并永久禁用 TuneD 服务:

    # systemctl disable --now tuned
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部