Hello,
I was trying Proxmox w/ v1.3...
I never had too much time to study each function but i remember have read that :
"cpu number act as a ratio :
if you have 2 VM :
VM1 - CPU = 1
VM2 - CPU = 3
It means that :
If only one VM needs CPU, it can use 100% cpu host...
But let imagine that the 2 VM really need CPU resource, at this time :
VM1 = can't use more than 25% host cpu ( => ratio 1/(1+3) )
VM2 = can't use more than 75% host cpu ( => ratio 3/(1+3) )
So the cpu numbers used didn't refer to real physical host cpu but refer to a "ratio"
.
Now i decided to study deeply Proxmox and installed v1.4 so...
But now, the variable "cores/socket" appeared...
And it means this "ratio" function disappeared..
Let me explain :
I have 16 cores recognized by Proxmox on the physical host.
So i setup 2 vm with 4 cores each.
When i made cpu stress in order to have 100% cpu on all cores, in each VM :
Only 50% CPU of the physical cores are used (2 * 4 / 16)
It never uses all the physical cores % ....
So i tried to setup extra cores value (e.g : 16 cores for one vm and 8 cores for other vm) but vm became suddenly so slow...
Thank to explain me the cores mechanism... (perhaps i initially misunderstood the sockets functioning)...
Sincerely,
I was trying Proxmox w/ v1.3...
I never had too much time to study each function but i remember have read that :
"cpu number act as a ratio :
if you have 2 VM :
VM1 - CPU = 1
VM2 - CPU = 3
It means that :
If only one VM needs CPU, it can use 100% cpu host...
But let imagine that the 2 VM really need CPU resource, at this time :
VM1 = can't use more than 25% host cpu ( => ratio 1/(1+3) )
VM2 = can't use more than 75% host cpu ( => ratio 3/(1+3) )
So the cpu numbers used didn't refer to real physical host cpu but refer to a "ratio"
.
Now i decided to study deeply Proxmox and installed v1.4 so...
But now, the variable "cores/socket" appeared...
And it means this "ratio" function disappeared..
Let me explain :
I have 16 cores recognized by Proxmox on the physical host.
So i setup 2 vm with 4 cores each.
When i made cpu stress in order to have 100% cpu on all cores, in each VM :
Only 50% CPU of the physical cores are used (2 * 4 / 16)
It never uses all the physical cores % ....
So i tried to setup extra cores value (e.g : 16 cores for one vm and 8 cores for other vm) but vm became suddenly so slow...
Thank to explain me the cores mechanism... (perhaps i initially misunderstood the sockets functioning)...
Sincerely,