前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Windows核实NUMA(node)

Windows核实NUMA(node)

原创
作者头像
Windows技术交流
修改2024-03-08 16:51:07
2.4K0
修改2024-03-08 16:51:07
举报
文章被收录于专栏:Windows技术交流

Socket/Node/Die/Core/Processor的区别

运行msinfo32,看右侧是几个处理器,1个就是单socket,2个就是双socket。

查看CPU个数:

代码语言:powershell
复制
(Get-WmiObject -Class Win32_ComputerSystem).NumberOfProcessors

查看vCPU个数:

代码语言:powershell
复制
(Get-WmiObject -Class Win32_ComputerSystem).NumberOfLogicalProcessors

除过msinfo32,还有其他命令。

1、https://live.sysinternals.com/coreinfo64.exe

命令用法:coreinfo64.exe -cgnsv

2、https://www.open-mpi.org/software/hwloc/v2.4/

命令用法:hwloc-info

可能有

2个node,双线程(这个我目前还没碰到,碰到了再补图)

2个node,单线程

1个node,双线程

1个node,单线程

举例:

2个node,单线程(注意看每行1个*)

coreinfo64.exe -cgnsv

Get-NetAdapterRss

1个node,双线程(注意看每行2个*)

coreinfo64.exe -cgnsv

Get-NetAdapterRss

1个node,单线程(注意看每行1个*)

coreinfo64.exe -cgnsv

Get-NetAdapterRss

前面说的"2个node,双线程(这个我目前还没碰到,碰到了再补图)"

现在遇到了

像这个就是,80核 机器,有2个CPU,每个CPU又是超线程,每个CPU有40个逻辑核

Get-NetAdapterRss

执行coreinfo64.exe -cgnsv的记录如下,

coreinfo64.exe -cgnsv

Coreinfo v3.52 - Dump information on system CPU and memory topology

Copyright (C) 2008-2021 Mark Russinovich

Sysinternals - www.sysinternals.com

Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz

Intel64 Family 6 Model 85 Stepping 4, GenuineIntel

Microcode signature: 02006A08

HYPERVISOR - Hypervisor is present

VMX * Supports Intel hardware-assisted virtualization

EPT * Supports Intel extended page tables (SLAT)

URG * Supports Intel unrestricted guest

Logical to Physical Processor Map:

Physical Processor 0 (Hyperthreaded):

**--------------------------------------

----------------------------------------

Physical Processor 1 (Hyperthreaded):

--**------------------------------------

----------------------------------------

Physical Processor 2 (Hyperthreaded):

----**----------------------------------

----------------------------------------

Physical Processor 3 (Hyperthreaded):

------**--------------------------------

----------------------------------------

Physical Processor 4 (Hyperthreaded):

--------**------------------------------

----------------------------------------

Physical Processor 5 (Hyperthreaded):

----------**----------------------------

----------------------------------------

Physical Processor 6 (Hyperthreaded):

------------**--------------------------

----------------------------------------

Physical Processor 7 (Hyperthreaded):

--------------**------------------------

----------------------------------------

Physical Processor 8 (Hyperthreaded):

----------------**----------------------

----------------------------------------

Physical Processor 9 (Hyperthreaded):

------------------**--------------------

----------------------------------------

Physical Processor 10 (Hyperthreaded):

--------------------**------------------

----------------------------------------

Physical Processor 11 (Hyperthreaded):

----------------------**----------------

----------------------------------------

Physical Processor 12 (Hyperthreaded):

------------------------**--------------

----------------------------------------

Physical Processor 13 (Hyperthreaded):

--------------------------**------------

----------------------------------------

Physical Processor 14 (Hyperthreaded):

----------------------------**----------

----------------------------------------

Physical Processor 15 (Hyperthreaded):

------------------------------**--------

----------------------------------------

Physical Processor 16 (Hyperthreaded):

--------------------------------**------

----------------------------------------

Physical Processor 17 (Hyperthreaded):

----------------------------------**----

----------------------------------------

Physical Processor 18 (Hyperthreaded):

------------------------------------**--

----------------------------------------

Physical Processor 19 (Hyperthreaded):

--------------------------------------**

----------------------------------------

Physical Processor 20 (Hyperthreaded):

----------------------------------------

**--------------------------------------

Physical Processor 21 (Hyperthreaded):

----------------------------------------

--**------------------------------------

Physical Processor 22 (Hyperthreaded):

----------------------------------------

----**----------------------------------

Physical Processor 23 (Hyperthreaded):

----------------------------------------

------**--------------------------------

Physical Processor 24 (Hyperthreaded):

----------------------------------------

--------**------------------------------

Physical Processor 25 (Hyperthreaded):

----------------------------------------

----------**----------------------------

Physical Processor 26 (Hyperthreaded):

----------------------------------------

------------**--------------------------

Physical Processor 27 (Hyperthreaded):

----------------------------------------

--------------**------------------------

Physical Processor 28 (Hyperthreaded):

----------------------------------------

----------------**----------------------

Physical Processor 29 (Hyperthreaded):

----------------------------------------

------------------**--------------------

Physical Processor 30 (Hyperthreaded):

----------------------------------------

--------------------**------------------

Physical Processor 31 (Hyperthreaded):

----------------------------------------

----------------------**----------------

Physical Processor 32 (Hyperthreaded):

----------------------------------------

------------------------**--------------

Physical Processor 33 (Hyperthreaded):

----------------------------------------

--------------------------**------------

Physical Processor 34 (Hyperthreaded):

----------------------------------------

----------------------------**----------

Physical Processor 35 (Hyperthreaded):

----------------------------------------

------------------------------**--------

Physical Processor 36 (Hyperthreaded):

----------------------------------------

--------------------------------**------

Physical Processor 37 (Hyperthreaded):

----------------------------------------

----------------------------------**----

Physical Processor 38 (Hyperthreaded):

----------------------------------------

------------------------------------**--

Physical Processor 39 (Hyperthreaded):

----------------------------------------

--------------------------------------**

Logical Processor to Socket Map:

Socket 0:

****************************************

----------------------------------------

Socket 1:

----------------------------------------

****************************************

Logical Processor to NUMA Node Map:

NUMA Node 0:

****************************************

----------------------------------------

NUMA Node 1:

----------------------------------------

****************************************

Logical Processor to Group Map:

Group 0:

****************************************

----------------------------------------

Group 1:

----------------------------------------

****************************************

PS C:\Users\Administrator>

执行hwloc-info的结果如下图

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Socket/Node/Die/Core/Processor的区别
相关产品与服务
云服务器
云服务器(Cloud Virtual Machine,CVM)提供安全可靠的弹性计算服务。 您可以实时扩展或缩减计算资源,适应变化的业务需求,并只需按实际使用的资源计费。使用 CVM 可以极大降低您的软硬件采购成本,简化 IT 运维工作。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档