From owner-freebsd-net@FreeBSD.ORG Mon Sep 27 14:22:02 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 C848316A4CF for ; Mon, 27 Sep 2004 14:22:02 +0000 (GMT) Received: from smtp003.bizmail.yahoo.com (smtp003.bizmail.yahoo.com [216.136.130.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 54E8F43D2F for ; Mon, 27 Sep 2004 14:22:02 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@70.240.221.121 with login) by smtp003.bizmail.yahoo.com with SMTP; 27 Sep 2004 14:22:02 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 1E7546230; Mon, 27 Sep 2004 09:22:01 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 41092-01-2; Mon, 27 Sep 2004 09:21:59 -0500 (CDT) Received: from www.noacks.org (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 86733622C; Mon, 27 Sep 2004 09:21:59 -0500 (CDT) Received: from 69.53.57.66 (SquirrelMail authenticated user noackjr); by www.noacks.org with HTTP; Mon, 27 Sep 2004 09:21:59 -0500 (CDT) Message-ID: <55800.69.53.57.66.1096294919.squirrel@69.53.57.66> In-Reply-To: <20040927141224.R55054@p-i-n.com> References: <414ADD15.FAC42CDB@freebsd.org> <20040917231922.G55054@p-i-n.com> <414B567C.9060904@freebsd.org> <414B5777.1030901@freebsd.org> <20040918000303.J55054@p-i-n.com> <414B6F11.5070902@freebsd.org> <20040918013929.O55054@p-i-n.com> <414B8C1B.2E7C971C@freebsd.org> <20040918155408.P55054@p-i-n.com> <414CB896.8070408@alumni.rice.edu> <20040927141224.R55054@p-i-n.com> Date: Mon, 27 Sep 2004 09:21:59 -0500 (CDT) From: "Jon Noack" To: "Raphael H. Becker" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at noacks.org cc: rwatson@freebsd.org cc: net@freebsd.org Subject: Re: Strange things on GBit / 1000->100 / net.inet.tcp.sack X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 14:22:03 -0000 Raphael H. Becker wrote: > Hi Jon, > > On Sat, Sep 18, 2004 at 05:37:10PM -0500, Jon Noack wrote: >> Have you tried disabling SACK (net.inet.tcp.sack.enable) on the 5.3 >> machine? > > Tried that now. > > case 1000->100: > > sack.enable:1 300kbytes/sec > sack.enable:0 1.4MBytes/sec (should be around 10MBytes/sec) > > say: slightly better performance without sack. Interesting. While I don't think that sack is to blame here, it appears to aggravate the situation. Your network setup is not going to significantly benefit from sack, so you could leave it off to help... > case 1000->1000: > > sack.enable:1 76.82 MBytes/sec > sack.enable:0 76.80 MBytes/sec > > say: exactly no difference. > > The FTP-server is a 5.3-BETA4, the client(100) still a 4.10-p2 and > client(1000) a 5.3-BETA5. > > Any idea? > > I still guess the rubbish switch has a problem with its store&forward > engine and cannot buffer much data, maybe broken by design. I think others may have asked this, but have you tried using a different switch? Also, what happens if you force the card to 100Mbit? Do you still get poor performance? > On the other hand, freebsd 5.3 seems not to recognize this and I don't > know where in the network stack the traffic is limited to effectivly > 100MBit/sec, when sending to a 100MBit-node. With 4.10 as GBit-sender > the transfer to a 100MBit-Node works perfectly (10.5 MBytes/sec ftp). Yeah, ideally we would gracefully handle finicky hardware. > The differences on sender's side are: > > a) 5.3-BETA (poor) 4.10-p2 (perfect) > b) (poor) vs > (perfect) > > HTH > Raphael Becker > > Maybe you have an idea about the switch-specs: > http://www.netgearinc.co.jp/support/pdf/gs516t_manual.pdf page 22 of 34 Sorry, I'm not knowledgeable enough to comment intelligently on switch specs. Jon