interrupt statistics

Erik Trulsson ertr1013 at student.uu.se
Wed Nov 19 20:49:50 PST 2003


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 at student.uu.se


More information about the freebsd-hackers mailing list