From owner-freebsd-current@FreeBSD.ORG Wed Jul 9 14:31:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 714FC37B401 for ; Wed, 9 Jul 2003 14:31:59 -0700 (PDT) Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id B040E43F75 for ; Wed, 9 Jul 2003 14:31:58 -0700 (PDT) (envelope-from culverk@yumyumyum.org) Received: by mailhub.yumyumyum.org (Postfix, from userid 1001) id D03E870; Wed, 9 Jul 2003 17:32:19 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mailhub.yumyumyum.org (Postfix) with ESMTP id CC04518; Wed, 9 Jul 2003 17:32:19 -0400 (EDT) Date: Wed, 9 Jul 2003 17:32:19 -0400 (EDT) From: Kenneth Culver To: Julian Elischer In-Reply-To: Message-ID: <20030709173114.W5579@alpha.yumyumyum.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Jeff Roberson cc: current@freebsd.org cc: John Polstra Subject: Re: wierd dsl performance with -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 21:31:59 -0000 > > > Can you do a > > > 'netstat -s -p tcp >> tcpstats' before and after the transfer? > > > > > > This should tell us if there were retransmits etc. It could be a > > > difference in minimum rtt values or a congestion issue that results in > > > timeout for our stack but some other recovery mechanism with other stacks. > > > > > > > Here is the output of the netstat before and after transferring "kern.flp" > > for FreeBSD 5.1: > > > > tcp: > [...] > > 35600 packets received > > [...] > > 1220 out-of-order packets (1657153 bytes) > > > > This is after: > > > > tcp: > [...] > > 36688 packets received > > 1298 out-of-order packets (1770089 bytes) > > This is the only thing that is of any interest.. > and it could only really be if the etherent driver was re-ordering > them.. > > possibly FreeBSD 5 might react more to out-of-order packets.. > > capture a download with tcpdump > and save it (ascii version) to a file using the -ttt option to get > relative timestamps.. > > look of any large values in the timestamps and see if there is anything > before that indicates a lost packet or a re-ordered one or something > (or a retransmitted ack) > > The key is to find the gap in the arriving packets and figure out > what caused it.. > Alright, I'll have to do this later this evening, don't have time right now. Thanks for the help though. Ken