I have a VM in Proxmox 8.2 running OpenWRT stock 23.05.4 (x86_64 build). However, I have noticed that the CPU (i5-8500) cores assigned to the OpenWRT VM are pegged at max frequency, so I assume OpenWRT has the CPU governor set to performance. I looked under "/sys/devices/system/cpu/cpufreq/policy0/scaling_governor" and the file doesn't exist. Actually, there is nothing under the "cpufreq" folder. I also looked in the "/sys/devices/system/cpu/cpu0" and "/sys/devices/system/cpu/cpu1" folders as well and didn't find anything of use.
This seems to suggest that the x86 OpenWRT build doesn't have a CPU governor driver installed or isn't loading it due to a Proxmox configuration issue. Perhaps I'm going about this the wrong way?
I apologize as I am also running OpenWRT x86_64 and I have the VM CPU in Proxmox set to "host". Do you think setting it to "x86-64-v2-AES" would help in this case?
Unfortunately, I don't have "/lib64/ld-linux-x86-64.so.2" on my Proxmox 8.2 install.
I did see that CPU governor on the Proxmox host was set to "performance". I switched this to "powersave" and things seem to be improving a bit. Running powertop on the Proxmox host shows most of the cores are able to get to C7 now.
However, for whatever reason, OpenWRT doesn't seem to recognize and load a p-state driver. Switching the CPU type in Proxmox didn't seem to have an effect. Maybe this is normal as I don't have anything else to compare it to?