From owner-freebsd-hackers Mon Dec 31 12:41:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id EE8F037B440 for ; Mon, 31 Dec 2001 12:40:22 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011231204022.QNNH1920.rwcrmhc51.attbi.com@InterJet.elischer.org>; Mon, 31 Dec 2001 20:40:22 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA10060; Mon, 31 Dec 2001 12:27:18 -0800 (PST) Date: Mon, 31 Dec 2001 12:27:17 -0800 (PST) From: Julian Elischer To: Terry Lambert Cc: Matthew Dillon , Mike Silbersack , Josef Karthauser , Tomas Svensson , freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD performing worse than Linux? In-Reply-To: <3C30C5F9.BCC1BAE8@mindspring.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 On Mon, 31 Dec 2001, Terry Lambert wrote: > Matthew Dillon wrote: > > :the driver should return ENOBUFS > > :and TCP should repect that.. > > :I think it already does in fact.. > > > > How does the client's driver returning ENOBUFS prevent the server from > > sending too many packets? > > Matt: make up your mind. > > Either: > > 1) The server is sending too many packets > > OR > > 2) The server is NOT sending too many packets > > The correct way to deal with #1 is to negotiate a smaller window size > so that "too many packets are not sent". Windows are set in BYTES not packets.. what IS set in packets is the backoff winsow size (I forget it's real name) in the slow-start code.. there may be something you could do there... > > Actually, the PSC rate-halving algorithm would probably fix this > right up... > > -- Terry > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message