From owner-freebsd-stable@FreeBSD.ORG Wed Jun 4 07:10:39 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AA1637B401 for ; Wed, 4 Jun 2003 07:10:39 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13D4B43FB1 for ; Wed, 4 Jun 2003 07:10:34 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org (12-234-159-107.client.attbi.com[12.234.159.107]) by attbi.com (sccrmhc01) with ESMTP id <2003060414103300100hs7kje>; Wed, 4 Jun 2003 14:10:33 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.8p1/8.12.3) with ESMTP id h54EAVki072697; Wed, 4 Jun 2003 07:10:32 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.8p1/8.12.8/Submit) id h54EALuc072696; Wed, 4 Jun 2003 07:10:21 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Wed, 4 Jun 2003 07:10:21 -0700 From: "Crist J. Clark" To: "Giovanni P. Tirloni" Message-ID: <20030604141021.GA83754@blossom.cjclark.org> References: <20030601071255.GC123@pixies.tirloni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030601071255.GC123@pixies.tirloni.org> User-Agent: Mutt/1.4.1i X-URL: http://people.freebsd.org/~cjc/ cc: freebsd-stable@freebsd.org Subject: Re: Very weird network behaviour with 4.7-RELEASE-p10 (large) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Crist J. Clark" List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 14:10:39 -0000 On Sun, Jun 01, 2003 at 04:12:55AM -0300, Giovanni P. Tirloni wrote: > Hi, > > I have been doing some tests using hping2 and TCP SYN > pings targeting local and remote hosts from two FreeBSD > 4.7-RELEASE-p10 and one Linux 2.4.18 host. > > The three machines have the same hardware configuration > and have been running for 6 months now. The average load > isnt too high (usually 0.01 to 0.15) on the FreeBSD machines. > > Here is the output from hping2 (excuse me the line wrap), > > root:~# hping -S -p 80 -c 6 www.freebsd.org > HPING www.freebsd.org (fxp0 216.136.204.117): S set, 40 headers + 0 data bytes > len=46 ip=216.136.204.117 ttl=50 DF id=20997 sport=80 flags=SA seq=0 win=57344 rtt=212.6 ms > len=46 ip=216.136.204.117 ttl=50 DF id=21140 sport=80 flags=SA seq=1 win=57344 rtt=212.3 ms > len=46 ip=216.136.204.117 ttl=50 DF id=21301 sport=80 flags=SA seq=2 win=57344 rtt=212.3 ms > DUP! len=46 ip=216.136.204.117 ttl=50 DF id=21494 sport=80 flags=SA seq=0 win=57344 rtt=3207.3 ms > len=46 ip=216.136.204.117 ttl=50 DF id=21498 sport=80 flags=SA seq=3 win=57344 rtt=212.3 ms > DUP! len=46 ip=216.136.204.117 ttl=50 DF id=21650 sport=80 flags=SA seq=1 win=57344 rtt=3209.4 ms > > --- www.freebsd.org hping statistic --- > 5 packets tramitted, 6 packets received, -20% packet loss > round-trip min/avg/max = 212.3/1211.0/3209.4 ms [snip] > Any help is welcome and sorry if this email doesn't have all the > information needed to solve this problem. I'll be happy to provide > more details and do more tests if needed. Errr... What problem? The hping2 and tcpdump output all look normal. You send a SYN to a remote host, it keeps sending SYN-ACKs back trying to establish the connection. You get long "RTTs" due to the time elapsed between the initial SYN and the continuing responses. That RTT has nothing to do with how fast a packet crosses the network. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org