V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
edis0n0
V2EX  ›  程序员

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

  •  
  •   edis0n0 · 2022-10-24 21:02:58 +08:00 · 1399 次点击
    这是一个创建于 795 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    2 条回复    2022-10-25 08:47:03 +08:00
    geekvcn
        1
    geekvcn  
       2022-10-24 21:10:28 +08:00 via Android
    方便跨 NUMA 吧
    menory
        2
    menory  
       2022-10-25 08:47:03 +08:00
    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.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2804 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 07:22 · PVG 15:22 · LAX 23:22 · JFK 02:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.