Cores. Multiple virtual sockets are only relevant for systems with NUMA.Is there any performance advantage to increasing the socket count in a VM, or to increate the core count? For example I want 4 cores in my VM. Do I increase the sockets by 4, or the cores by 4?
Can you elaborate on this a bit? I've noticed that by default NUMA is disabled in the advanced section of CPU when creating VMs but noted an increase in performance when increasing sockets from 1 > 2 with cores the same (i.e. 1 Socket 4 Core > 2 Socket 4 Core) and comparing. This is in 3 guest Win10 custom debloated machines. Host is 2 Socket by 24 cores/each Dell poweredge.Multiple virtual sockets are only relevant for systems with NUMA.
Your two-socket system sounds like NUMA to me. Maybe I should have said to match the virtual sockets with the physical sockets. Enabling the NUMA option for your VMs might help even more, as the VM would be made aware that some memory is local to some virtual cores and the other half is not.Can you elaborate on this a bit? I've noticed that by default NUMA is disabled in the advanced section of CPU when creating VMs but noted an increase in performance when increasing sockets from 1 > 2 with cores the same (i.e. 1 Socket 4 Core > 2 Socket 4 Core) and comparing. This is in 3 guest Win10 custom debloated machines. Host is 2 Socket by 24 cores/each Dell poweredge.
Thanks for the advice! I just tested it and it's working well so far. I can't speak to it's performance increase yet, but in large scale, I'm sure it's enough to turn it on and do some testing.Your two-socket system sounds like NUMA to me.
lscpu | grep -i numa
NUMA node(s): 2
NUMA node0 CPU(s): 0-19,40-59
NUMA node1 CPU(s): 20-39,60-79
I dont believe this is true. My understanding is that there isnt a LOGICAL difference to the guest at all, and the only reason the options exists at all (other than its just a part of the api) is to allow simulation of a multisocket system in a vm, which is useful in some licensed environments.Cores. Multiple virtual sockets are only relevant for systems with NUMA.
We use essential cookies to make this site work, and optional cookies to enhance your experience.