PCP-ZONEINFO(1)

πŸ’– PCP-ZONEINFO πŸ’–

okay bestie, welcome to pcp-zoneinfo(1) β€” it's a General Commands Manual page and it's literally all about peeking at your NUMA zone stats. sit down, grab a boba, we're doing this πŸ§‹βœ¨


✨ NAME ✨

pcp-zoneinfo β€” Report NUMA zone statistics


🌸 SYNOPSIS 🌸

pcp [pcp options] zoneinfo [-Vz?]  [-s samples] [-a archive] [-S
start_time] [-T end_time] [-Z timezone]

πŸ¦‹ DESCRIPTION πŸ¦‹

So pcp-zoneinfo is the tool you use to look at all the different kinds of stats related to NUMA nodes. With the various options it helps a user analyze useful information related to the zone availability for different NUMA nodes β€” and that is genuinely useful for analyzing virtual memory behavior. iykyk πŸ’…

By default, pcp-zoneinfo reports live data for the local host. no cap.

The statistics shown are as follows:

🌈 Per node stats (for each NUMA node)

  • nr_inactive_anon β€” zone inactive anonymous pages
  • nr_active_anon β€” active anonymous memory pages
  • nr_inactive_file β€” inactive file memory pages
  • nr_active_file β€” active file memory memory pages
  • nr_unevictable β€” unevictable pages
  • nr_slab_reclaimable β€” reclaimable slab pages
  • nr_slab_unreclaimable β€” unreclaimable slab pages
  • nr_isolated_anon β€” isolated anonymous memory pages
  • nr_isolated_file β€” isolated file memory pages
  • nr_anon_pages β€” anonymous mapped pagecache pages
  • nr_mapped β€” mapped pagecache pages
  • nr_file_pages β€” file pagecache pages
  • nr_dirty β€” pages dirty state
  • nr_writeback β€” pages writeback state
  • nr_writeback_temp β€” temporary writeback pages
  • nr_shmem β€” shared memory pages
  • nr_shmem_hugepages β€” shared memory huge pages
  • nr_shmem_pmdmapped β€” shared memory PMD mappings
  • nr_file_hugepages β€” file-backed huge pages
  • nr_file_pmdmapped β€” file-backed PMD mappings
  • nr_anon_transparent_hugepages β€” anonymous transparent huge pages
  • nr_unstable β€” pages in unstable state in each zone
  • nr_vmscan_write β€” pages written from the LRU by the VM scanner. The VM is supposed to minimise the number of pages which get written from the LRU (for IO scheduling efficiency and reclaim success).
  • nr_vmscan_immediate_reclaim β€” prioritise for reclaim when writeback ends
  • nr_dirtied β€” pages entering dirty state
  • nr_written β€” pages written out in each zone
  • nr_kernel_misc_reclaimable β€” miscellaneous reclaimable kernel pages

πŸŽ€ Per zone stats (in each zone for each NUMA node)

  • pages free β€” free space
  • pages min β€” min space
  • pages low β€” low space
  • pages high β€” high space
  • pages spanned β€” spanned space
  • pages present β€” present space
  • pages managed β€” managed space
  • pages protection β€” protection space
  • nr_free_pages β€” number of free pages
  • nr_zone_inactive_anon β€” zone inactive anonymous pages
  • nr_zone_active_anon β€” zone active anonymous pages
  • nr_zone_inactive_file β€” zone inactive file-backed pages
  • nr_zone_active_file β€” zone active file-backed pages
  • nr_zone_unevictable β€” zone unevictable pages
  • nr_zone_write_pending β€” zone write-pending pages
  • nr_mlock β€” pages under mlock
  • nr_page_table_pages β€” page table pages
  • nr_kernel_stack β€” pages of kernel stack
  • nr_bounce β€” bounce buffer pages
  • nr_zspages β€” zsmalloc memory allocator pages
  • nr_free_cma β€” free Contiguous Memory Allocator pages
  • numa_hit β€” successful allocations from preferred NUMA zone
  • numa_miss β€” unsuccessful allocations from preferred NUMA zone
  • numa_foreign β€” foreign NUMA zone allocations
  • numa_interleave β€” interleaved NUMA allocations
  • numa_local β€” successful allocations from local NUMA zone
  • numa_other β€” unsuccessful allocations from local NUMA zone

πŸ‘‘ OPTIONS πŸ‘‘

  • -a file, --archive=file β€” Fetch /proc/zoneinfo for a specified archive file
  • -s count, --samples=count β€” Get the zoneinfo statistics for specified number of samples count
  • -S, --start=time β€” Filter the samples from the archive from the given time
  • -T, --finish=time β€” Filter the samples from the archive until the given time
  • -V, --version β€” Display version number and exit.
  • -z, --hostzone β€” Use the local timezone of the host that is the source of the performance metrics, as identified by either the -h or the -a options. The default is to use the timezone of the local host.
  • -Z timezone, --timezone=timezone β€” Use timezone for the date and time. Timezone is in the format of the environment variable TZ as described in environ(7).
  • -?, --help β€” Display usage message and exit.

πŸ“ NOTES πŸ“

pcp-zoneinfo collects information from /proc/zoneinfo. that's the source, periodt. πŸ“


πŸ’œ PCP ENVIRONMENT πŸ’œ

Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5).

For environment variables affecting PCP tools, see pmGetOptions(3).


🌟 SEE ALSO 🌟

PCPIntro(1), pcp(1), pmParseInterval(3) and environ(7).


lowkey the whole vibe here is: NUMA zones, live by default, /proc/zoneinfo under the hood. go read the see-also list, bestie, it's giving ✨required reading✨

k bye, ily, go check your zones 🫢

this has been Performance Co-Pilot, the PCP collection, page PCP-ZONEINFO(1) β€” mwah πŸ’…πŸŽ€

πŸ“¦ where this page comes from