[SOLVED] Help about cpu type

Use host for max performance, but only if you have a singlehost. If you have a cluster, make sure all hosts have same cpu, otherwise livemigration might not work.
 
Use host for max performance, but only if you have a singlehost. If you have a cluster, make sure all hosts have same cpu, otherwise livemigration might not work.

Sorry I forgot to mention that I don't want to use host but keep the processor inside of machine "generic", but with the right features.

Both my cpu supports AES so the default x86-64v2 AES should be ok, but maybe I can set the v3 or the v4.. but how can I check if the instructions of the v3 and v4 are supported by the xeons I have?
 
Hi,
Hello, I have a proxmox server with a Xeon E3-1265L v3 (link intel ark) and another machine with a Xeon E3-1240 v6 (link intel ark), how can I choose the right cpu type?
if the nodes are in a cluster, you need a CPU type both hosts support for live migration. Otherwise you can just select the most fitting model from the list.

The wiki page is auto-generated from the documentation and it seems something went wrong with the link during conversion. The list is available here: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_qm_vcpu_list

Sorry I forgot to mention that I don't want to use host but keep the processor inside of machine "generic", but with the right features.

Both my cpu supports AES so the default x86-64v2 AES should be ok, but maybe I can set the v3 or the v4.. but how can I check if the instructions of the v3 and v4 are supported by the xeons I have?
You need >=Broadwell for x86-64-v3 and >=Skylake for x86-64-v4, so I think your Haswell CPU is too old for either of them. QEMU should also tell you that features are not supported by the host CPU and refuse to start if you select and incompatible CPU model.
 
  • Like
Reactions: crc-error-79
@DJB-WSM Interesting, that's a different list than Proxmox, who says:
"x86-64-v3: Compatible with Intel CPU >= Broadwell, ..."

Despite the above, x86-64-v3 works on a Haswell here, to start up and migrate a VM back and forth. Haswell-noTSX works also.

Interestingly "Haswell" fails with:
kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]

Haswell-noTSX-IBRS fails with:
kvm: warning: host doesn't support requested feature: CPUID.07H:EDX.spec-ctrl [bit 26]

Haswell-IBRS fails with all 3 of the above errors.

The Proxmox list has "Haswell-IBRS (v3)" and this particular CPU is a Xeon E5-2650 v3. Is that not the same "v3" then?

Thanks.
 
Last edited:
Follow up, I changed two VMs' CPUs....an Alma 8 server has basically the same CPU usage, maybe .1% higher. An Alma 9 server that should be completely idle (it has some Docker containers, no one's using it) is about .5% higher CPU (3.5% vs 2.96%).

I'm not totally surprised, given other threads like:
 
thats because on windows 11 / windows server 2025 vbs (virtualization based security) is enabled when you install it on real hardware.

if you virtualize it and use "host" as cpu type (and assuming the cpu is a newer model) its enabled too but then you have nested virtualization and that hurts performance.

by changing the cpu type to "x86-64-v2" vbs inside windows vm's gets disabled (cpu instructions for vbs support missing) and the performance gets a boost at the cost of some security.
 
I'm aware of that but does AlmaLinux 9 do that also?

I'm aware we're digressing off the thread a but but one more interesting point, CPU increased again after changing it back to "v2", check the flat spots:
1744475048178.png

¯\_(ツ)_/¯ I'm not worried about a tiny amount, I just think it's odd. Guess we should never restart this VM, ha.

Edit: oops, seems it was still on v3. [After] a few minutes, the v2 CPU is still about 3.5% not 2.97%. Oh well.
 
Last edited: