From owner-freebsd-net@FreeBSD.ORG Sun Oct 2 19:18:07 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 CBE6B16A41F for ; Sun, 2 Oct 2005 19:18:07 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id C957843D48 for ; Sun, 2 Oct 2005 19:18:06 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id j92JI486061836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Oct 2005 23:18:05 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id j92JHxb2061835; Sun, 2 Oct 2005 23:17:59 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sun, 2 Oct 2005 23:17:59 +0400 From: Gleb Smirnoff To: Mao Shou Yan Message-ID: <20051002191759.GZ45345@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Mao Shou Yan , freebsd-net@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i 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: Sun, 02 Oct 2005 19:18:07 -0000 On Fri, Aug 12, 2005 at 01:48:59PM +0800, Mao Shou Yan wrote: M> I have a machine running 5.4 stable, with 3 em cards: M> M> (1) Two 82543GC with fiber M> M> (2) One 82544 M> M> All of them are shared irq 11( from vmstat -i) M> M> M> M> The problem is: M> M> After the system run about 3 hours, there will be large "Ierrs" M> with the em0(BTW, em0 is in promisc mode). M> M> I use "sysctl hw.em0.stats=1", found there are a lot of "missed M> packets" and some "Receive with no buffers". M> M> Em0 is in polling mode, and hz is 2000, burst_max and M> each_burst is the default value. M> M> The system is not heavy loaded, incoming rates of em0 is less M> than 150Mbits/s. em1 and em2 are not connected. M> M> And pps is less than 30k. M> M> After 3 hours, the ierrs raise quickly every 1 minutes! M> M> From pciconf, I found the driver version is "1.7.35". M> M> M> M> I think is a problem with em(4) driver. M> M> Anyone meet such condition? Do you have ip fastforwarding enabled? Do you use any firewall filtering or any other additional packet processing on your router? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE