Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2002 10:29:44 -0800
From:      Yu-Shun Wang <yushunwa@ISI.EDU>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        current@FreeBSD.org
Subject:   Re: mpt(4): berserk interrupt frequency
Message-ID:  <3E08A798.6080400@isi.edu>
In-Reply-To: <20021224004748.GA1134@athlon.pn.xcllnt.net>
References:  <20021224004748.GA1134@athlon.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Can't comment on the reasons for your case, but that number was
definitely strange. Here's ours:

================================================
abc% vmstat -i
interrupt                   total       rate
mpt0 irq18                     16          0
em0 irq19                  380870          6
fwohci0 irq17                    2          0
pcm0 irq21                      1          0
em1 irq2                        1          0
ata0 irq14                     17          0
ata1 irq15                     20          0
uhci0 irq2                 724716         12
uhci1 irq16                     7          0
fdc0 irq6                       4          0
atkbd0 irq1                     2          0
clk irq0                  5726962        100
rtc irq8                  7330322        128
Total                    14162940        247
================================================

Same dmesg output, just for your reference:

cam: using minimum scsi_delay (100ms)
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Mon Dec 23 14:32:01 PST 2002
     root@tnn.isi.edu:/usr/obj/usr/src/sys/KERNEL-1.12
Preloaded elf kernel "/boot/kernel/kernel" at 0xc06f1000.
	.
	.
Timecounter "i8254"  frequency 1193133 Hz
CPU: Pentium 4 (2372.82-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4 
Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
	.
	.
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0xdc00-0xdcff mem 
0xff6a0000-0xff6bffff,0xff6c0000-0xff6dffff irq 18 at device 12.0 on pci3
mpt0: IOCFACTS: GlobalCredits=222 Flags=0 Request Frame Size 24 FWsize 57164

mpt1: <LSILogic 1030 Ultra4 Adapter> port 0xd800-0xd8ff mem 
0xff660000-0xff67ffff,0xff680000-0xff69ffff irq 19 at device 12.1 on pci3
mpt1: IOCFACTS: GlobalCredits=222 Flags=0 Request Frame Size 24 FWsize 57164
	.
	.

yushun.


Marcel Moolenaar wrote:

> Hi,
>
> Can someone who has a mpt(4) device tell me if their interrupt frequency
> is as absurd as mine is?
>
> \begin{verbatim}
> mckinley% vmstat -i
> interrupt                   total       rate
> clock                      272238       1019
> ohci1                           1          0
> fxp0                          347          1
> atapci0                         4          0
> mpt0          8286623314361713943 31036042375886569
> mpt1          2314885530819653497 8669983261496829
> bge0                      2105376       7885
> Total        10601508845183745406 39706025637392304
> \end{verbatim}
>
> I want to know if this is something specific to ia64 or if it's
> more commonly seen. Some dmesg(8) output:
>
> \begin{verbatim}
> Copyright (c) 1992-2002 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> 	The Regents of the University of California. All rights reserved.
> FreeBSD 5.0-CURRENT #261: Mon Dec 23 16:20:39 PST 2002
>     marcel@itanium.pn.xcllnt.net:/nfs/p4/ia64/sys/ia64/compile/HP_RX2600
> Preloaded elf kernel "/boot/kernel/kernel" at 0xe000000000b8a000.
> 	:
> pcib1:  on acpi0
> pci32:  on pcib1
> mpt0:  port 0x2100-0x21ff mem 0x90830000-0x9083ffff,0x90840000-0x9084ffff irq 
> 27 at device 1.0 on pci32
> mpt1:  port 0x2000-0x20ff mem 0x90810000-0x9081ffff,0x90820000-0x9082ffff irq 
> 28 at device 1.1 on pci32
> bge0:  mem 0x90800000-0x9080ffff irq 29 at device 2.0 on pci32
> 	:
> \end{varbatim}
>
> No interrupt sharing. The following snippet is the result of filtering
> dmesg(8) with grep(1) on irq:
>
> \begin{verbatim}
> ohci0:  mem 0x80023000-0x80023fff irq 16 at device 1.0 on pci0
> ohci1:  mem 0x80022000-0x80022fff irq 17 at device 1.1 on pci0
> atapci0:  port 0xd40-0xd4f,0xd60-0xd63,0xd50-0xd57,0xd64-0xd67,0xd58-0xd5f irq 
> 21 at device 2.0 on pci0
> fxp0:  port 0xd00-0xd3f mem 0x80000000-0x8001ffff,0x80020000-0x80020fff irq 20 
> at device 3.0 on pci0
> mpt0:  port 0x2100-0x21ff mem 0x90830000-0x9083ffff,0x90840000-0x9084ffff irq 
> 27 at device 1.0 on pci32
> mpt1:  port 0x2000-0x20ff mem 0x90810000-0x9081ffff,0x90820000-0x9082ffff irq 
> 28 at device 1.1 on pci32
> bge0:  mem 0x90800000-0x9080ffff irq 29 at device 2.0 on pci32
> sio0 iomem 0xff5e0000-0xff5e0007 irq 34 on acpi0
> sio1 iomem 0xff5e2000-0xff5e2007 irq 35 on acpi0
> sio2:  mem 0xf8030000-0xf8030fff irq 82 at device 1.1 on pci224
> \end{verbatim}
>
> Thanks,
>


-- 
____________________________________________________________________________
Yu-Shun Wang <yushunwa@isi.edu>               Information Sciences Institute
                                            University of Southern California


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E08A798.6080400>