From owner-freebsd-net@FreeBSD.ORG Tue Feb 10 01:26:44 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6FE616A4D1 for ; Tue, 10 Feb 2004 01:26:44 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id F07DD43D1D for ; Tue, 10 Feb 2004 01:26:43 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 2629 invoked from network); 10 Feb 2004 09:26:42 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.47]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 10 Feb 2004 09:26:42 -0000 Message-ID: <4028A3EA.1050405@freebsd.org> Date: Tue, 10 Feb 2004 10:27:06 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040125 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Danny Braniss References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: freebsd-net@freebsd.org Subject: Re: TTCP/RFC1644 problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 09:26:45 -0000 Danny Braniss wrote: > hi, > im running some experiments, and it seems to me that > setting net.inet.tcp.rfc1644 has the reverse effect. > with sysctl net.inet.tcp.rfc1644 = 0, the transaction uses only 6 packets > and it's less than 1 sec, setting net.inet.tcp.rfc1644 to 1 uses > 8 packets and takes more than 1 sec. The first tcp session in an TTCP connection doesn't gain anything, only subsequent session can go faster. You see in the second case that it tries to send data in the packet which is not ACKed for the first connection and has to be retransmitted. You should check out the second and third connection to the server and look how they behave. Did you enable rfc1644 on server and client? -- Andre > with net.inet.tcp.rfc1644 = 0: > No. Time Source Destination Protocol Info > 1 0.000000 132.65.80.32 132.65.16.103 TCP 4105 > > 255 [SYN] Seq=3300562868 Ack=0 Win=57920 Len=0 > 2 0.000038 132.65.16.103 132.65.80.32 TCP 255 > > 4105 [SYN, ACK] Seq=3867169834 Ack=3300562869 Win=57344 Len=0 > 3 0.003137 132.65.80.32 132.65.16.103 TCP 4105 > > 255 [FIN, PSH, ACK] Seq=3300562869 Ack=3867169835 Win=57920 Len=25 > 4 0.003215 132.65.16.103 132.65.80.32 TCP 255 > > 4105 [ACK] Seq=3867169835 Ack=3300562895 Win=57895 Len=0 > 5 0.035350 132.65.16.103 132.65.80.32 TCP 255 > > 4105 [FIN, PSH, ACK] Seq=3867169835 Ack=3300562895 Win=57920 Len=4 > 6 0.038110 132.65.80.32 132.65.16.103 TCP 4105 > > 255 [ACK] Seq=3300562895 Ack=3867169840 Win=57916 Len=0 > > > with net.inet.tcp.rfc1644 = 1: > No. Time Source Destination Protocol Info > 1 0.000000 132.65.80.32 132.65.16.103 TCP 4108 > > 255 [FIN, SYN, PSH] Seq=967743282 Ack=0 Win=57600 Len=25 > 2 0.000036 132.65.16.103 132.65.80.32 TCP 255 > > 4108 [SYN, ACK] Seq=99082279 Ack=967743283 Win=57344 Len=0 > 3 0.002622 132.65.80.32 132.65.16.103 TCP 4108 > > 255 [FIN, ACK] Seq=967743308 Ack=99082280 Win=57920 Len=0 > 4 0.002671 132.65.16.103 132.65.80.32 TCP 255 > > 4108 [ACK] Seq=99082280 Ack=967743283 Win=57920 Len=0 > 5 1.201556 132.65.80.32 132.65.16.103 TCP 4108 > > 255 [FIN, PSH, ACK] Seq=967743283 Ack=99082280 Win=57920 Len=25 > 6 1.201609 132.65.16.103 132.65.80.32 TCP 255 > > 4108 [ACK] Seq=99082280 Ack=967743309 Win=57895 Len=0 > 7 1.227906 132.65.16.103 132.65.80.32 TCP 255 > > 4108 [FIN, PSH, ACK] Seq=99082280 Ack=967743309 Win=57920 Len=4 > 8 1.230653 132.65.80.32 132.65.16.103 TCP 4108 > > 255 [ACK] Seq=967743309 Ack=99082285 Win=57916 Len=0 > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >