From owner-freebsd-isp@FreeBSD.ORG Mon Mar 8 07:17:41 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FC1916A4CE for ; Mon, 8 Mar 2004 07:17:41 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id BED6843D46 for ; Mon, 8 Mar 2004 07:17:40 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Mon, 8 Mar 2004 10:17:40 -0500 Message-ID: From: Don Bowman To: 'Karl Pielorz' , freebsd-isp@freebsd.org Date: Mon, 8 Mar 2004 10:17:32 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: FreeBSD polling mode - count 'lost' packets? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 15:17:41 -0000 From: Karl Pielorz [mailto:kpielorz@tdx.co.uk] > Hi All, > > We've been running a number of FreeBSD boxes with high packet > throughputs > using polling mode. > > This seems to work great (gets rid of 90k odd interrupts a second). > > Is there any easy way of finding out how many packets are > being 'dropped' > in this system? (We use em Intel Pro 1000TX cards) - as > obviously, there is > a finite limit to the number of packets the system can push - > is there any > mechanism, or flag, or anything that will warn you if by the time the > drivers get to poll the card, it's overflowed/lost packets? > > Thanks, netstat -i will tell you these things, look for ifInErrors, ifOutErrors. sysctl kern.polling will indicate if you can't poll fast enough.