[SOLVED] RE: [Backtrace] 4.9 and 5.1-RELEASE occasionly panic

Dmitry Pryanishnikov dmitry at atlantis.dp.ua
Thu Dec 25 11:58:47 PST 2003


Hello!

> From:      Sten <sten at blinkenlights.nl>
>
> I'd really love getting rid of most hardcoded memory allocations
> in the fbsd kernel, with the main bugger being NMBCLUSTERS,
> which one always forgets about untill it's too late :(.
> In solaris auto-tuning has been a top priority for a long while,
> and propper dynamic tuning should get it right ( or even better )
> in 99% of the cases. People with other needs should be able
> to build a custom kernel.

 You need _not_ to build custom FreeBSD kernel in order to increase
NMBCLUSTERS. Both CURRENT and STABLE allows setting it from loader.conf:

kern.ipc.nmbufs="32768"         # Number of mbufs
kern.ipc.nmbclusters="16384"    # Number of mbuf clusters

But yes, you have to reboot your system if you want to raise them.

Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry at atlantis.dp.ua
nic-hdl: LYNX-RIPE


More information about the freebsd-stable mailing list