From owner-freebsd-current Tue Dec 24 10:29:50 2002 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 8371E37B401 for ; Tue, 24 Dec 2002 10:29:47 -0800 (PST) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04E0F43EA9 for ; Tue, 24 Dec 2002 10:29:47 -0800 (PST) (envelope-from yushunwa@ISI.EDU) Received: from isi.edu (tnn.isi.edu [128.9.168.57]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id gBOITjC14896; Tue, 24 Dec 2002 10:29:45 -0800 (PST) Message-ID: <3E08A798.6080400@isi.edu> Date: Tue, 24 Dec 2002 10:29:44 -0800 From: Yu-Shun Wang Organization: USC /ISI User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcel Moolenaar Cc: current@FreeBSD.org Subject: Re: mpt(4): berserk interrupt frequency References: <20021224004748.GA1134@athlon.pn.xcllnt.net> In-Reply-To: <20021224004748.GA1134@athlon.pn.xcllnt.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 . . mpt0: 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: 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 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