Date: 12 Dec 2001 22:42:45 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: Matt Dillon <dillon@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/config mkoptions.c src/sys/alpha/alpha machdep.c src/sys/alpha/conf GENERIC src/sys/i386/conf GENERIC NEWCARD src/sys/i386/i386 machdep.c src/sys/ia64/conf GENERIC src/sys/ia64/ia64 machdep.c src/sys/kern subr_param.c ... Message-ID: <xzplmg86roq.fsf@flood.ping.uio.no> In-Reply-To: <200112090157.fB91v9i60677@freefall.freebsd.org> References: <200112090157.fB91v9i60677@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Matt Dillon <dillon@FreeBSD.org> writes: > Log: > Allow maxusers to be specified as 0 in the kernel config, which will > cause the system to auto-size to between 32 and 512 depending on the > amount of memory. Hmm, one thing I'd like to see in conjunction with this is something that warns you if you set kern.ipc.nmbclusters lower than the default; maybe something like this very rough patch: --- subr_mbuf.c 1 Dec 2001 00:21:30 -0000 1.11 +++ subr_mbuf.c 12 Dec 2001 21:41:44 -0000 @@ -157,6 +157,8 @@ */ nmbclusters = NMBCLUSTERS; TUNABLE_INT_FETCH("kern.ipc.nmbclusters", &nmbclusters); + if (nmbclusters < NMBCLUSTERS) + printf("WARNING: setting nmbclusters lower than default\n"); nmbufs = NMBUFS; TUNABLE_INT_FETCH("kern.ipc.nmbufs", &nmbufs); nsfbufs = NSFBUFS; DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzplmg86roq.fsf>