Subject: Re: WARNING: mclpool limit reached; increase NMBCLUSTERS
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Joseph A. Dacuma <jadacuma@ched.gov.ph>
List: netbsd-help
Date: 12/28/2005 19:02:56
> On Tue, Dec 27, 2005 at 11:38:59PM +0800, Joseph A. Dacuma wrote:
>> > Gan Uesli Starling wrote:
>> >> What does it mean if dmesg says this...
>> >>
>> >> WARNING: mclpool limit reached; increase NMBCLUSTERS
>> >
>> > Never mind, I found it in the FAQ. Silly me. Pardon.
>> >
>> > Anybody have an idea what the NMBCLUSTERS default is
>> > for the new NetBSD 3.0?
>> >
>>
>> On a newly installed i386 machine its 1MB. Where my sysctl result is:
>> kern.mbuf.nmbclusters=1024
>
> It's not 1MB. It's the number of mbuf clusters, not the size of some
> memory
> item (the max size allowed in this case is 1024 * sizeof(mbuf cluster),
> where sizeof(mbuf cluster) is usually 2k).
>
Hi Sirs!

From what I understand, he was asking for actual value of NMBCLUSTERS
which on most platforms is 1024 or 2048 when the option gateway is
enabled. Is 1024 not equivalent to 1MB and got the units entirely wrong?