Automatic vCPU pinning using VM Hooks

hello, after i while, about 4 months usage, there is problem with over provisioning. I you deploy VMs with more VCPUs that you actually have, them there can be visible cpu steal time in guests. Also, on VM migrate there is no pinning rerun on original host but just only on new host, which is also non effective. Script is also no numa-avare!

so generally, I don’t recommend this on over provisioned hosts and hosts with more cpu sockets (numa nodes) and personally I don’t use it anymore :slight_smile:

but I keep using <numatune><memory mode='strict' placement='auto'/></numatune> which is good for multi-socket systems