Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.76 KB

File metadata and controls

50 lines (38 loc) · 1.76 KB

Manage power consumption


By default, Proxmox runs the host machine's CPU at maximum power, and there are no options to modify that behavior. I want my hardware to run in balanced mode, having enough CPU power when required and saving as much power as possible during idle moments.

Here is a way to implement the modern built-in 'balanced mode' into the Linux kernel:

  1. install 'cpufrequtils'

    apt install cpufrequtils
  2. create configuration file

    cat << 'EOF' > /etc/default/cpufrequtils
    GOVERNOR="schedutil"
    EOF

    *note: Since kernel version 6.5.11-6-pve (possibly since 6.5.xx), there is no 'schedutil' governor for the AMD 7840hs CPU. Use 'powersave' instead. This allows reaching maximum frequencies, and Geekbench 6.2.2 didn't show any noticeable difference on a guest Ubuntu 22.04 for both single-core and multicore tasks.

  3. confirm configuration file content

    cat /etc/default/cpufrequtils

1694242147645

  1. after reboot, check for the current power policy.
    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

1694242292473

  1. modify grub config, add 'consoleblank=60' to 'GRUB_CMDLINE_LINUX_DEFAULT' so display go to power off mode after 60 seconds
    nano /etc/default/grub

1694245795719

  1. run following command after grub config update:

    update-grub
  2. after reboot, confirm that display go to power save mode after 60 seconds.