From owner-freebsd-questions Fri Jan 24 15: 5:56 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 871B237B401 for ; Fri, 24 Jan 2003 15:05:55 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 867B743ED8 for ; Fri, 24 Jan 2003 15:05:49 -0800 (PST) (envelope-from mwm-dated-1043881542.fb82dc@mired.org) Received: (qmail 87530 invoked from network); 24 Jan 2003 23:05:42 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 24 Jan 2003 23:05:42 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15921.50885.995744.396054@guru.mired.org> Date: Fri, 24 Jan 2003 17:05:41 -0600 To: craig@2400baud.com Cc: freebsd-questions@freebsd.org Subject: Re: NMBCLUSTERS and Kernel config In-Reply-To: <1043354468.3e305364aafdc@webmail.2400baud.com> References: <1043354468.3e305364aafdc@webmail.2400baud.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.68 (Shut Out) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <1043354468.3e305364aafdc@webmail.2400baud.com>, craig@2400baud.com typed: > Im getting ready to go with our FreeBSD production mail server and Ive been > reading that to optimize network mbufs, specify the NMBCLUSTERS options in the > kernel. Ive read that setting this to a quarter of your physical RAM on this is > the way to go, or devising a number from a mathematical equation based upon your > maximum number of connections at peak (meaning, 800 connections at peak equals > an NMBCLUSTER of 25600, or mathimatical breakdown 800 connections X 32K per > session = 25600KB) > > Does anyone have a good way to devise a number for this, or is it really even > needed? Ive a GB of memory in a Compaq DL320. The FreeBSD handbook says > typically this is set to 1024 - 4096, adding to my confusion of what I need to > set this to, if anything. > > Thanks in advance for any insight, I don't have a good way to figure out what it should be, but I can make the process of changing it a lot easier. You don't need toset NMBCLUSTERS in the kernel. You can change the number in /boot/loader.conf like so: kern.ipc.nmbclusters="12288" You still have to reboot the system, but you can continue running the same kernel. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message