From owner-freebsd-net@FreeBSD.ORG Fri Sep 4 14:11:24 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5781D106568B for ; Fri, 4 Sep 2009 14:11:24 +0000 (UTC) (envelope-from ady@ady.ro) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id EE5098FC12 for ; Fri, 4 Sep 2009 14:11:23 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so809933eyf.9 for ; Fri, 04 Sep 2009 07:11:22 -0700 (PDT) MIME-Version: 1.0 Sender: ady@ady.ro Received: by 10.211.154.7 with SMTP id g7mr12476306ebo.10.1252073482078; Fri, 04 Sep 2009 07:11:22 -0700 (PDT) In-Reply-To: <11420.28890.qm@web56404.mail.re3.yahoo.com> References: <11420.28890.qm@web56404.mail.re3.yahoo.com> From: Adrian Penisoara Date: Fri, 4 Sep 2009 16:11:00 +0200 X-Google-Sender-Auth: 26e788b019a5e1a0 Message-ID: <78cb3d3f0909040711i5702c4c7l4dbb89bb1fef259a@mail.gmail.com> To: alexpalias-bsdnet@yahoo.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: em driver input errors 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, 04 Sep 2009 14:11:24 -0000 Hi, On Sat, Aug 1, 2009 at 3:05 PM, wrote: > Good day > > I'm running a FreeBSD 7.2 router and I am seeing a lot of input errors on= one of the em interfaces (em0), coupled with (at approximately the same ti= mes) much fewer errors on em1 and em2.=A0 Monitoring is done with SNMP from= another machine, and the CPU load as reported via SNMP is mostly below 30%= , with a couple of spikes up to 35%. First question that comes to mind is: have you tried device polling ? Looking up the thorough decscription you made it appears not to. Please check the polling(4) manual page and Luigi's page [1] for detailed information. Basically it switches the device driver from interrupt mode to polling mode, allowing to specify the user/system CPU usage fraction. [1] http://info.iet.unipi.it/~luigi/polling/ Regards, Adrian Penisoara EnterpriseBSD