From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 4 09:30:16 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAEC41065672 for ; Sat, 4 Dec 2010 09:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C6E808FC24 for ; Sat, 4 Dec 2010 09:30:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oB49UFrB001499 for ; Sat, 4 Dec 2010 09:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oB49UFLv001493; Sat, 4 Dec 2010 09:30:15 GMT (envelope-from gnats) Resent-Date: Sat, 4 Dec 2010 09:30:15 GMT Resent-Message-Id: <201012040930.oB49UFLv001493@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rick Richard Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CC0F106566C for ; Sat, 4 Dec 2010 09:29:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 009C28FC08 for ; Sat, 4 Dec 2010 09:29:51 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oB49ToYn024470 for ; Sat, 4 Dec 2010 09:29:50 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oB49ToKf024469; Sat, 4 Dec 2010 09:29:50 GMT (envelope-from nobody) Message-Id: <201012040929.oB49ToKf024469@red.freebsd.org> Date: Sat, 4 Dec 2010 09:29:50 GMT From: Rick Richard To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/152828: [em] poor performance on 8.1, 8.2-PRE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2010 09:30:16 -0000 >Number: 152828 >Category: kern >Synopsis: [em] poor performance on 8.1, 8.2-PRE >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 04 09:30:15 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Rick Richard >Release: FreeBSD 8.2-PRERELEASE #3: Fri Dec 3 22:28:42 PST 2010 >Organization: >Environment: FreeBSD thinking.kicks-ass.org 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #3: Fri Dec 3 22:28:42 PST 2010 rrichard@thinking.kicks-as s.org:/usr/obj/usr/src/sys/REASON amd64 >Description: The only additions to the kernel config are PF and ALTQ. After upgrading from 8.0 to 8.1-RELEASE, throughput has been terrible with this card. I have it connected to a 100baseTX switch. Using iperf between this machine and another machine I measure only 1.80Mbits/sec coming in but the full 94.8Mbits/sec going out. I just upgraded to 8-STABLE hoping for some improvement, but the results are the same. Now just to be sure, I copied the 8.0-RELEASE em / e1000 driver over to 8-STABLE, rebuilt the kernel, and measured 94.6Mbits/sec coming in and 87.4Mbits/sec going out. It seems that the post-8.0 driver performs better when transmitting but there is something seriously wrong with the reception of traffic. dmesg: FreeBSD 8.1-RELEASE-p2 #2: Fri Dec 3 15:58:41 PST 2010 em0: port 0xcc00-0xcc3f mem 0xfdfe0000-0xfdffffff,0xfdfc0000-0xfdfdffff irq 16 1 em0: [FILTER] em0: Ethernet address: 00:07:e9:19:f0:cc FreeBSD 8.2-PRERELEASE #3: Fri Dec 3 22:28:42 PST 2010 em0: port 0xcc00-0xcc3f mem 0xfdfe0000-0xfdffffff,0xfdfc0000-0xfdfdffff irq 16 1 em0: [FILTER] em0: Ethernet address: 00:07:e9:19:f0:cc sysctl -a: dev.em.0.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.0.3 dev.em.0.%driver: em dev.em.0.%location: slot=4 function=0 dev.em.0.%pnpinfo: vendor=0x8086 device=0x100e subvendor=0x8086 subdevice=0x002e class=0x020000 dev.em.0.%parent: pci1 ifconfig -a: em0: flags=8843 metric 0 mtu 1500 options=209b ether 00:07:e9:19:f0:cc inet 24.176.175.198 netmask 0xfffffff8 broadcast 24.176.175.199 media: Ethernet autoselect (100baseTX ) status: active >How-To-Repeat: Use same or similar chipset and compare performance between 8.0 and 8.1+ I believe the card is named "Intel PRO/1000 MT Desktop RT" >Fix: >Release-Note: >Audit-Trail: >Unformatted: