From owner-freebsd-net@FreeBSD.ORG Fri Aug 12 05:52:29 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 2ABC816A41F for ; Fri, 12 Aug 2005 05:52:29 +0000 (GMT) (envelope-from david.mao@thomson.net) Received: from dmzraw5.extranet.tce.com (dmzraw5.extranet.tce.com [157.254.234.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83CAD43D45 for ; Fri, 12 Aug 2005 05:52:28 +0000 (GMT) (envelope-from david.mao@thomson.net) Received: from indyvss4.am.thmulti.com (unknown [157.254.92.63]) by dmzraw5.extranet.tce.com (Postfix) with ESMTP id 668ACB3C for ; Fri, 12 Aug 2005 05:52:27 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by indyvss4.am.thmulti.com (Postfix) with ESMTP id 30385210A0 for ; Fri, 12 Aug 2005 05:50:24 +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 13178-01-37 for ; Fri, 12 Aug 2005 05:50:22 +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 CE581210A5 for ; Fri, 12 Aug 2005 05:50:22 +0000 (GMT) Received: from indysmailbh01.am.thmulti.com ([157.254.96.4]) by indysmailcs01.am.thmulti.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 12 Aug 2005 00:52:26 -0500 Received: from tahkexch2k.ap.thmulti.com ([141.11.13.12]) by indysmailbh01.am.thmulti.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 12 Aug 2005 00:52:25 -0500 Received: from bjngsmail01.ap.thmulti.com ([10.11.70.35]) by tahkexch2k.ap.thmulti.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 12 Aug 2005 13:50:38 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Date: Fri, 12 Aug 2005 13:48:59 +0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: problems with em(4) Thread-Index: AcWfAYXhYy8f7NOvRF6hsbrSgr+HxA== From: "Mao Shou Yan" To: X-OriginalArrivalTime: 12 Aug 2005 05:50:38.0688 (UTC) FILETIME=[C449C600:01C59F01] X-Virus-Scanned: amavisd-new at thomson.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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: Fri, 12 Aug 2005 05:52:29 -0000 I have a machine running 5.4 stable, with 3 em cards: (1) Two 82543GC with fiber=20 (2) One 82544 All of them are shared irq 11( from vmstat -i) =20 The problem is: After the system run about 3 hours, there will be large "Ierrs" with the em0(BTW, em0 is in promisc mode). I use "sysctl hw.em0.stats=3D1", found there are a lot of = "missed packets" and some "Receive with no buffers". Em0 is in polling mode, and hz is 2000, burst_max and each_burst is the default value. The system is not heavy loaded, incoming rates of em0 is less than 150Mbits/s. em1 and em2 are not connected. And pps is less than 30k. After 3 hours, the ierrs raise quickly every 1 minutes! From pciconf, I found the driver version is "1.7.35". =20 I think is a problem with em(4) driver. Anyone meet such condition? =20 =20