blob: aaf1667489f871ba47c9e68a109f0832b9713919 [file] [log] [blame]
Mauro Carvalho Chehabe4a5c332017-05-16 10:04:34 -03001===============================
Linus Torvalds1da177e2005-04-16 15:20:36 -07002Numa policy hit/miss statistics
Mauro Carvalho Chehabe4a5c332017-05-16 10:04:34 -03003===============================
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5/sys/devices/system/node/node*/numastat
6
7All units are pages. Hugepages have separate counters.
8
Mauro Carvalho Chehabe4a5c332017-05-16 10:04:34 -03009=============== ============================================================
Geunsik Lim36519c92012-02-25 11:12:23 +090010numa_hit A process wanted to allocate memory from this node,
11 and succeeded.
12
13numa_miss A process wanted to allocate memory from another node,
14 but ended up with memory from this node.
15
16numa_foreign A process wanted to allocate on this node,
17 but ended up with memory from another one.
18
19local_node A process ran on this node and got memory from it.
20
21other_node A process ran on this node and got memory from another node.
22
23interleave_hit Interleaving wanted to allocate from this node
24 and succeeded.
Mauro Carvalho Chehabe4a5c332017-05-16 10:04:34 -030025=============== ============================================================
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27For easier reading you can use the numastat utility from the numactl package
Geunsik Lim36519c92012-02-25 11:12:23 +090028(http://oss.sgi.com/projects/libnuma/). Note that it only works
Linus Torvalds1da177e2005-04-16 15:20:36 -070029well right now on machines with a small number of CPUs.
30