From owner-freebsd-net@FreeBSD.ORG Sat Oct 8 10:13:13 2005 Return-Path: X-Original-To: freebsd-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 6190616A41F; Sat, 8 Oct 2005 10:13:13 +0000 (GMT) (envelope-from david.mao@thomson.net) Received: from dmzraw4.extranet.tce.com (dmzraw4.extranet.tce.com [157.254.234.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id D07C443D45; Sat, 8 Oct 2005 10:13:12 +0000 (GMT) (envelope-from david.mao@thomson.net) Received: from indyvss4.am.thmulti.com (unknown [157.254.92.63]) by dmzraw4.extranet.tce.com (Postfix) with ESMTP id B9E16150D; Sat, 8 Oct 2005 10:13:11 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by indyvss4.am.thmulti.com (Postfix) with ESMTP id 1F1E96DA09; Sat, 8 Oct 2005 10:10:07 +0000 (GMT) Received: from indyvss4.am.thmulti.com ([127.0.0.1]) by localhost (indyvss4 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20603-01-76; Sat, 8 Oct 2005 10:10:03 +0000 (GMT) Received: from indysmailcs01.am.thmulti.com (indysmailcs01.am.thmulti.com [157.254.96.5]) by indyvss4.am.thmulti.com (Postfix) with ESMTP id 4FABC6D9C1; Sat, 8 Oct 2005 10:10:03 +0000 (GMT) Received: from INDYSMAILBH02.am.thmulti.com ([157.254.96.2]) by indysmailcs01.am.thmulti.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 8 Oct 2005 05:13:07 -0500 Received: from tahkexch2k.ap.thmulti.com ([141.11.13.12]) by INDYSMAILBH02.am.thmulti.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 8 Oct 2005 05:13:07 -0500 Received: from bjngsmail01.ap.thmulti.com ([10.11.70.35]) by tahkexch2k.ap.thmulti.com with Microsoft SMTPSVC(5.0.2195.6713); Sat, 8 Oct 2005 18:13:04 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Date: Sat, 8 Oct 2005 18:13:02 +0800 Message-ID: <31021C278A7A6B4AB95E9A085C35521821EC0B@bjngsmail01> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: problems with em(4) Thread-Index: AcXL3FNkRJf62ufURNSNa0yTEXSiJgAFBglw From: "Mao Shou Yan" To: "Gleb Smirnoff" X-OriginalArrivalTime: 08 Oct 2005 10:13:04.0679 (UTC) FILETIME=[DF2D1370:01C5CBF0] X-Virus-Scanned: amavisd-new at thomson.net Cc: freebsd-net@freebsd.org Subject: RE: problems with em(4) 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: Sat, 08 Oct 2005 10:13:13 -0000 My testing is not related with fast forwarding. It only runs on layer 2(bridge). But the bridge and fast forwarding are in the same style. Both of them run in the same path as driver. I think it's not a problem with fast forwarding. -----Original Message----- From: owner-freebsd-net@freebsd.org = [mailto:owner-freebsd-net@freebsd.org] On Behalf Of Gleb Smirnoff Sent: 2005=C4=EA10=D4=C28=C8=D5 15:42 To: Mao Shou Yan Cc: freebsd-net@FreeBSD.org Subject: Re: problems with em(4) On Sat, Oct 08, 2005 at 10:03:56AM +0800, Mao Shou Yan wrote: M> On Fri, Aug 12, 2005 at 01:48:59PM +0800, Mao Shou Yan wrote: M> M> I have a machine running 5.4 stable, with 3 em cards: M> M>=20 M> M> (1) Two 82543GC with fiber=20 M> M>=20 M> M> (2) One 82544 M> M>=20 M> M> All of them are shared irq 11( from vmstat -i) M> M>=20 M> M> =20 M> M>=20 M> M> The problem is: M> M>=20 M> M> After the system run about 3 hours, there will be large = "Ierrs" M> M> with the em0(BTW, em0 is in promisc mode). M> M>=20 M> M> I use "sysctl hw.em0.stats=3D1", found there are a lot of = "missed M> M> packets" and some "Receive with no buffers". M> M>=20 M> M> Em0 is in polling mode, and hz is 2000, burst_max and M> M> each_burst is the default value. M> M>=20 M> M> The system is not heavy loaded, incoming rates of em0 is = less M> M> than 150Mbits/s. em1 and em2 are not connected. M> M>=20 M> M> And pps is less than 30k. M> M>=20 M> M> After 3 hours, the ierrs raise quickly every 1 minutes! M> M>=20 M> M> From pciconf, I found the driver version is "1.7.35". M> M>=20 M> M> =20 M> M>=20 M> M> I think is a problem with em(4) driver. M> M>=20 M> M> Anyone meet such condition? M>=20 M> Do you have ip fastforwarding enabled? Do you use any firewall = filtering M> or any other additional packet processing on your router? M>=20 M> I enable fast forwarding! M> With or without ipfw, result is the same. Can you please try to disable fast forwarding and see whether this helps or not? P.S. Please do not use top quoting, it make email hard to read. --=20 Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"