Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sysctl kern.mbuf values valid?



I noticed that sysctl thinks I have more than a million mbuf clusters!

# sysctl kern.mbuf
kern.mbuf.msize = 512
kern.mbuf.mclbytes = 2048
kern.mbuf.nmbclusters = 1048547
kern.mbuf.mblowat = 16
kern.mbuf.mcllowat = 8

Somehow this doesn't seem like a valid value, especially in view of the values reported by vmstat -m

Name              Size    Requests Fail    Releases  InUse Avail  Pgreq  Pgrel 
Npage PageSz Hiwat Minpg Maxpg Idle Flags   Util
...
mbpl               512        1232    0           0   1232    16    156      0  
 156   4096   156     2   inf    2 0x000  98.7%
mclpl             2048        1114    0           0   1114     8    561      0  
 561   4096   561     4 524274   4 0x000  99.3%
...

(Adding the InUse and Avail column shows just over 1100 entries in the mclpl)


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index