power saving on the host only or VM as well?

bellocarico

Member
Sep 17, 2022
54
4
13
I have set my servers with the following crontab command:

@reboot echo "schedutil" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor &>/dev/null

the question now is... does it make sense to have the VMs in power saving too?
e,g, same command for linux VMs and control panel power saving for windows one?

Or is the host enough?
Thanks
 
Host should be enough. VMs are only working with virtual CPUs, so that shouldn't matter as there is no real CPU that could be clocked down.
 
Is that the case even when the CPU is set to host?
I believe that currently it does not matter in this regard. People are experimenting with VM frequency drivers to give feedback to the host on what the VM is doing. In some circumstances, this might help with heterogeneous hardware. Maybe sometime in the future, Linux VMs with come with this functionality out of the box.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!