Hi all, I have two gaming VMs set up and running on a Ryzen 2700X. I'm quite impressed with the performance so far, although it's nowhere near what it manages natively. I think this may be in part due to how I have the VMs configured.
The 2700X is an 8 core/16 thread CPU. I imagine the best way for our VMs to be laid out would be to have 1 core for Proxmox and 7 shared between the two VMs. I'm not sure what this looks like in the configuration though. For a while I had each VM set up with 14 vCPUs, since the Proxmox dashboard shows the node as having 16 cores. I assumed that allocating 14 vCPUs was to "speak the same language" as Proxmox, by referring to the thread count.
However, it seems that we get better performance by allocating 7 vCPUs to each VM, so I'm not sure if I'm missing part of the configuration options here.
Is there a way to pin cores and their hyperthreading pairs to particular machines in the Proxmox configuration files? I looked at the NUMA options but they don't seem applicable here, since we only have 1 node with these 8 cores and 16 threads.
What is the most reasonable setup here? Is allocating 7 cores to each VM equivalent to allocating a core to Proxmox and sharing the remaining 7 between the VMs? Does it dedicate 1 core each to the VMs with the remaining 6 shared, and the hypervisor living somewhere in there? A mix of these?
The 2700X is an 8 core/16 thread CPU. I imagine the best way for our VMs to be laid out would be to have 1 core for Proxmox and 7 shared between the two VMs. I'm not sure what this looks like in the configuration though. For a while I had each VM set up with 14 vCPUs, since the Proxmox dashboard shows the node as having 16 cores. I assumed that allocating 14 vCPUs was to "speak the same language" as Proxmox, by referring to the thread count.
However, it seems that we get better performance by allocating 7 vCPUs to each VM, so I'm not sure if I'm missing part of the configuration options here.
Is there a way to pin cores and their hyperthreading pairs to particular machines in the Proxmox configuration files? I looked at the NUMA options but they don't seem applicable here, since we only have 1 node with these 8 cores and 16 threads.
What is the most reasonable setup here? Is allocating 7 cores to each VM equivalent to allocating a core to Proxmox and sharing the remaining 7 between the VMs? Does it dedicate 1 core each to the VMs with the remaining 6 shared, and the hypervisor living somewhere in there? A mix of these?