Subject: Re: netbsd-4: Strange object sizes reported by vmstat -m
To: None <current-users@NetBSD.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 10/16/2006 13:32:55
On Mon, Oct 16, 2006 at 09:19:05PM +1000, Paul Ripke wrote:
> Just noticed this on netbsd-4, checked on i386, sparc and mac68k,
> [...] 
> "buf32k" has size 16k, etc? A NetBSD 3.0 system looks far more sane.
> I don't have a -current system to check what it looks like there, atm.

It's the same on -current (at least from Satuday evening MEST ;-):

uname -a
NetBSD ipaddi-bsd 4.99.3 NetBSD 4.99.3 (PADDI) #185: Sat Oct 14 20:14:48 MEST 2006  ks@ipaddi-bsd:/u/NetBSD/arch/i386/obj/sys/arch/i386/compile/PADDI i386


vmstat -m | egrep '^[A-Z]|^buf'
vmstat: Kmem statistics are not being gathered by the kernel.
Memory resource pool statistics
Name        Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
buf32k      16384    5812    0     1582  1305   185  1120  1289     1     1    1
buf16k      8192     2699    0      526   315     6   309   312     1     1    1
buf8k       4096      446    0      259    22     8    14    16     1     1    0
buf4k       2048    90497    0     2370  2760     1  2759  2759     1     1    0
buf2k       1024     1955    0      833    30     0    30    30     1     1    0
bufpl        124    96857    0     1018  2995     0  2995  2995     0   inf    0
In use 310194K, total allocated 360543K; utilization 86.0%

Kurt