From owner-freebsd-current@FreeBSD.ORG Sun Mar 7 16:56:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C6CF16A4CE for ; Sun, 7 Mar 2004 16:56:23 -0800 (PST) Received: from mail004.syd.optusnet.com.au (mail004.syd.optusnet.com.au [211.29.132.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 182C343D3F for ; Sun, 7 Mar 2004 16:56:22 -0800 (PST) (envelope-from tfrank@optushome.com.au) Received: from marvin.home.local (c211-28-241-126.eburwd5.vic.optusnet.com.au [211.28.241.126])i280uJY01466; Mon, 8 Mar 2004 11:56:20 +1100 Received: by marvin.home.local (Postfix, from userid 1001) id 89FD31FBA6; Mon, 8 Mar 2004 11:56:19 +1100 (EST) Date: Mon, 8 Mar 2004 11:56:19 +1100 From: Tony Frank To: Julian Message-ID: <20040308005619.GA11008@marvin.home.local> References: <86smgktjzk.fsf@web.de> <20040307231859.GA95924@marvin.home.local> <86brn8z0gf.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86brn8z0gf.fsf@web.de> User-Agent: Mutt/1.4.2.1i cc: Tony Frank cc: current@freebsd.org Subject: Re: fxp0 generating lots of interrupts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 00:56:23 -0000 Hi, On Mon, Mar 08, 2004 at 12:44:48AM +0100, Julian wrote: > Tony Frank writes: > > > Hi there, > > > > On Sun, Mar 07, 2004 at 10:39:27PM +0100, Julian wrote: > >> I just replaced my old network adaptor with another one and noticed > >> that vmstat reports lots of interrupts: > >> > >> vmstat -i | grep fxp > >> irq11: fxp0 1532367 394 > >> > >> Is this "normal"? > > > > I guess that depends what you consider to be 'lots'? > Compared to my old RealTek-based card. > > > If you are using device polling, then I expect the interrupts to be quite > > high. > > If you are not using the interface for any network traffic and it is a > > quiet network (ie not much broadcast traffic) then I expect the volume > > to be high. > The 394 was during "activity" of about 10 MBit/s. It's down to 200 at > the moment and there is almost no network activity at the moment. Note that my server here is running 4.9-STABLE so the results may not be suitable to directly compare. While transferring several gb of data from winxp to freebsd server (samba) I was getting about 5000kbyte/s sustained throughput and fxp0 stats: fxp0 -link0 around 4000 int/measurement fxp0 link0 around 750 int/measurement "Idle" background is typically under 10 int/measurement When reading several gb of data from freebsd server with winxp box I get about 6000kbyte/s and fxp0 int of: fxp0 -link0 around 2500int/measurement fxp0 link0 around 2500 int/measurement (expected as this is receive only setting) I am measuring running 'systat -v' and looking at the values shown after several updates. > > What makes you think you have 'lots' of interupts as opposed to 'normal level' ? > I've only compared it to my old card. Perhaps I should not have done > this, as the high interrupt frequency does not impact system > performance in any noticeable way. I guess it will depend on how much activity is on the network. It does not sound unusual to me but I guess it depends on your environment. Regards, Tony