Index: linux-2.6.17-rc6-mm1/Documentation/vm_statistics =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux-2.6.17-rc6-mm1/Documentation/vm_statistics 2006-06-10 07:00:16.422580774 -0700 @@ -0,0 +1,109 @@ +Explanation for various VM statistics +------------------------------------- + +These statistics are available through /proc/vmstats +/proc/meminfo and through /sys/devices/system/node/nodeX/meminfo +on a NUMA system. + +The counters fall into two categories, the per zone counters and +the per cpu counters. The per zone counters are used to count +the number of pages for various purposes. The per cpu counters +are used to count events of various kinds. + +The per zone counters are: + +Value meminfo vmstat NUMA meminfo zoneinfo +-------------------------------------------------------------------------------- +Size of pagecache Cached: nr_pagecache Pagecache: pagecache +Anonymous pages Anonymous: nr_anon Anonymous: anon +Mapped pagecache Mapped: nr_mapped Mapped: mapped +Slab pages Slab: nr_slab Slab: slab +Pagetable pages PageTables: nr_pagetable_pages - pagetable +Dirty pagecache pages Dirty: nr_dirty Dirty: dirty +Pages under writeback Writeback: nr_writeback Writeback: writeback +NFS Unstable pages - nr_unstable Unstable: unstable +Bounce buffers - nr_bounce Bounce: bounce + +Free Pages MemFree: - MemFree: free +Active Pages Active: - Active: active +Inactive Pages Inactive: - Inactive: inactive + +Total Memory MemTotal: - MemTotal: present +Used Memory - - MemUsed: - + +blockdev buffers Buffers: - +SwapCache pages SwapCached: - +Total Swap pages SwapTotal: - +Free Swap pages SwapFree: - + CommitLimit: - + Committed_AS: - + VmallocTotal: - + VmallocUsed: - + VmallocChunk: - + + HugePages_Total: - HugePages_Total: + HugePages_Free: - HugePages_Free: + HugePages_Rsvd: - + Hugepagesize: - + +In order to make this consisten we will + +1. Rename /proc/meminfo Cached to Pagecache: +2. Add PageTables to NUMA meminfo +3. Remove the USED from the Numa Meminfo + +Order in /proc/meminfo + +MemTotal: 5646496 kB +MemFree: 5145968 kB +Buffers: 1248 kB +Cached: 218192 kB +SwapCached: 0 kB +Active: 166720 kB +Inactive: 86976 kB +HighTotal: 0 kB +HighFree: 0 kB +LowTotal: 5646496 kB +LowFree: 5145968 kB +SwapTotal: 8195632 kB +SwapFree: 8195632 kB +Dirty: 1296 kB +Writeback: 0 kB + +Anonymous: 34432 kB +Mapped: 23712 kB + +Slab: 42688 kB + +CommitLimit: 11018880 kB +Committed_AS: 323296 kB +PageTables: 3808 kB +VmallocTotal: 137424368352 kB +VmallocUsed: 35920 kB +VmallocChunk: 137424327776 kB +HugePages_Total: 0 +HugePages_Free: 0 +HugePages_Rsvd: 0 +Hugepagesize: 262144 kB + +Order in +Node 0 MemTotal: 1966992 kB +Node 0 MemFree: 1615360 kB +Node 0 MemUsed: 351632 kB +Node 0 Active: 63008 kB +Node 0 Inactive: 26864 kB +Node 0 HighTotal: 0 kB +Node 0 HighFree: 0 kB +Node 0 LowTotal: 1966992 kB +Node 0 LowFree: 1615360 kB +Node 0 Dirty: 192 kB +Node 0 Writeback: 0 kB +Node 0 Unstable: 0 kB +Node 0 Anonymous: 19856 kB +Node 0 Mapped: 9840 kB +Node 0 Pagecache: 70080 kB +Node 0 Slab: 13760 kB +Node 0 Bounce: 0 kB +Node 0 HugePages_Total: 0 +Node 0 HugePages_Free: 0 +