From owner-freebsd-arch Wed Jul 18 20:26: 3 2001 Delivered-To: freebsd-arch@freebsd.org Received: from sneakerz.org (sneakerz.org [216.33.66.254]) by hub.freebsd.org (Postfix) with ESMTP id 84CE537B403 for ; Wed, 18 Jul 2001 20:26:00 -0700 (PDT) (envelope-from bright@sneakerz.org) Received: by sneakerz.org (Postfix, from userid 1092) id 0ACE05D010; Wed, 18 Jul 2001 22:25:50 -0500 (CDT) Date: Wed, 18 Jul 2001 22:25:50 -0500 From: Alfred Perlstein To: Mike Silbersack Cc: arch@freebsd.org, Bosko Milekic , Matt Dillon , David O'Brien Subject: Re: cvs commit: src/sys/netinet tcp_usrreq.c Message-ID: <20010718222549.O28164@sneakerz.org> References: <20010718121851.B26558@dragon.nuxi.com> <20010718214902.H6519-100000@achilles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010718214902.H6519-100000@achilles.silby.com>; from silby@silby.com on Wed, Jul 18, 2001 at 10:04:45PM -0500 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Mike Silbersack [010718 22:04] wrote: > > On Wed, 18 Jul 2001, David O'Brien wrote: > > > > In any case, both NMBUFS and NMBCLUSTERS can be easily overriden with > > > the respective boot-time tunable parameters. And remember, these values are > > > merely used to reserve KVA space. > > > > BUT they should be pretty reasonable numbers to start with. People > > continue to "benchmark" FreeBSD out of the box. We need to start paying > > more attention to the out-of-the-box settings. > > > > -- > > -- David (obrien@FreeBSD.org) > > With tcp templates out of the way, it looks like mbufs aren't such a big > deal anymore; they'll certainly decrease performance, but will no longer > set a definite ceiling on the max number of sockets useable > simultaneously. You'll notice that there's 'redundant' (for lack of a better word) storage allocated in a socket. Basically, a socket can be a data socket, or a listening socket, you can recover at least 32 bytes per socket if you unionize based on the type. -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message