From owner-freebsd-stable@FreeBSD.ORG Mon Dec 10 17:15:07 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4123C16A417; Mon, 10 Dec 2007 17:15:07 +0000 (UTC) (envelope-from lolo@agneau.org) Received: from bergerie.agneau.org (bergerie.agneau.org [88.173.248.15]) by mx1.freebsd.org (Postfix) with ESMTP id EB87713C44B; Mon, 10 Dec 2007 17:15:06 +0000 (UTC) (envelope-from lolo@agneau.org) Received: by bergerie.agneau.org (Postfix, from userid 500) id B177410A0E1; Mon, 10 Dec 2007 17:47:19 +0100 (CET) Date: Mon, 10 Dec 2007 17:47:19 +0100 From: Laurent Frigault To: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org Message-ID: <20071210164719.GA97514@obelix.bergerie.agneau.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Powered-By: UUCP Cc: Subject: major bge(4) performance problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 17:15:07 -0000 Hi, We are experiencing a problem with BCM5721 bge interfaces, which seems to be able to receive at almost 1Gbps but can only transmit at < 540Mbps. It is the exactly same problem describes at http://lists.freebsd.org/pipermail/freebsd-net/2007-June/014373.html Our test server is as Dell PE860 CPU: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz (2400.10-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 8577101824 (8179 MB) avail memory = 8297656320 (7913 MB) bge0@pci0:4:0:0: class=0x020000 card=0x01e61028 chip=0x165914e4 rev=0x11 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5721 NetXtreme Gigabit Ethernet PCI Express' class = network subclass = ethernet bge1@pci0:5:0:0: class=0x020000 card=0x01e61028 chip=0x165914e4 rev=0x11 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5721 NetXtreme Gigabit Ethernet PCI Express' class = network subclass = ethernet We ran the following test with FreeBSD 6.3-PRERELEASE/i386 , FreeBSD 7.0BETA4/amd64 (ULE and BSD, with and without POLLING). # dd if=/dev/zero bs=1m count=102400 | nc peer 15000 no firewall on the server. netstat -i show no errors interface forced 1000baseTX duplex-full on both server and switch, no autoneg. The server as 2 bge interfaces, and both have the same problem. Peer was running 6.3-PRERELEASE/amd64 with an em interface on peer we run : nc -l 15000 >/dev/null If we boot our test server with a linux ubuntu 6.0.6 and run the same test, we can transmit at more than 900 Mbps so it is not an harware problem. But we would like to stay away from linux on our servers. Is there any patch/fix available for this driver ? Unfortunatly our server has no more slot available so we can't forget the bge interfaces and add an em interface. I can run tests on a spare server if needed (same hardware). Regards, -- Laurent Frigault | "Ask not what Windows 2000 can do for you, ask what you can do for Windows 2000." - John F. Kennedy, after submitting his first bug report.