From owner-freebsd-net@FreeBSD.ORG Wed Aug 21 18:47:14 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6C4F58CB for ; Wed, 21 Aug 2013 18:47:14 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 88EE52165 for ; Wed, 21 Aug 2013 18:47:12 +0000 (UTC) Received: (qmail 73772 invoked from network); 21 Aug 2013 19:30:15 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 21 Aug 2013 19:30:15 -0000 Message-ID: <52150B29.1090805@freebsd.org> Date: Wed, 21 Aug 2013 20:47:05 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Kevin Oberman Subject: Re: TSO and FreeBSD vs Linux References: <520A6D07.5080106@freebsd.org> <520AFBE8.1090109@freebsd.org> <520B24A0.4000706@freebsd.org> <520B3056.1000804@freebsd.org> <520BDEAE.9000104@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Lawrence Stewart , FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2013 18:47:14 -0000 On 15.08.2013 01:27, Kevin Oberman wrote: > On Wed, Aug 14, 2013 at 12:46 PM, Julian Elischer wrote: > >> On 8/14/13 3:23 PM, Lawrence Stewart wrote: >> >>> On 08/14/13 16:33, Julian Elischer wrote: >>> >>> They switched to using an initial window of 10 segments some time ago. >>>>> FreeBSD starts with 3 or more recently, 10 if you're running recent >>>>> 9-STABLE or 10-CURRENT. >>>>> >>>> I tried setting initial values as shown: >>>> net.inet.tcp.local_slowstart_**flightsize: 10 >>>> net.inet.tcp.slowstart_**flightsize: 10 >>>> it didn't seem to make too much difference but I will redo the test. >>>> >>> Assuming this is still FreeBSD 8.0 as you mentioned out-of-band, >>> changing those variables without disabling rfc3390 will have no effect. >>> >>> I think (check the driver code in question as I'm not sure) that if you >>> "ifconfig lro" and the driver has hardware support or has been made >>> aware of our software implementation, it should DTRT. >>> >> >> so I ran on 9.2-beta ( a week or two old) and it had similar problems.. >> only worse.. 9.2 actually sends multiple packets when is doesn't need to.. >> http://people.freebsd.org/~julian/fbsd9.png >> > > Ack! (Sorry) I could have sworn that this had been fixed. Has it been > re-broken? There may be some window update dynamics going on together with LRO received ACK compression. -- Andre