From owner-freebsd-net@FreeBSD.ORG Wed May 11 22:38:45 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 64FD516A4F3 for ; Wed, 11 May 2005 22:38:45 +0000 (GMT) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.FreeBSD.org (Postfix) with SMTP id CA39F43D31 for ; Wed, 11 May 2005 22:38:44 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from unknown (HELO 172.16.0.1) (mikej@69.193.222.195 with login) by smtp105.rog.mail.re2.yahoo.com with SMTP; 11 May 2005 22:38:44 -0000 Received: from 172.16.0.199 (SquirrelMail authenticated user mikej) by 172.16.0.1 with HTTP; Wed, 11 May 2005 18:38:48 -0400 (EDT) Message-ID: <1424.172.16.0.199.1115851128.squirrel@172.16.0.1> In-Reply-To: <1318.172.16.0.199.1115846681.squirrel@172.16.0.1> 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> Date: Wed, 11 May 2005 18:38:48 -0400 (EDT) From: "Mike Jakubik" To: "Kris Kennaway" , "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: Wed, 11 May 2005 22:38:45 -0000 On Wed, May 11, 2005 5:24 pm, Mike Jakubik said: > Any luck submitting the patch for this? I looked at Intels website, and > the latest drive for FreeBSD 4.7 is 1.7.35. Which is what is also used on > -CURRENT now. They also state "Development is no longer taking place on > this driver. For the latest development driver for FreeBSD* 5.3 or above, > please download em-2.0.5.a.tar.gz." However there is no link provided for > this driver. Am i just looking in the wrong place? Just as a follow up. I managed to find version 2.1.7 of the driver for FreeBSD 5.3+ on Intels site. I have sucessfully compiled it in to the kernel, the following are some quick netio benchmarks i took, between my two machines. They both use the PRO/1000 M card, connected via a cross over cable. em0: port 0x9000-0x903f mem 0xe3000000-0xe301ffff,0xe2800000-0xe281ffff irq 12 at device 10.0 on pci0 >From FBSD 6-CURRENT to Windows XP (netio server) TCP/IP connection established. Packet size 1 KByte: 41425 KByte/s Packet size 2 KByte: 42837 KByte/s Packet size 4 KByte: 42904 KByte/s Packet size 8 KByte: 42769 KByte/s Packet size 16 KByte: 42084 KByte/s Packet size 32 KByte: 42684 KByte/s >From Windows XP to FBSD 6-CURRENT (netio server) TCP/IP connection established. Packet size 1 KByte: 19403 KByte/s Packet size 2 KByte: 20918 KByte/s Packet size 4 KByte: 22498 KByte/s Packet size 8 KByte: 21246 KByte/s Packet size 16 KByte: 24778 KByte/s Packet size 32 KByte: 25237 KByte/s 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. The other thing that has me puzzled is the MTU size the fbsd and windows drivers take. The fbsd driver states a maximum of 16114, while the windows driver allows up to 16128. Is the fbsd driver including the header information in the MTU size? The Windows driver states that it is not. Thanks.