From owner-freebsd-hackers Thu Jul 12 19:18:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sneakerz.org (sneakerz.org [216.33.66.254]) by hub.freebsd.org (Postfix) with ESMTP id 0A33137B403 for ; Thu, 12 Jul 2001 19:18:31 -0700 (PDT) (envelope-from bright@sneakerz.org) Received: by sneakerz.org (Postfix, from userid 1092) id EFCA35D01F; Thu, 12 Jul 2001 21:18:19 -0500 (CDT) Date: Thu, 12 Jul 2001 21:18:19 -0500 From: Alfred Perlstein To: Matt Dillon Cc: Leo Bicknell , hackers@FreeBSD.ORG Subject: Re: Network performance tuning. Message-ID: <20010712211819.D6664@sneakerz.org> References: <15.16ffaf54.287f3d4d@aol.com> <20010712135629.A49042@ussenterprise.ufp.org> <200107130128.f6D1SFE59148@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200107130128.f6D1SFE59148@earth.backplane.com>; from dillon@earth.backplane.com on Thu, Jul 12, 2001 at 06:28:15PM -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 * Matt Dillon [010712 20:28] wrote: > > This is fairly easy to do for the transmit side of things and would > yield an immediate improvement in available mbuf space. For the receive > side of things we can't really do anything with existing connections > (because we've already advertised that the space is available to the > remote end), but we can certainly reduce the buffer space we reserve > for new connections. If the system is handling a large number of > connections then this sort of scaling will work fairly well due to > attrition. Actually, we can shrink the window, but that's strongly discouraged by a lot of papers/books. > So in regards to Leo's suggestions. I think we can bump up our current > defaults, and I would support increasing the 16384 default to 24576 or > possibly even 32768 as well as increasing the number of mbufs. But > that is only a stopgap measure. What we really need to do is what I > just described. It doesn't sound too bad to just double the current values, are you going to commit it? -- -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-hackers" in the body of the message