Why I can't find cpufreq on VM? #6254
peng6662001
started this conversation in
General
Replies: 1 comment
-
If that capability is not available to the VM, the driver inside the VM will not be loaded and tools won't be of any use. In general, a guest VM shouldn't be able to control the cpu frequency of the whole system -- other VMs may want to run at full speed, so only the host knows the whole picture and only the host should have control over the cpu power state. And it doesn't make sense for the VM to throttle itself either. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can find /sys/devices/system/cpu/cpu0/cpufreq on the host machine, but not on a VM with ubuntu 22.04.
I compiled the Linux kernel with the 6.6.0-rc6 configuration file from the host on VM and installed cpufrequtils.
Beta Was this translation helpful? Give feedback.
All reactions