Numa

From DWIKI
Revision as of 12:34, 30 March 2026 by Tony (talk | contribs) (numatop)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Links

Tools

lscpu

NUMA:
 NUMA node(s):           2
 NUMA node0 CPU(s):      0-7,16-23
 NUMA node1 CPU(s):      8-15,24-31

Where node0 has physical cores 0-7 and 16-23 are virtual/SMT

numactl

numatop

Error messages

CPU is not supported!

Doesn't work in VM? Or just doesn't know the CPU?

Fail to setup perf (probably permission denied)!

Seems you need to run it was root, with a high ulimit -n

numastat


On host

Also try per guest, get PID of guest and

numastat <PID>


On guest

Numatune

Is run on the host

lstopo

Package: hwloc Try

lstopo --of txt


Output

PU
Package Unit. Usually core + optional SMT