How to confirm NUMA?

前端 未结 2 760
余生分开走
余生分开走 2021-02-06 05:27

How can I confirm that a host is NUMA-aware? The Oracle doc says that NUMA-awareness starts at kernel 2.6.19, but the NUMA man page says that it was introduced with 2.6.14. I\

2条回答
  •  半阙折子戏
    2021-02-06 06:16

    The presence of those /proc files indicates that your linux kernel is numa-aware. Don't concern yourself too much comparing version numbers, as, particularly with Oracle / RHEL kernels, the vendors port/backport many features without keeping the version string "up to date".

    Other ways of testing the same thing:

    $ grep NUMA=y /boot/config-`uname -r`
    CONFIG_NUMA=y
    CONFIG_K8_NUMA=y
    CONFIG_X86_64_ACPI_NUMA=y
    CONFIG_ACPI_NUMA=y
    
    $ numactl --hardware
    available: 2 nodes (0-1)
    node 0 size: 18156 MB
    node 0 free: 9053 MB
    node 1 size: 18180 MB
    node 1 free: 6853 MB
    node distances:
    node   0   1
      0:  10  20
      1:  20  10
    

提交回复
热议问题