Hi,
At the moment I am running a server which has 1 physical CPU with 4 cores. All VMs are KVM. Assuming I want to run more than 3 VMs how should I assign the cores?
If I run PVE3.0 and 3VMs I give one core per VM and leave one core over for PVE3.0 itself. So I assume that all 3 VMs running on full speed each one will use 1 core with 100% and everything will work without problems.
But what will happen if I run 4 or 5 VMs and assign 1 core per VM and all VMs are running on full speed. Will this crash a VM or what will happen?
I read much about "CPU units" on the forum and the "kernel fair scheduler" but I don't understand what they do exactly.
Could it make sense - assuming that the 3VMs never running full speed at the same time to assign 2 cores two every VM (3*2=6) even if I only have 4 cores at all so that it will work like "memory ballooning" but with CPU?
Thank you for your help!
At the moment I am running a server which has 1 physical CPU with 4 cores. All VMs are KVM. Assuming I want to run more than 3 VMs how should I assign the cores?
If I run PVE3.0 and 3VMs I give one core per VM and leave one core over for PVE3.0 itself. So I assume that all 3 VMs running on full speed each one will use 1 core with 100% and everything will work without problems.
But what will happen if I run 4 or 5 VMs and assign 1 core per VM and all VMs are running on full speed. Will this crash a VM or what will happen?
I read much about "CPU units" on the forum and the "kernel fair scheduler" but I don't understand what they do exactly.
Could it make sense - assuming that the 3VMs never running full speed at the same time to assign 2 cores two every VM (3*2=6) even if I only have 4 cores at all so that it will work like "memory ballooning" but with CPU?
Thank you for your help!