Subject: Re: bin/29774: sysctl can't raise kern.mbuf.nmbclusters
To: None <gnats-bugs@netbsd.org>
From: Karsten Kruse <tecneeq@tecneeq.de>
List: netbsd-bugs
Date: 03/24/2005 12:45:40
Manuel Bouyer wrote:

>  >   I try to raise kern.mbuf.nmbclusters from 1024 to 2048 wich,
>  >   according to the manpage, should be possible. It is not.

>  sysctl(3) says:
>               MBUF_NMBCLUSTERS
>  		The limit on the number of mbuf clusters.  The variable
>  		can only be increased, and only increased on machines
>  		with direct-mapped pool pages

>  So it's not supposed to work on all machines, and i386 doesn't have
>  direct-mapped pool pages.

I see. Thanks.

> It's a bug in sysctl(8).
> How to document it in sysctl(8) ? Change "raise only" to "machine dependant" ?

Maybe "raise only, machine dependant"?

The problem is solved for me.

Karsten Kruse

-- 
         Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
   ()    Linux/NetBSD-Anleitungen, Forum  und Chat: www.newbie-net.de
  <\/>
  _/\_   NetBSD - because Unix isn't just #include <linux.h>