numa,numa node 和物理内存

[root@rac2 ~]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                12
On-line CPU(s) list:   0-11
Thread(s) per core:    1
Core(s) per socket:    6
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Model name:            Intel(R) Xeon(R) CPU E5-2603 v3 @ 1.60GHz
Stepping:              2
CPU MHz:               1398.625
BogoMIPS:              3205.07
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              15360K
NUMA node0 CPU(s):     0-5
NUMA node1 CPU(s):     6-11
[root@rac2 ~]# numastat
                           node0           node1
numa_hit                 2815615         2618359
numa_miss                      0               0
numa_foreign                   0               0
interleave_hit             34872           34865
local_node               2815015         2580218
other_node                   600           38141
[root@rac2 ~]# numactl --hardware
available: 2 nodes (0-1)
node 0 cpus: 0 1 2 3 4 5
node 0 size: 65425 MB  ----->>numa node 0的内存大小
node 0 free: 62868 MB
node 1 cpus: 6 7 8 9 10 11
node 1 size: 65536 MB  ----->>numa node 1的内存大小,看这个结果貌似是numa的各个node瓜分物理内存.
node 1 free: 63886 MB
node distances:
node   0   1 
  0:  10  21 
  1:  21  10 
[root@rac2 ~]# free -m
              total        used        free      shared  buff/cache   available
Mem:         128834        1540      126754           9         539      127052
Swap:         17407           0       17407
[root@rac2 ~]# 

你可能感兴趣的:(numa,node,内存)