this post was submitted on 25 Aug 2023
4 points (100.0% liked)
Proxmox
1056 readers
4 users here now
Proxmox VE is a complete, open-source server management platform for enterprise virtualization. It tightly integrates the KVM hypervisor and Linux Containers (LXC), software-defined storage and networking functionality, on a single platform. With the integrated web-based user interface you can manage VMs and containers, high availability for clusters, or the integrated disaster recovery tools with ease.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You definitely shouldn't overprovision cores (logical cores, 16 in your case), especially for gamming VM. Because you are not going to get more performance, you are only going to increase overhead of context switching. One way to "pin" VM to half of cores is to give your VM 8 vCPU and increase vCPU units value (default is 1000). vCPU units determines VM priority in case of more work than CPU can handle.
https://forum.proxmox.com/threads/cpu-units.1047/
Basicaly if you have 2 VMs with default value of 1000 and CPU can't handle everything, proxmox will give both VMs equal cpu time (50/50).
But if for example you give first VM 3000 vCPU units, then under heavy load CPU time will be divided 75/25.
Time on CPU will be proportional to given vCPU units (under load).
So if you want to "pin" VM to 8 logical cores, then give VM 8 vCPUs and increase vCPU units (depending how big of priority you want).