nmbclusters and nmbufs

Varshavchick Alexander alex at metrocom.ru
Tue Aug 19 06:01:46 PDT 2003


On Tue, 19 Aug 2003, Alex de Kruijff wrote:

> > Can anybody advise me please if I want to increase nmbclusters option in
> > kernel, can I just type
> > 	sysctl kern.ipc.nmbclusters="16384"
> > without rebooting the server, or is the only way to set the NMBCLUSTERS
> > option in kernel, install the new kernel and reboot?
>
> These variable are normaly readonly, so I think you do need to reboot.
>
> >
> > And secondly, also I need to increase nmbufs kernel option, but there
> > seems to be no such option in LINT, what should I tweak?
> > 	sysctl kern.ipc.nmbufs="32768" without rebooting
> > or
> > 	kern.ipc.nmbufs="32768" in /boot/loader.conf and reboot?
>
> It does exist: options         NMBUFS=4096.

Yes, but I guess I must have said that the system version is 4.5 and this
options didn't exist then.

>
> You seen to be low on a lot of resources. It could be an idee to set
> ``maxusers'' to a higher setting. These days a lot of varibles base
> there value on maxusers.
>

Maxusers is already set to a high value, but due to the extensive network
activity nmbufs and nmbclusters seemed to be lacking. Thank you for the
advices.

> --
> Alex
>
> Articles based on solutions that I use:
> http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
>


----
Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)





More information about the freebsd-questions mailing list