• 3 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle



  • I would do everything in VMs, mostly Linux and probably one Windows. Proxmox would be only for managing VMs. I want everything in VMs because it’s more flexible for partitioning storage and i can have both Linux and Windows runing at the same time (which can’t be done with dualboot). I am student of computer science so i use it for programming, both for college and side projects. Sometimes there are a lot of programs i have so OS kind of gets bloated, not so much from performance standpoint but just mental overhead of having 10, 20, 30 programs and having to keep in mind what program needs what dependencies, env variables, etc… so i want to kind of group them to VMs and CTs.







  • 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).