From owner-freebsd-hackers Fri Nov 30 4:20:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id E662A37B416 for ; Fri, 30 Nov 2001 04:20:36 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.0/8.11.0) with UUCP id fAUCJuc86266; Fri, 30 Nov 2001 13:19:57 +0100 (CET) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id fAUCATAD082287; Fri, 30 Nov 2001 13:10:29 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id fAUCARL10194; Fri, 30 Nov 2001 13:10:28 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.4/8.11.4) id fAUCAFc71042; Fri, 30 Nov 2001 13:10:15 +0100 (CET) (envelope-from ticso) Date: Fri, 30 Nov 2001 13:10:13 +0100 From: Bernd Walter To: Pierre Beyssac Cc: Leo Bicknell , Josh Paetzel , jc@irbs.com, freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD performing worse than Linux? Message-ID: <20011130131013.A70828@cicely8.cicely.de> References: <20011128153817.T61580@monorchid.lemis.com> <15364.38174.938500.946169@caddis.yogotech.com> <20011129004234.A16101@exuma.irbs.com> <20011130010354.A21307@fasterix.frmug.org> <20011129184414.F522@twincat.vladsempire.net> <20011130022547.A21889@fasterix.frmug.org> <20011129204225.A63957@ussenterprise.ufp.org> <20011130032345.A23415@fasterix.frmug.org> <20011129222809.A67159@ussenterprise.ufp.org> <20011130111156.A27621@fasterix.frmug.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011130111156.A27621@fasterix.frmug.org> User-Agent: Mutt/1.3.23i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 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 Fri, Nov 30, 2001 at 11:11:56AM +0100, Pierre Beyssac wrote: > On Thu, Nov 29, 2001 at 10:28:09PM -0500, Leo Bicknell wrote: > > 4000 km one way == 8000 km two way, 8000 / 168300 = 47ms in my book, > > theoretial optimum. > > > > With an RTT of 47ms, you can move 16k per RTT, or or about 340k/sec. > > It's where I don't quite agree: for a bulk transfer, there is no > RTT to account for, you only need to take into account the one-way > delay, TCP does the rest for you assuming the window is large enough. Asume you have 10ms one way delay and an RTT of 20ms. Lets asume your windowsize fits exactly the one way delay. You start sending data until the send window is exhaustet. You have been seending 10ms from the begining and at that time the first packet of you stream reaches the receiver. Now you have to stop sending data for 10ms because you have to wait for the first acknowledge to arive to free some space of the window - if the receiver delays ack you have to wait longer. You can easily see that you need to take RTT + delayed-ack-time into acount. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message