[pve-devel] [PATCH-SERIES v3 qemu-server/manager/common] add and set x86-64-v2 as default model for new vms and detect best cpumodel

Eneko Lacunza elacunza at binovo.es
Wed Jun 7 14:07:52 CEST 2023


Hi,

El 6/6/23 a las 11:15, Fiona Ebner escribió:
> Am 05.06.23 um 17:20 schrieb Eneko Lacunza:
>>
>>> If you like you can also test
>>>
>>>> qm set <ID> -args '-cpu
>>>> Nehalem,enforce,+aes,-svm,-vmx,+kvm_pv_eoi,+kvm_pv_unhalt,vendor="GenuineIntel"'
>> This was good for 1700, but I suspect it may hang later, will check
>> tomorrow.
>>
>> 2600X: install was good, but after booting to GUI login screen, it froze
>> with ~50% CPU use. A reset booted well, no hang for now.
>> 5950X hung during installation, no CPU use. Reset + reinstall worked OK
>>
>> 3 VMs are left running in login screen to check tomorrow.
>>
VMs in 1700 and 2600X nodes are hung right know, first one almost no CPU 
use and second one with 50% (1 core) CPU use. VM in 5950X is working 
well yet... :)

> Thank you for testing! This is consistent with what Aaron and I
> experienced. So there is an issue with basing the CPU off Nehalem (in
> combination with the kvm_pv_unhalt flag), but basing off kvm64 seems to
> work just fine :)
>
> If you'd like to further test, please use
>
> qm set <ID> -args '-cpu
> qemu64,+aes,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+pni,+popcnt,+sse4.1,+sse4.2,+ssse3'
>
> as that's the default proposed in the latest version.
>

With those flags Debian 11 installs on Ryzen 1700, 2600X and 5950X have 
been flawless. Will leave VMs on for a couple of days just in case.

Thanks

Eneko Lacunza
Zuzendari teknikoa | Director técnico
Binovo IT Human Project

Tel. +34 943 569 206 | https://www.binovo.es
Astigarragako Bidea, 2 - 2º izda. Oficina 10-11, 20180 Oiartzun

https://www.youtube.com/user/CANALBINOVO
https://www.linkedin.com/company/37269706/





More information about the pve-devel mailing list