Tunedのセットアップ
パッケージインストール
CentOS
$ sudo yum install tuned
Fedora
$ sudo dnf install tuned
サービス自動起動設定
CentOS
$ sudo chkconfig tuned on
Fedora
$ sudo systemctl enable tuned.service
サービス開始
CentOS
$ sudo service tuned start
Fedora
$ sudo systemctl start tuned.service
アクティブ プロファイルの確認
$ sudo tuned-adm active
Current active profile: virtual-guest
利用可能プロファイル一覧
$ sudo tuned-adm list
Available profiles:
- balanced
- latency-performance
- powersave
- throughput-performance
- virtual-guest
- virtual-host
Current active profile: virtual-guest
プロファイルの変更
KVMホストの場合
$ sudo tuned-adm profile virtual-host
KVMゲストの場合
$ sudo tuned-adm profile virtual-guest