Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2001 23:55:47 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        Brian O'Shea <boshea@ricochet.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Tuning the 4.1-R kernel for networking
Message-ID:  <20010807235547.Z85642@elvis.mu.org>
In-Reply-To: <20010807213320.D529@ricochet.net>; from boshea@ricochet.net on Tue, Aug 07, 2001 at 09:33:20PM -0700
References:  <20010807213320.D529@ricochet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Brian O'Shea <boshea@ricochet.net> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010807235547.Z85642>