VMware configuration give me various options for upgrade the cpu of the virtual machine.
- Number of virtual sockets
- Number of cores per socket
If I need 4 cpu in my linux box, which is better for perfomance, 4x1, 2x2, 1x4?
They should be pretty much equal. My understanding is that those options exist for software that is licensed per socket.
Technically there will some small variation but most of that will be based on your physical CPUs and their layout, your chipset and other load patterns. The only real way to be certain would be to benchmark each configuration - you may see 1-2% difference but there's a lot of effort to get to that.