[pve-devel] applied-series: [PATCH-SERIES v6 qemu-server/manager] add and set x86-64-v2-AES as default model for new vms

Fiona Ebner f.ebner at proxmox.com
Mon Jun 12 18:23:21 CEST 2023


Am 08.06.23 um 11:51 schrieb Alexandre Derumier:
> 
> Hi,
> 
> we used kvm64 as default cpumodel since the begin of proxmox. (basically, it's like a pentium4 cpu flags).
> 
> New distros like rhel9 are compiled to use more modern cpu flags.
> (and windows already use new flags since year, and we already add some extra cpu flags)
> 
> "
> In 2020, AMD, Intel, Red Hat, and SUSE worked together to define
> three microarchitecture levels on top of the historical x86-64
> baseline:
> 
>   * x86-64-v1: original x86_64 baseline instruction set
>   * x86-64-v2: vector instructions up to Streaming SIMD
>                Extensions 4.2 (SSE4.2)  and Supplemental
>                Streaming SIMD Extensions 3 (SSSE3), the
>                POPCNT instruction, and CMPXCHG16B
>   * x86-64-v3: vector instructions up to AVX2, MOVBE,
>                and additional bit-manipulation instructions.
>   * x86-64-v4: vector instructions from some of the
>                AVX-512 variants.
> 
> "
> 
> 
> This patch series add new models inspired from a patch was found on qemu mailing, but never appplied
> 
> https://lore.kernel.org/all/20210526144038.278899-1-berrange@redhat.com/T/
> 
> 
> In addition to theses model, I have enabled aes too.
> I think it's really important, because a lot of users use default values and have
> bad performance with ssl and other crypto stuffs.
>

applied series, thanks!

We could bump the dependency pve-manager -> qemu-server, but when having
different versions across nodes, one would still run into an issue if
the backend doesn't know the new model, so not sure if worth it.





More information about the pve-devel mailing list