From owner-freebsd-net@FreeBSD.ORG Thu Aug 11 04:17:32 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 9023F16A41F for ; Thu, 11 Aug 2005 04:17:32 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC5443D55 for ; Thu, 11 Aug 2005 04:17:31 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-2.free.fr (Postfix) with ESMTP id 960712BBAA9; Thu, 11 Aug 2005 06:17:30 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 365D9405C; Thu, 11 Aug 2005 06:17:39 +0200 (CEST) Date: Thu, 11 Aug 2005 06:17:38 +0200 From: Jeremie Le Hen To: Mao Shou Yan Message-ID: <20050811041738.GP45385@obiwan.tataz.chchile.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Cc: freebsd-net@freebsd.org Subject: Re: Why Ierrs is so high? 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: Thu, 11 Aug 2005 04:17:32 -0000 Hi, > I have a machine with 3 Intel pro1000 cards. > > em0 is in promisc mode, whose MAC controller is 82543 using fiber line > connected. > > em1, em2 is not connected with cable. > > Driver configuration is the default, RXD is 256, TXD is 256. > > > > Result of "netstat -i": > > > > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll > em0 1500 00:03:47:de:72:36 1701943600 369823630 1 0 0 > em1 1500 00:10:dc:56:8b:b5 5561 0 4608 0 0 > em2 1500 00:03:47:42:6d:17 0 0 0 0 0 > > > > Pps of em0 is about 20k/pps, and bandwidth is no more than 150Mbps. > > When I use "sysctl hw.em0.stats=1", I found the number of "missed > packets" is very high, which is about equal Ierrs. > > And I also found the number of"receive with no buffers"is raising with > about 10 per second. > > > > The machine is no extra load, only a raw system with em0 in promisc > mode! Did you try another em(4) interface ? Do you have the same behaviour in this case ? It seems that em1 has a weird Opkts too. What is em1 being used for ? If you're still having error after switching interfaces, maybe it's time to check your cable. Finally, what are you running ? [ ] RELENG_4 [ ] RELENG_5 [ ] RELENG_6 [ ] CURRENT Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >