Proxmox VE 9.2.2インストール(4)省電力化
linux-cpupowerをインストールする。
apt install -y linux-cpupower
# cpupower frequency-info
analyzing CPU 2:
driver: amd-pstate-epp
CPUs which run at the same hardware frequency: 2
CPUs which need to have their frequency coordinated by software: 2
maximum transition latency: Cannot determine or is not supported.
hardware limits: 405 MHz - 5.17 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 2.99 GHz and 5.17 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 3.89 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
AMD PSTATE Highest Performance: 166. Maximum Frequency: 5.17 GHz.
AMD PSTATE Nominal Performance: 122. Nominal Frequency: 3.80 GHz.
AMD PSTATE Lowest Non-linear Performance: 96. Lowest Non-linear Frequency: 2.99 GHz.
AMD PSTATE Lowest Performance: 13. Lowest Frequency: 545 MHz.
以下でモードを変更
cpupower frequency-set -g powersave
設定の永続化
/etc/systemd/system/cpupower.service
[Unit]
Description=Apply cpupower powersave governor
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/usr/bin/cpupower frequency-set -g powersave
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
# 設定の読み込みと自動起動
systemctl daemon-reload
systemctl enable cpupower.service
sudo reboot
コメント
コメントを投稿