15bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/possible 25bbe1ec1SDavidlohr BuesoDate: October 2002 35bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 45bbe1ec1SDavidlohr BuesoDescription: 55bbe1ec1SDavidlohr Bueso Nodes that could be possibly become online at some point. 65bbe1ec1SDavidlohr Bueso 75bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/online 85bbe1ec1SDavidlohr BuesoDate: October 2002 95bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 105bbe1ec1SDavidlohr BuesoDescription: 115bbe1ec1SDavidlohr Bueso Nodes that are online. 125bbe1ec1SDavidlohr Bueso 135bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/has_normal_memory 145bbe1ec1SDavidlohr BuesoDate: October 2002 155bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 165bbe1ec1SDavidlohr BuesoDescription: 175bbe1ec1SDavidlohr Bueso Nodes that have regular memory. 185bbe1ec1SDavidlohr Bueso 195bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/has_cpu 205bbe1ec1SDavidlohr BuesoDate: October 2002 215bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 225bbe1ec1SDavidlohr BuesoDescription: 235bbe1ec1SDavidlohr Bueso Nodes that have one or more CPUs. 245bbe1ec1SDavidlohr Bueso 255bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/has_high_memory 265bbe1ec1SDavidlohr BuesoDate: October 2002 275bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 285bbe1ec1SDavidlohr BuesoDescription: 295bbe1ec1SDavidlohr Bueso Nodes that have regular or high memory. 305bbe1ec1SDavidlohr Bueso Depends on CONFIG_HIGHMEM. 315bbe1ec1SDavidlohr Bueso 32e7c84ee2SMel GormanWhat: /sys/devices/system/node/nodeX 33e7c84ee2SMel GormanDate: October 2002 34e7c84ee2SMel GormanContact: Linux Memory Management list <linux-mm@kvack.org> 35e7c84ee2SMel GormanDescription: 36e7c84ee2SMel Gorman When CONFIG_NUMA is enabled, this is a directory containing 37e7c84ee2SMel Gorman information on node X such as what CPUs are local to the 385bbe1ec1SDavidlohr Bueso node. Each file is detailed next. 395bbe1ec1SDavidlohr Bueso 405bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/nodeX/cpumap 415bbe1ec1SDavidlohr BuesoDate: October 2002 425bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 435bbe1ec1SDavidlohr BuesoDescription: 445bbe1ec1SDavidlohr Bueso The node's cpumap. 455bbe1ec1SDavidlohr Bueso 465bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/nodeX/cpulist 475bbe1ec1SDavidlohr BuesoDate: October 2002 485bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 495bbe1ec1SDavidlohr BuesoDescription: 505bbe1ec1SDavidlohr Bueso The CPUs associated to the node. 515bbe1ec1SDavidlohr Bueso 525bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/nodeX/meminfo 535bbe1ec1SDavidlohr BuesoDate: October 2002 545bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 555bbe1ec1SDavidlohr BuesoDescription: 565bbe1ec1SDavidlohr Bueso Provides information about the node's distribution and memory 570c1bc6b8SMauro Carvalho Chehab utilization. Similar to /proc/meminfo, see Documentation/filesystems/proc.rst 585bbe1ec1SDavidlohr Bueso 595bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/nodeX/numastat 605bbe1ec1SDavidlohr BuesoDate: October 2002 615bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 625bbe1ec1SDavidlohr BuesoDescription: 635bbe1ec1SDavidlohr Bueso The node's hit/miss statistics, in units of pages. 644f4cfa6cSMauro Carvalho Chehab See Documentation/admin-guide/numastat.rst 655bbe1ec1SDavidlohr Bueso 665bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/nodeX/distance 675bbe1ec1SDavidlohr BuesoDate: October 2002 685bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 695bbe1ec1SDavidlohr BuesoDescription: 705bbe1ec1SDavidlohr Bueso Distance between the node and all the other nodes 715bbe1ec1SDavidlohr Bueso in the system. 725bbe1ec1SDavidlohr Bueso 735bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/nodeX/vmstat 745bbe1ec1SDavidlohr BuesoDate: October 2002 755bbe1ec1SDavidlohr BuesoContact: Linux Memory Management list <linux-mm@kvack.org> 765bbe1ec1SDavidlohr BuesoDescription: 775bbe1ec1SDavidlohr Bueso The node's zoned virtual memory statistics. 785bbe1ec1SDavidlohr Bueso This is a superset of numastat. 795bbe1ec1SDavidlohr Bueso 805bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/nodeX/compact 815bbe1ec1SDavidlohr BuesoDate: February 2010 825bbe1ec1SDavidlohr BuesoContact: Mel Gorman <mel@csn.ul.ie> 835bbe1ec1SDavidlohr BuesoDescription: 845bbe1ec1SDavidlohr Bueso When this file is written to, all memory within that node 855bbe1ec1SDavidlohr Bueso will be compacted. When it completes, memory will be freed 865bbe1ec1SDavidlohr Bueso into blocks which have as many contiguous pages as possible 875bbe1ec1SDavidlohr Bueso 885bbe1ec1SDavidlohr BuesoWhat: /sys/devices/system/node/nodeX/hugepages/hugepages-<size>/ 895bbe1ec1SDavidlohr BuesoDate: December 2009 905bbe1ec1SDavidlohr BuesoContact: Lee Schermerhorn <lee.schermerhorn@hp.com> 915bbe1ec1SDavidlohr BuesoDescription: 925bbe1ec1SDavidlohr Bueso The node's huge page size control/query attributes. 931ad1335dSMike Rapoport See Documentation/admin-guide/mm/hugetlbpage.rst 9408d9dbe7SKeith Busch 9508d9dbe7SKeith BuschWhat: /sys/devices/system/node/nodeX/accessY/ 9608d9dbe7SKeith BuschDate: December 2018 9708d9dbe7SKeith BuschContact: Keith Busch <keith.busch@intel.com> 9808d9dbe7SKeith BuschDescription: 9908d9dbe7SKeith Busch The node's relationship to other nodes for access class "Y". 10008d9dbe7SKeith Busch 10108d9dbe7SKeith BuschWhat: /sys/devices/system/node/nodeX/accessY/initiators/ 10208d9dbe7SKeith BuschDate: December 2018 10308d9dbe7SKeith BuschContact: Keith Busch <keith.busch@intel.com> 10408d9dbe7SKeith BuschDescription: 10508d9dbe7SKeith Busch The directory containing symlinks to memory initiator 10608d9dbe7SKeith Busch nodes that have class "Y" access to this target node's 10708d9dbe7SKeith Busch memory. CPUs and other memory initiators in nodes not in 10808d9dbe7SKeith Busch the list accessing this node's memory may have different 10908d9dbe7SKeith Busch performance. 11008d9dbe7SKeith Busch 11108d9dbe7SKeith BuschWhat: /sys/devices/system/node/nodeX/accessY/targets/ 11208d9dbe7SKeith BuschDate: December 2018 11308d9dbe7SKeith BuschContact: Keith Busch <keith.busch@intel.com> 11408d9dbe7SKeith BuschDescription: 11508d9dbe7SKeith Busch The directory containing symlinks to memory targets that 11608d9dbe7SKeith Busch this initiator node has class "Y" access. 117e1cf33aaSKeith Busch 118e1cf33aaSKeith BuschWhat: /sys/devices/system/node/nodeX/accessY/initiators/read_bandwidth 119e1cf33aaSKeith BuschDate: December 2018 120e1cf33aaSKeith BuschContact: Keith Busch <keith.busch@intel.com> 121e1cf33aaSKeith BuschDescription: 122e1cf33aaSKeith Busch This node's read bandwidth in MB/s when accessed from 123e1cf33aaSKeith Busch nodes found in this access class's linked initiators. 124e1cf33aaSKeith Busch 125e1cf33aaSKeith BuschWhat: /sys/devices/system/node/nodeX/accessY/initiators/read_latency 126e1cf33aaSKeith BuschDate: December 2018 127e1cf33aaSKeith BuschContact: Keith Busch <keith.busch@intel.com> 128e1cf33aaSKeith BuschDescription: 129e1cf33aaSKeith Busch This node's read latency in nanoseconds when accessed 130e1cf33aaSKeith Busch from nodes found in this access class's linked initiators. 131e1cf33aaSKeith Busch 132e1cf33aaSKeith BuschWhat: /sys/devices/system/node/nodeX/accessY/initiators/write_bandwidth 133e1cf33aaSKeith BuschDate: December 2018 134e1cf33aaSKeith BuschContact: Keith Busch <keith.busch@intel.com> 135e1cf33aaSKeith BuschDescription: 136e1cf33aaSKeith Busch This node's write bandwidth in MB/s when accessed from 137e1cf33aaSKeith Busch found in this access class's linked initiators. 138e1cf33aaSKeith Busch 139e1cf33aaSKeith BuschWhat: /sys/devices/system/node/nodeX/accessY/initiators/write_latency 140e1cf33aaSKeith BuschDate: December 2018 141e1cf33aaSKeith BuschContact: Keith Busch <keith.busch@intel.com> 142e1cf33aaSKeith BuschDescription: 143e1cf33aaSKeith Busch This node's write latency in nanoseconds when access 144e1cf33aaSKeith Busch from nodes found in this class's linked initiators. 145acc02a10SKeith Busch 146acc02a10SKeith BuschWhat: /sys/devices/system/node/nodeX/memory_side_cache/indexY/ 147acc02a10SKeith BuschDate: December 2018 148acc02a10SKeith BuschContact: Keith Busch <keith.busch@intel.com> 149acc02a10SKeith BuschDescription: 150acc02a10SKeith Busch The directory containing attributes for the memory-side cache 151acc02a10SKeith Busch level 'Y'. 152acc02a10SKeith Busch 153acc02a10SKeith BuschWhat: /sys/devices/system/node/nodeX/memory_side_cache/indexY/indexing 154acc02a10SKeith BuschDate: December 2018 155acc02a10SKeith BuschContact: Keith Busch <keith.busch@intel.com> 156acc02a10SKeith BuschDescription: 157acc02a10SKeith Busch The caches associativity indexing: 0 for direct mapped, 158acc02a10SKeith Busch non-zero if indexed. 159acc02a10SKeith Busch 160acc02a10SKeith BuschWhat: /sys/devices/system/node/nodeX/memory_side_cache/indexY/line_size 161acc02a10SKeith BuschDate: December 2018 162acc02a10SKeith BuschContact: Keith Busch <keith.busch@intel.com> 163acc02a10SKeith BuschDescription: 164acc02a10SKeith Busch The number of bytes accessed from the next cache level on a 165acc02a10SKeith Busch cache miss. 166acc02a10SKeith Busch 167acc02a10SKeith BuschWhat: /sys/devices/system/node/nodeX/memory_side_cache/indexY/size 168acc02a10SKeith BuschDate: December 2018 169acc02a10SKeith BuschContact: Keith Busch <keith.busch@intel.com> 170acc02a10SKeith BuschDescription: 171acc02a10SKeith Busch The size of this memory side cache in bytes. 172acc02a10SKeith Busch 173acc02a10SKeith BuschWhat: /sys/devices/system/node/nodeX/memory_side_cache/indexY/write_policy 174acc02a10SKeith BuschDate: December 2018 175acc02a10SKeith BuschContact: Keith Busch <keith.busch@intel.com> 176acc02a10SKeith BuschDescription: 177acc02a10SKeith Busch The cache write policy: 0 for write-back, 1 for write-through, 178acc02a10SKeith Busch other or unknown. 17950468e43SJarkko Sakkinen 18050468e43SJarkko SakkinenWhat: /sys/devices/system/node/nodeX/x86/sgx_total_bytes 18150468e43SJarkko SakkinenDate: November 2021 18250468e43SJarkko SakkinenContact: Jarkko Sakkinen <jarkko@kernel.org> 18350468e43SJarkko SakkinenDescription: 18450468e43SJarkko Sakkinen The total amount of SGX physical memory in bytes. 185*4180887fSJiaqi Yan 186*4180887fSJiaqi YanWhat: /sys/devices/system/node/nodeX/memory_failure/total 187*4180887fSJiaqi YanDate: January 2023 188*4180887fSJiaqi YanContact: Jiaqi Yan <jiaqiyan@google.com> 189*4180887fSJiaqi YanDescription: 190*4180887fSJiaqi Yan The total number of raw poisoned pages (pages containing 191*4180887fSJiaqi Yan corrupted data due to memory errors) on a NUMA node. 192*4180887fSJiaqi Yan 193*4180887fSJiaqi YanWhat: /sys/devices/system/node/nodeX/memory_failure/ignored 194*4180887fSJiaqi YanDate: January 2023 195*4180887fSJiaqi YanContact: Jiaqi Yan <jiaqiyan@google.com> 196*4180887fSJiaqi YanDescription: 197*4180887fSJiaqi Yan Of the raw poisoned pages on a NUMA node, how many pages are 198*4180887fSJiaqi Yan ignored by memory error recovery attempt, usually because 199*4180887fSJiaqi Yan support for this type of pages is unavailable, and kernel 200*4180887fSJiaqi Yan gives up the recovery. 201*4180887fSJiaqi Yan 202*4180887fSJiaqi YanWhat: /sys/devices/system/node/nodeX/memory_failure/failed 203*4180887fSJiaqi YanDate: January 2023 204*4180887fSJiaqi YanContact: Jiaqi Yan <jiaqiyan@google.com> 205*4180887fSJiaqi YanDescription: 206*4180887fSJiaqi Yan Of the raw poisoned pages on a NUMA node, how many pages are 207*4180887fSJiaqi Yan failed by memory error recovery attempt. This usually means 208*4180887fSJiaqi Yan a key recovery operation failed. 209*4180887fSJiaqi Yan 210*4180887fSJiaqi YanWhat: /sys/devices/system/node/nodeX/memory_failure/delayed 211*4180887fSJiaqi YanDate: January 2023 212*4180887fSJiaqi YanContact: Jiaqi Yan <jiaqiyan@google.com> 213*4180887fSJiaqi YanDescription: 214*4180887fSJiaqi Yan Of the raw poisoned pages on a NUMA node, how many pages are 215*4180887fSJiaqi Yan delayed by memory error recovery attempt. Delayed poisoned 216*4180887fSJiaqi Yan pages usually will be retried by kernel. 217*4180887fSJiaqi Yan 218*4180887fSJiaqi YanWhat: /sys/devices/system/node/nodeX/memory_failure/recovered 219*4180887fSJiaqi YanDate: January 2023 220*4180887fSJiaqi YanContact: Jiaqi Yan <jiaqiyan@google.com> 221*4180887fSJiaqi YanDescription: 222*4180887fSJiaqi Yan Of the raw poisoned pages on a NUMA node, how many pages are 223*4180887fSJiaqi Yan recovered by memory error recovery attempt. 224