linux - 检查系统是否支持 NUMA

netbar2000

2018-03-09T08:01:25Z||2018-03-09T08:01:25Z

运行:

dmesg | grep -i numa

如果支持NUMA,输出类似是这样:

[    0.000000] NUMA: Initialized distance table, cnt=2
[    0.000000] Enabling automatic NUMA balancing. Configure with numa_balancing= or the kernel.numa_balancing sysctl
[    0.685247] pci_bus 0000:00: on NUMA node 0
[    0.692256] pci_bus 0000:80: on NUMA node 1