power saving on the host only or VM as well?

bellocarico

Member
Sep 17, 2022
63
6
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.