From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 19 20:49:49 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F019D16A4CE for ; Wed, 19 Nov 2003 20:49:49 -0800 (PST) Received: from falcon.midgard.homeip.net (h76n3fls24o1048.bredband.comhem.se [213.67.148.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 15EDC43FBD for ; Wed, 19 Nov 2003 20:49:48 -0800 (PST) (envelope-from ertr1013@student.uu.se) Received: (qmail 45199 invoked by uid 1001); 20 Nov 2003 04:49:46 -0000 Date: Thu, 20 Nov 2003 05:49:45 +0100 From: Erik Trulsson To: Mike Tancsa Message-ID: <20031120044945.GA44933@falcon.midgard.homeip.net> Mail-Followup-To: Mike Tancsa , Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= cc: hackers@freebsd.org Subject: Re: interrupt statistics X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 04:49:50 -0000 On Wed, Nov 19, 2003 at 11:13:03PM -0500, Mike Tancsa wrote: > Speaking of which, why is it some devices are not always present > (same with systat -vmstat) > > eg on one machine > v2% vmstat -i > interrupt total rate > stray irq7 2 0 > hifn0 irq10 15680 0 > fxp0 irq11 259067 2 > mux irq15 378597 3 > atkbd0 irq1 1 0 > sio0 irq4 178 0 > clk irq0 11466632 99 > rtc irq8 14677398 127 > Total 26797555 233 > > yet on another, > offsite# vmstat -i > interrupt total rate > fxp0 irq11 29547828 61 > mux irq15 453753 0 > sio0 irq4 177 0 > clk irq0 48204090 99 > rtc irq8 61701185 127 > Total 139907033 290 > offsite# > offsite# dmesg | grep hifn > hifn0 mem 0xe9802000-0xe9802fff,0xe9801000-0xe9801fff irq 10 at device > 0.0 on pci1 > hifn0: Hifn 7951, rev 0, 128KB sram, 193 sessions > offsite# > > How come the hifn does not show up ? I have noticed this with other > devices as well vmstat -i only displays those devices that have generated interrupts. I.e. if some device would have the total number of interrupts as 0, it will not be show by vmstat -i You will note that in your listings above, all the devices displayed have generated at least one interrupt. -- Erik Trulsson ertr1013@student.uu.se