From owner-freebsd-questions Fri Jan 24 7:41: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 2F0BE37B401 for ; Fri, 24 Jan 2003 07:41:54 -0800 (PST) Received: from eeyore.cob.rit.edu (eeyore.cob.rit.edu [129.21.238.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F26C43E4A for ; Fri, 24 Jan 2003 07:41:52 -0800 (PST) (envelope-from knappster@knappster.net) Received: from antichrist (roc-24-59-189-98.rochester.rr.com [24.59.189.98]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by eeyore.cob.rit.edu (Postfix) with ESMTP id C14797A56D; Fri, 24 Jan 2003 10:41:48 -0500 (EST) Reply-To: From: "Andrew Knapp" To: Cc: Subject: RE: NMBCLUSTERS and Kernel config Date: Fri, 24 Jan 2003 10:41:42 -0500 Message-ID: <001501c2c3bf$19c9a350$6501a8c0@antichrist> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-reply-to: <1043354468.3e305364aafdc@webmail.2400baud.com> Importance: Normal 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 -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of craig@2400baud.com Sent: Thursday, January 23, 2003 3:41 PM To: freebsd-questions@freebsd.org Subject: NMBCLUSTERS and Kernel config All, 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, Craig ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message i guess i can't give much more insight, other to say this: i've setup a mail server under freebsd, and changed the kern.ipc.nmbclusters option to 32768. If you do a 'man tuning', it can explain a little better, though i suppose you've already done this (it suggests between 4096 and 32768 for machines with greater amounts of memory, which is why i chose 32768). i've got 4 gigs of ram in this machine, so you're mileage may vary... my netstat -m output: knappster@eeyore:~> netstat -m 258/720/131072 mbufs in use (current/peak/max): 258 mbufs allocated to data 256/680/32768 mbuf clusters in use (current/peak/max) 1540 Kbytes allocated to network (1% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines HTH, andy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message