Blame view

Documentation/numastat.txt 1.03 KB
e4a5c33ed   Mauro Carvalho Chehab   numastat.txt: sta...
1
  ===============================
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
  Numa policy hit/miss statistics
e4a5c33ed   Mauro Carvalho Chehab   numastat.txt: sta...
3
  ===============================
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
4
5
6
7
  
  /sys/devices/system/node/node*/numastat
  
  All units are pages. Hugepages have separate counters.
e4a5c33ed   Mauro Carvalho Chehab   numastat.txt: sta...
8
  =============== ============================================================
36519c9ee   Geunsik Lim   Doc: Update numas...
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  numa_hit	A process wanted to allocate memory from this node,
  		and succeeded.
  
  numa_miss	A process wanted to allocate memory from another node,
  		but ended up with memory from this node.
  
  numa_foreign	A process wanted to allocate on this node,
  		but ended up with memory from another one.
  
  local_node	A process ran on this node and got memory from it.
  
  other_node	A process ran on this node and got memory from another node.
  
  interleave_hit 	Interleaving wanted to allocate from this node
  		and succeeded.
e4a5c33ed   Mauro Carvalho Chehab   numastat.txt: sta...
24
  =============== ============================================================
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
25
26
  
  For easier reading you can use the numastat utility from the numactl package
36519c9ee   Geunsik Lim   Doc: Update numas...
27
  (http://oss.sgi.com/projects/libnuma/). Note that it only works
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
28
  well right now on machines with a small number of CPUs.