380
NUMASTAT Utility
The numastat utility on Linux shows per NUMA node memory statistics for processors
and the operating system. With no command options or arguments, it displays NUMA
hit and miss system statistics from the kernel memory allocator. The default numastat
statistics shows per-node numbers, in units of pages of memory, for example:
$ sudo numastat
node0
node1
numa_hit
8718076
7881244
numa_miss
0
0
numa_foreign
0
0
interleave_hit
40135
40160
local_node
8642532
2806430
other_node
75544
5074814
• numa_hit is memory successfully allocated on this node as intended.
• numa_miss is memory allocated on this node despite the process
preferring some different node. Each numa_miss has a numa_foreign
on another node.
• numa_foreign is memory intended for this node but is actually
allocated on a different node. Each numa_foreign has a numa_miss on
another node.
• interleave_hit is interleaved memory successfully allocated on this
node as intended.
• local_node is memory allocated on this node while a process was
running on it.
• other_node is memory allocated on this node while a process was
running on another node.
Chapter 19 advanCed topiCs
Précédent

- 402/457

Suivant