From owner-freebsd-net@FreeBSD.ORG Thu May 12 22:05:46 2005 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 708FB16A4CE for ; Thu, 12 May 2005 22:05:46 +0000 (GMT) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id AD7A843D83 for ; Thu, 12 May 2005 22:05:45 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from unknown (HELO 172.16.0.1) (mikej@69.193.222.195 with login) by smtp100.rog.mail.re2.yahoo.com with SMTP; 12 May 2005 22:05:44 -0000 Received: from 172.16.0.199 (SquirrelMail authenticated user mikej) by 172.16.0.1 with HTTP; Thu, 12 May 2005 18:05:46 -0400 (EDT) Message-ID: <2508.172.16.0.199.1115935546.squirrel@172.16.0.1> In-Reply-To: <20050512072754.GB92476@us.svf.stuba.sk> References: <20050505133250.GA73885@us.svf.stuba.sk> <20050506065950.GA1999@us.svf.stuba.sk> <20050507043712.GB28373@xor.obsecurity.org> <1318.172.16.0.199.1115846681.squirrel@172.16.0.1> <1424.172.16.0.199.1115851128.squirrel@172.16.0.1> <20050512072754.GB92476@us.svf.stuba.sk> Date: Thu, 12 May 2005 18:05:46 -0400 (EDT) From: "Mike Jakubik" To: "Marian Durkovic" User-Agent: SquirrelMail/1.5.1 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-net@freebsd.org Subject: Re: SOLVED: Degraded TCP performace on Intel PRO/1000 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: Thu, 12 May 2005 22:05:46 -0000 On Thu, May 12, 2005 3:27 am, Marian Durkovic said: > Hi, > > > On Wed, May 11, 2005 at 06:38:48PM -0400, Mike Jakubik wrote: > >> Any luck submitting the patch for this? >> > > Yes, it's kern/80932 Good stuff, ill test it when i get a chance. > >> I looked at Intels website, and the latest drive for FreeBSD 4.7 is >> 1.7.35. >> > > 1.7.41 could be found at: > > > http://downloadfinder.intel.com/scripts-df-external/filter_results.aspx?s > trTypes=all&ProductID=1068&OSFullName=FreeBSD*&lang=eng&strOSs=52&submit= > Go%21 Should we not be using the 2.x driver? Intels website states that 1.7 is for FreeBSD 4.x and that it is no longer maintained. The 2.x is for FreeBSD 5.3+, and is maintained. I think this is a good chance to bring it up to date. >> Seems like i am getting half the performance when sending to the fbsd >> box. Also, enabling jumbo frames does not help, and sometimes even >> yields slightly slower results. > > Yes, that's exactly the problem my patch is addressing - for larger MTU > sizes the TX FIFO is simply too small. Oddly enough, i ran the same benchmark between that same server and another freebsd box. However this time i ran it on 100mbit cards. A rl, and an fxp on the original server (wich has the em card also). I got the same results! Sending to the server gave me 11MB/s, but sending from it gave me about 7-8MB/s. There may be a problem in -CURRENT.