概要
CentOS(たぶんRHELも)はtunedデーモンがチューニングプロファイルを管理していて、プロファイルを選択することでシステムのパフォーマンスを最適化することができる。
tuned-admコマンドで設定、管理する。
tuned-admコマンド
設定されているプロファイルの確認
$ tuned-adm active
Current active profile: virtual-guest
プロファイルの一覧表示
$ tuned-adm list
Available profiles:
- accelerator-performance - Throughput performance based tuning with disabled higher latency STOP states
- balanced - General non-specialized tuned profile
- desktop - Optimize for the desktop use-case
- hpc-compute - Optimize for HPC compute workloads
- intel-sst - Configure for Intel Speed Select Base Frequency
- 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
推奨プロファイルの表示
$ tuned-adm recommend
virtual-guest
自動設定
$ sudo tuned-adm auto_profile
$ tuned-adm active
Current active profile: virtual-guest
プロファイルモードの確認
$ tuned-adm profile_mode
Profile selection mode: auto
プロファイルの手動変更
$ sudo tuned-adm profile balanced
無効化
$ sudo tuned-adm off
$ tuned-adm active
No current active profile.