From owner-freebsd-net@FreeBSD.ORG Tue Oct 4 12:44:55 2005 Return-Path: X-Original-To: net@freebsd.org 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 CFBA716A41F for ; Tue, 4 Oct 2005 12:44:55 +0000 (GMT) (envelope-from toasty@dragondata.com) Received: from tokyo01.jp.mail.your.org (tokyo01.jp.mail.your.org [204.9.54.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70C9843D45 for ; Tue, 4 Oct 2005 12:44:55 +0000 (GMT) (envelope-from toasty@dragondata.com) Received: from mail.dragondata.com (server3-b.your.org [64.202.113.67]) by tokyo01.jp.mail.your.org (Postfix) with ESMTP id C88982AD5BDF; Tue, 4 Oct 2005 13:07:10 +0000 (UTC) Received: from [69.31.99.45] (pool045.dhcp.your.org [69.31.99.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.dragondata.com (Postfix) with ESMTP id A97CA3D181F; Tue, 4 Oct 2005 07:44:52 -0500 (CDT) In-Reply-To: <43426EF3.3020404@jku.at> References: <4341089F.7010504@jku.at> <20051003104548.GB70355@cell.sick.ru> <4341242F.9060602@jku.at> <20051003123210.GF70355@cell.sick.ru> <43426EF3.3020404@jku.at> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9CD8C672-1EF2-42FE-A61E-83DC684C893D@dragondata.com> Content-Transfer-Encoding: 7bit From: Kevin Day Date: Tue, 4 Oct 2005 07:45:08 -0500 To: ferdinand.goldmann@jku.at X-Mailer: Apple Mail (2.734) Cc: net@freebsd.org Subject: Re: dummynet, em driver, device polling issues :-(( X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 12:44:55 -0000 On Oct 4, 2005, at 7:00 AM, Ferdinand Goldmann wrote: > > Ok, to followup on this issue: > > Today I installed the driver which I had downloaded from the Intel > website (em-3.2.15.tar.gz). This driver does not solve the issue > with Ierrs rising rapidly when polling is enabled (I tried HZ=1000 > and burst_max 300 and 600). > > Neither throughput nor interrupt load were any better than with the > old driver; in fact I'd say they were worse. :-( So we ended up > rebooting with the old kernel. > > This is pretty bad, because we did assume that Intel cards are > among the ones well supported by FreeBSD. > > Can anyone give recommendations on copper Gbit cards that work > _well_ with recent FreeBSD 5-STABLE? This is pretty odd. We've got dozens of servers using various versions of 5.x, and many different em cards, and have no problem, even when shoving near line rate speeds out of them. Add in cards like: em0: port 0xccc0-0xccff mem 0xfcd20000-0xfcd3ffff irq 24 at device 6.0 on pci2 and built in to newer Dell servers: em0: port 0xecc0-0xecff mem 0xdfae0000-0xdfafffff irq 64 at device 7.0 on pci6 After you experience your problems, can you do "sysctl -w hw.em0.stats=1" and "sysctl -w hw.em0.debug_info=1" and post what gets dumped to your syslog/dmesg output? We're using polling on nearly all the servers, and don't see ierrs at all. Have you tried contacting Intel directly about this? freebsdnic@mailbox.intel.com has been pretty helpful with em specific problems in the past.