4 ms·
Your comment isn't clear as to why. If you assign two vCPUs to a KVM VM, why would limiting the VM's kernel to only scheduling on one vCPU increase the speed? T
by anonfordays 2y ago
Your comment isn't clear as to why. If you assign two vCPUs to a KVM VM, why would limiting the VM's kernel to only scheduling on one vCPU increase the speed? The vCPUs are typically all on one physical CPU anyway, unlike a mainframe. You can also set affinity/processor pinning in KVM if you have more than one physical CPU/core, with the VM being none the wiser.
- rbanffy 2y agoThis caps host CPU usage from the VM after startup processes finish. During startup a process in a VM can use all of the host cores the VM was configured with. Then, when startup is finished and we start doing what the VM is supposed to do, its core usage is limited, preventing noisy neighbors problem. Individual VM performance will be lower, but the host will be more responsive.