Subject: vmstat output: avm + free is too much?
To: None <current-users@netbsd.org>
From: Olaf Seibert <rhialto@polderland.nl>
List: current-users
Date: 04/03/2001 02:20:42
This is some output from vmstat -w 5, on my quiet Alpha system (no user
interaction) that has 64M of memory and is not paging:

 procs   memory     page                       disks     faults      cpu
 r b w   avm   fre  flt  re  pi   po   fr   sr  w0  s0   in   sy  cs us sy id
 1 1 0 66056 21152   27   0   0    0    0    0   1   2 1040  131  37 99  1  0
 1 0 0 66064 21152    1   0   0    0    0    0   0   0 1034   90  26 100  0  0
 1 0 0 66064 21152    1   0   0    0    0    0   0   1 1034  105  30 100  0  0
 1 0 0 66064 21152    1   0   0    0    0    0   1   2 1038   89  32 100  0  0

(some disks removed to make it fit in 80 columns)

Should avm + fre not add up to the total amount of core when not paging?
These numbers have been stable during more than 20 seconds.

From vmstat(1):

       memory Information about the usage  of  virtual  and  real
              memory.   Virtual  pages (reported in units of 1024
              bytes) are considered active if they belong to pro-
              cesses which are running or have run in the last 20
              seconds.

              avm  active virtual pages
              fre  size of the free list


It is 1.5, btw. I see similar things on my VAX while compiling -current
though (too much avm + fre although the error is a lot smaller).

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@polder --Soep van de dag, wat zal dat zijn
\X/ land.nl     --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp