Search code examples
linuxjvmkernelprocessornuma

How do I know if my server has NUMA?


Hopping from Java Garbage Collection, I came across JVM settings for NUMA. Curiously I wanted to check if my CentOS server has NUMA capabilities or not. Is there a *ix command or utility that could grab this info?


Solution

  • I'm no expert here, but here's something:

    Box 1, no NUMA:

    ~$ dmesg | grep -i numa
    [    0.000000] No NUMA configuration found
    

    Box 2, some NUMA:

    ~$ dmesg | grep -i numa
    [    0.000000] NUMA: Initialized distance table, cnt=8
    [    0.000000] NUMA: Node 4 [0,80000000) + [100000000,280000000) -> [0,280000000)