Linux中的NUMA CPU编号
发布时间:2020-12-14 02:26:39 所属栏目:Linux 来源:网络整理
导读:我可以访问两个NUMA服务器.其中一个是戴尔R720,并有这些CPU: $cat /proc/cpuinfo |grep Xeon|sort|uniq -c 24 model name : Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz 另一种是HPE DL360 Gen8并具有以下CPU: $cat /proc/cpuinfo |grep Xeon|sort|uniq -
我可以访问两个NUMA服务器.其中一个是戴尔R720,并有这些CPU:
$cat /proc/cpuinfo |grep Xeon|sort|uniq -c 24 model name : Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz 另一种是HPE DL360 Gen8并具有以下CPU: $cat /proc/cpuinfo |grep Xeon|sort|uniq -c 24 model name : Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz 在我们有许多HPE Gen9服务器的工作中,我已经习惯了CPU编号(socket0,socket1,socket0 HyperThreads,socket1 HyperThreads).似乎HPE DL360 Gen8使用了这个编号: $cat /proc/cpuinfo |grep physical.id|uniq -c 6 physical id : 0 6 physical id : 1 6 physical id : 0 6 physical id : 1 但Dell R720服务器使用不同的编号: $cat /proc/cpuinfo |grep physical.id|uniq -c 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 1 physical id : 0 1 physical id : 1 我的问题是,是什么导致了这种差异?服务器有两个略有不同的内核版本: 戴尔R720: $uname -a Linux dell 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux HPE DL360 Gen8: $uname -a Linux hpe 4.11.0-14-generic #20~16.04.1-Ubuntu SMP Wed Aug 9 09:06:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux 这是由不同的内核版本引起的吗?还是由不同的CPU?或者通过不同的主板/ BIOS? 编辑:我更新了两台机器上的内核并重新启动,所以现在两台机器都使用完全相同的内核版本.尽管如此,差异仍然存在. 解决方法
停止grepping和uniq并运行lscpu和lstopo –of png> server.png并可视化结果……
[root@LA_Specialty ~]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit,64-bit Byte Order: Little Endian CPU(s): 24 On-line CPU(s) list: 0-23 Thread(s) per core: 2 Core(s) per socket: 6 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 62 Model name: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz Stepping: 4 CPU MHz: 3501.000 BogoMIPS: 7013.88 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 25600K NUMA node0 CPU(s): 0-5,12-17 NUMA node1 CPU(s): 6-11,18-23 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- linux – Samhain可以监控一个不存在但可能在将来
- linux – 如何使用rlwrap杀死telnet客户端,因为^
- docker初体验,搭建自用的gitlab服务
- linux – gcsfuse输入/输出错误
- linux – Find返回“find:.:Permission denied
- linux – 在每个部分的标题中按(DOW MON DD YY)日
- 删除的文件会在linux上重定向后发生什么?
- c – Ubuntu 10.04,MAP_HUGETLB与MAP_SHARED一
- linux – 如何访问Hadoop HDFS中的文件?
- linux-networking – 如何在Linux中查询ARP缓存条
热点阅读