CPU Models & Flags

Jun 30, 2021
17
2
8
34
To start, I am trying to optimize performance with Proxmox VMs to use as much of my host CPU performance within 1-2 generations of current. My host machine is running a Ryzen 5800X. All the machines I will be running these VMs will be at least that generation or better. While performance testing between host and kvm64, host is almost similar performance to bare metal, while kvm64 takes a hit in some areas.

1. Reviewing the docs here - https://localhost:8006/pve-docs/cpu-models.conf.5.html. It states that /etc/pve/virtual-guest/cpu-models.conf is where you can go to add custom CPU models. When I visit virtual-guest, its empty, does this file need to be created for any custom CPU flags?

2. When I read the docs, it states that reported-model: has to be one of the listed options. Suppose you make a cpu model: of custom-zen3 and the reported model of kvm64 with additional flags that are supported on Zen 3, 5000 series chips. How does this work when moving between node servers? Does it just work as kvm64 or do I need to create a custom-zen3 on the second machine for the VM to transfer?
 
Hi,

1.)
Yes you need to create this file.

2.)
It won't work well if the other nodes are not supporting those flags. If your nodes are in a cluster, then the /etv/pve will be synced/shared between all nodes, so you don't need to create that file everywhere.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!