Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 07:35:45 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        Varshavchick Alexander <alex@metrocom.ru>, <freebsd-questions@freebsd.org>
Subject:   Re: nmbclusters and nmbufs
Message-ID:  <3.0.5.32.20030819073545.0132f3f8@sage-one.net>
In-Reply-To: <Pine.GSO.4.33.0308191153290.9451-100000@apache.metrocom.ru >

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:53 AM 8.19.2003 +0400, Varshavchick Alexander wrote:
>Hi,
>
>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?
>
>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?
>
>Thanks
>
>----
>Alexander Varshavchick, Metrocom Joint Stock Company

You can modify those "on fly" without a reboot with:
sysctl kern.nmbclusters=nnnnn ("n" being the number of choice)

You can then put the statements in the /boot/loader.conf and will load on
next boot as alternative to changing the kernel. I modified the kernel here.


Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
jackstone@sage-one.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20030819073545.0132f3f8>