Date: 10 Jul 1998 15:13:13 +0200 From: smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav) To: "Andrew N. Edmond (Nero)" <edmond@shaman.lycaeum.org> Cc: questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: optimizing with a heavy load... Message-ID: <rx4yau197di.fsf@oslo.geco-prakla.slb.com> In-Reply-To: "Andrew N. Edmond's message of Fri, 10 Jul 1998 02:08:46 -0700 (PDT) References: <Pine.BSF.4.00.9807100200160.5997-100000@shaman.lycaeum.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Andrew N. Edmond (Nero)" <edmond@shaman.lycaeum.org> writes: > FreeBSD 052098-SNAP, some of the kernel configuration: > > maxusers 512 > options NMBCLUSTERS=4096 > options "CHILD_MAX=512" > options "OPEN_MAX=512" > options SYSVSHM > options SYSVSEM > options SYSVMSG Your maxusers is so high that setting NMBCLUSTERS to 4096 actually *reduces* the number of mbuf clusters instead of increasing it. Leave that line out, or raise the value above 8704 (which is the default computed value for maxusers=512) > also, I do this is /etc/rc.local: > > /sbin/sysctl -w kern.ipc.somaxconn=4096 > /sbin/sysctl -w kern.maxfiles=16384 The default value for maxfiles with maxusers=512 is 16424, which again is higher (though not by much) than your arbitrarily tweaked value. DES -- Dag-Erling Smørgrav - smoergrd@oslo.geco-prakla.slb.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rx4yau197di.fsf>