From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 25 16:00:59 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43AC816A4CE for ; Fri, 25 Mar 2005 16:00:59 +0000 (GMT) Received: from dglawrence.com (dsl-230-156.ipns.com [209.210.230.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id B647843D48 for ; Fri, 25 Mar 2005 16:00:58 +0000 (GMT) (envelope-from dg@dglawrence.com) Received: from opteron.dglawrence.com (localhost [127.0.0.1]) by dglawrence.com (8.13.3/8.13.1) with ESMTP id j2PG0wni001984; Fri, 25 Mar 2005 08:00:58 -0800 (PST) (envelope-from dg@dglawrence.com) Received: (from dg@localhost) by opteron.dglawrence.com (8.13.3/8.13.1/Submit) id j2PG0w3m001983; Fri, 25 Mar 2005 08:00:58 -0800 (PST) (envelope-from dg@dglawrence.com) Date: Fri, 25 Mar 2005 08:00:58 -0800 From: "David G. Lawrence" To: David Malone Message-ID: <20050325160058.GD905@opteron.dglawrence.com> References: <20050325152910.GC905@opteron.dglawrence.com> <20050325153558.GA22521@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050325153558.GA22521@walton.maths.tcd.ie> cc: freebsd-bugs@freebsd.org Subject: Re: broken bandwidth-delay product window limiting X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 16:00:59 -0000 > On Fri, Mar 25, 2005 at 07:29:10AM -0800, David G. Lawrence wrote: > > The "bandwidth-delay product window limiting" code in 5.x appears to be > > quite broken. In my tests here, the window is hard limited to 2 segments, > > regardless of the actual bandwidth-delay product, and this results in very > > poor performance over non-local TCP connections. I'd suggest shipping 5.4 > > and future releases with net.inet.tcp.inflight.enable=0 until this problem > > can be fixed. > > Have you seen: > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=75122 I have now. :-) I saw parts of the discussion when it was occuring, but didn't really put it all together. > I wonder if it is the same bug or a different one? You know, it's really hard to tell. This code is very complicated. All I've been able to determine is that many tests with a variety of non-local, but 100-1000Mbps connected machines, all resulted in a 2 segment limit on the TCP window with top performance of less than 1.5Mbps. With the old not-so-clever algorithm (inflight.enable=0), I see about 15 times this with sendspace=64K. -DG David G. Lawrence President Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500 TeraSolutions, Inc. - http://www.terasolutions.com - (888) 346 7175 The FreeBSD Project - http://www.freebsd.org Pave the road of life with opportunities.