Date: Fri, 26 May 1995 05:27:48 +1000 From: Bruce Evans <bde@zeta.org.au> To: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com, davidg@freefall.cdrom.com Subject: Re: cvs commit: src/sys/i386/include param.h vmparam.h Message-ID: <199505251927.FAA06296@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified: sys/conf param.c > Log: > Made "NMBCLUSTERS" calculation dynamic and fixed bogus use of "NMBCLUSTERS" > in machdep.c (it should use the global nmbclusters). Moved the calculation > of nmbclusters into conf/param.c (same place where nmbclusters has always > been assigned), and made the calculation include an extra amount based > on "maxusers". NMBCLUSTERS can still be overrided in the kernel config ^^^^^^^^^^ > file as always, but this change will make that generally unnecessary. This > fixes the "bug" reports from people who have misconfigured kernels seeing > the network "hang" when the mbuf cluster pool runs out. Shouldn't it depend on `physmem'? The GENERIC default of (256 + 10 * 16) for NMBCLUSTERS allows almost half of memory to be consumed by mbuf clusters on a 4MB system. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505251927.FAA06296>