From owner-freebsd-net@FreeBSD.ORG Sat May 7 04:37:13 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 E3E1E16A4D8 for ; Sat, 7 May 2005 04:37:13 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD73243D41 for ; Sat, 7 May 2005 04:37:13 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2743A513B6; Fri, 6 May 2005 21:37:13 -0700 (PDT) Date: Fri, 6 May 2005 21:37:13 -0700 From: Kris Kennaway To: Marian Durkovic Message-ID: <20050507043712.GB28373@xor.obsecurity.org> References: <20050505133250.GA73885@us.svf.stuba.sk> <20050506065950.GA1999@us.svf.stuba.sk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <20050506065950.GA1999@us.svf.stuba.sk> User-Agent: Mutt/1.4.2.1i 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: Sat, 07 May 2005 04:37:14 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 06, 2005 at 08:59:50AM +0200, Marian Durkovic wrote: > Hi all, >=20 >=20 > seems we've found the problem. The performance degradation was happening > it the TX path, due to insufficient setting of TX packet buffer FIFO on t= he > chip. >=20 > To achieve wirespeed performance, the TX FIFO must be large enough to > accomodate 2 jumbo packets (not just 1 as the driver was assuming). > There was also a typo in the driver, causing the PBA tuning on most > cards to be non-functional. >=20 > Due to above limitation, the 82547 chipset (featuring only 40 KB of=20 > RX/TX FIFO) only supports wirespeed tranfers upto 8 KB TCP payload > (MTU 9000 bytes). >=20 > Please be sure to use em driver version 1.7.41 or newer, either from > the CVS (branch RELENG_4_11) or from Intel's downloads. Does this also apply to 5.x and above? If no-one else responds in the next few days, can you please submit the patch in PR so it does not get lost? Kris --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCfEX4Wry0BWjoQKURAq2HAKDkZgY2STk4x0cnkke54Kzkfy938wCbBabw emlUHjfsZreE2HXlJejkAxM= =TUbT -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--