From owner-freebsd-stable Thu Dec 13 10: 5:12 2001 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id A018237B417 for ; Thu, 13 Dec 2001 10:05:05 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id fBDI52076969; Thu, 13 Dec 2001 10:05:02 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id fBDI51c14845; Thu, 13 Dec 2001 10:05:01 -0800 (PST) (envelope-from jdp) Date: Thu, 13 Dec 2001 10:05:01 -0800 (PST) Message-Id: <200112131805.fBDI51c14845@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: thz@Lennartz-electronic.de Subject: Re: TCP stack still hosed? In-Reply-To: <20011213185153.A365@mezcal.tue.le> References: <20011213105451.A738@mezcal.tue.le> <200112131102.fBDB2WQ66827@apollo.backplane.com> <20011213185153.A365@mezcal.tue.le> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20011213185153.A365@mezcal.tue.le>, Thomas Zenker wrote: > the most impacting change is in tcp_usrreq.c > ---------------------------- > revision 1.51.2.10 > date: 2001/11/30 19:54:05; author: alfred; state: Exp; lines: +3 -3 > MFC: 1.64 (larger default tcp send/recieve buffers) > ---------------------------- > > It seems that the switch and/or the USB/ethernet adaptor is overrun > by the larger sendspace. So setting sysctl net.inet.tcp.xxxspace=16384 > on the USB/ethernet system solves the problem mostly. Try reducing the sysctl "net.inet.tcp.local_slowstart_flightsize" to 1 or 2. Does that also solve the problem? There seems to be mounting evidence that disabling slow start for local destinations is not a good strategy in general. It might have been OK in the days of hubs, but it seems to cause problems with many switches. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message