edis0n0
V2EX  ›  程序员

为什么 VMware 默认是 2vCPU, 1vCore per CPU 而不是 1vCPU, 2vCore?有什么讲究吗?

By edis0n0 at 2022 年 10 月 24 日 · 2471 次点击

本来以为只有 Linux 是这样,没想到全都是这样,想知道为什么

2 条回复  •  2022-10-25 08:47:03 +08:00
geekvcn
   1
geekvcn  
   2022 年 10 月 24 日 via Android
方便跨 NUMA 吧
menory
   2
menory  
   2022 年 10 月 25 日
Recommended Practices
#1 When creating a virtual machine, by default, vSphere will create as many virtual sockets as you’ve requested vCPUs and the cores per socket is equal to one. I think of this configuration as “wide” and “flat.” This will enable vNUMA to select and present the best virtual NUMA topology to the guest operating system, which will be optimal on the underlying physical topology.

#2 When you must change the cores per socket though, commonly due to licensing constraints, ensure you mirror physical server’s NUMA topology. This is because when a virtual machine is no longer configured by default as “wide” and “flat,” vNUMA will not automatically pick the best NUMA configuration based on the physical server, but will instead honor your configuration – right or wrong – potentially leading to a topology mismatch that does affect performance.
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
© 2026 V2EX · 31ms · 3.9.8.5