Power consumption optimize Proxmox
I am new to Proxmox, even new to running servers. I am documenting this for my own, use it in your own risk.
My Proxmox Cluster
Turn on/off machine
If machine is not in use, it’s better to turn it off. Machine can be turned on using Wake-on-LAN
crontab -e
@reboot /usr/sbin/ethtool -s enp2s0 wol g
Tune using powertop
crontab -e
@reboot /usr/sbin/powertop --auto-tune
CPU frequency scaling
Check if CPU frequency scaling is available
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
If it does, add a cron entry
crontab -e
@reboot echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor >/dev/null 2>&1
Live long and prosper!