tech-net archive

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

Re: Checking mbuf cluster usage



ef%math.uni-bonn.de@localhost (Edgar =?iso-8859-1?B?RnXf?=) writes:

>Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
>mclpl     2048   108878    0   108234 10005  9679   326  1471     4 261858   4

>so I guess the number I'm looking for is some term in (108878-108234), 2048, 326 and 261858.
>I have kern.mbuf.nmbclusters = 523716, but fail to corelate that with any of the numbers above.


This is simple:

  261858 * 2 = 523716

or in detail with MCLBYTES = 2048:

  nmbclusters * MCLBYTES = Maxpg * PageSz

where PageSz is shown by vmstat -mW as 4096. This is the "pool page size",
often but not necessarily identical to the CPU page size.




Home | Main Index | Thread Index | Old Index