Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | |
| 2 | Numa policy hit/miss statistics |
| 3 | |
| 4 | /sys/devices/system/node/node*/numastat |
| 5 | |
| 6 | All units are pages. Hugepages have separate counters. |
| 7 | |
| 8 | numa_hit A process wanted to allocate memory from this node, |
| 9 | and succeeded. |
Minchan Kim | 5d3bc27 | 2009-09-21 17:03:21 -0700 | [diff] [blame] | 10 | numa_miss A process wanted to allocate memory from another node, |
| 11 | but ended up with memory from this node. |
| 12 | numa_foreign A process wanted to allocate on this node, |
| 13 | but ended up with memory from another one. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | local_node A process ran on this node and got memory from it. |
| 15 | other_node A process ran on this node and got memory from another node. |
| 16 | interleave_hit Interleaving wanted to allocate from this node |
| 17 | and succeeded. |
| 18 | |
| 19 | For easier reading you can use the numastat utility from the numactl package |
| 20 | (ftp://ftp.suse.com/pub/people/ak/numa/numactl*). Note that it only works |
| 21 | well right now on machines with a small number of CPUs. |
| 22 | |