From owner-freebsd-hackers Tue Aug 7 21:55:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 8C33037B40A for ; Tue, 7 Aug 2001 21:55:57 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 8424181D07; Tue, 7 Aug 2001 23:55:47 -0500 (CDT) Date: Tue, 7 Aug 2001 23:55:47 -0500 From: Alfred Perlstein To: Brian O'Shea Cc: freebsd-hackers@freebsd.org Subject: Re: Tuning the 4.1-R kernel for networking Message-ID: <20010807235547.Z85642@elvis.mu.org> References: <20010807213320.D529@ricochet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010807213320.D529@ricochet.net>; from boshea@ricochet.net on Tue, Aug 07, 2001 at 09:33:20PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Brian O'Shea [010807 23:33] wrote: > Hello, > > I am using a PIII 550MHz UP system running FreeBSD 4.1-RELEASE. It has > a 3c905B-TX Fast Etherlink XL card. [snip] > I increased maxusers to 128 (2560 mbuf clusters) and it ran out of mbuf > clusters again. Then I increased it to 256 (4608 mbuf clusters), with > the same results. I don't have any sense of what is reasonable mbuf > cluster usage for the application that I am running, but the system > never seems to recover from the condition, which would seem to point to > an mbuf cluster leak. > > Does this sound like a problem with the driver (mbuf cluster leak), or > with the way that I have tuned this system? (the kernel config file for > this system is attached) > > I compiled a debug kernel and panicked the system while it was in the > state described above, in case that is any use. I don't know how to > analyze the crash dump to determine where the problem is. Any > suggestions are welcome. Your system isn't configured for high network throughput, you want to put something like: kern.ipc.nmbclusters=32768 this might also help: net.inet.tcp.tcbhashsize=32768 put those into /boot/loader.conf -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message