Proxmox VEのホスト鯖は常時起動させているので、
熱とかもろもろ考えて、CPUのクロックなどを下げて運用しようと思います。

CPUの制御をするため「linux-cpupower」をインストール。
「cpupower」ではないので注意。

#apt-get install linux-cpupower

現状の確認。

# pveversion 
pve-manager/9.1.2/9d436f37a0ac4172 (running kernel: 6.17.2-2-pve)
#
# cpupower frequency-info
analyzing CPU 10:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 10
  CPUs which need to have their frequency coordinated by software: 10
  maximum transition latency: 20.0 us
  hardware limits: 1.20 GHz - 3.90 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 1.20 GHz and 3.90 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.20 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
    3700 MHz max turbo 4 active cores
    3700 MHz max turbo 3 active cores
    3700 MHz max turbo 2 active cores
    3900 MHz max turbo 1 active cores

バグらしいが、どうやらProxmoxVEのlinux-cpupowerには、
バージョンによりサービス関係のファイルが含まれていない。
https://bugs-devel.debian.org/cgi-bin/bugreport.cgi?bug=894906

なので、rc.localに書いてお茶を濁す。
今回は、ガバナーを「powersave」、最大周波数を「2GHz」としました。

# vi /etc/rc.local

#!/bin/sh
/usr/bin/cpupower frequency-set -g powersave
/usr/bin/cpupower frequency-set -u 2GHz

権限

# chmod 700 /etc/rc.local

(さらに…)