Date: Thu, 20 Nov 2003 05:49:45 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: Mike Tancsa <mike@sentex.net> Cc: hackers@freebsd.org Subject: Re: interrupt statistics Message-ID: <20031120044945.GA44933@falcon.midgard.homeip.net> In-Reply-To: <jfforv4me3snqshljprg8jejht7ias0oih@4ax.com> References: <xzpy8ucpwz9.fsf@dwp.des.no> <jfforv4me3snqshljprg8jejht7ias0oih@4ax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031120044945.GA44933>