From owner-freebsd-hackers Mon Dec 31 11:40:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 45F1337B43B for ; Mon, 31 Dec 2001 11:40:18 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011231194017.LXKM6450.rwcrmhc52.attbi.com@InterJet.elischer.org>; Mon, 31 Dec 2001 19:40:17 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA09824; Mon, 31 Dec 2001 11:40:05 -0800 (PST) Date: Mon, 31 Dec 2001 11:40:00 -0800 (PST) From: Julian Elischer To: Matthew Dillon Cc: Terry Lambert , Mike Silbersack , Josef Karthauser , Tomas Svensson , freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD performing worse than Linux? In-Reply-To: <200112311927.fBVJR0K21683@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 the driver should return ENOBUFS and TCP should repect that.. I think it already does in fact.. On Mon, 31 Dec 2001, Matthew Dillon wrote: > :I'm talking about capping the maximum negotiable window size > :over the USB adapter... > : > :How can this cause problems, since (1) the only thing we are talking > :about is window size, not packet size (MTU), and (2) the only thing > :it will effect is the TCP stream post negotiation, so it should not > :result in a slowdown for any virtual circuit other than those that > :*NEED* a slowdown? > : > :-- Terry > > If you look at the tcp dump Josef sent, the server was sending 32-byte > (data) packets over TCP. It only took 8 packets or so to blow up the USB > adapter. 8x32 = 256 bytes. So unless you intend to cap the window size > at, say, 128 bytes, this will solve the ssh issue but destroy performance > for everything else going over the USB ethernet. > > -Matt > Matthew Dillon > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message