From owner-freebsd-current@FreeBSD.ORG Wed Nov 30 20:09:40 2005 Return-Path: X-Original-To: current@freebsd.org 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 8A48416A41F for ; Wed, 30 Nov 2005 20:09:40 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from lakepoint.domeneshop.no (lakepoint.domeneshop.no [194.63.248.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EA8143D80 for ; Wed, 30 Nov 2005 20:09:30 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from [192.168.9.8] (14.80-203-184.nextgentel.com [80.203.184.14]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.4/8.13.4) with ESMTP id jAUK9TGe010036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 30 Nov 2005 21:09:29 +0100 Message-ID: <438E06F5.10606@wm-access.no> Date: Wed, 30 Nov 2005 21:09:25 +0100 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD current mailing list References: <438CC968.6090203@elischer.org> In-Reply-To: <438CC968.6090203@elischer.org> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=C308A003 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: em interrupt storm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2005 20:09:40 -0000 I have to ask since i do not know, but does the hardware INT lines have any relation with this issue? I have a motherboard where this (or a similar) issue seems to happen (compaq ml370 and can do both modes where it has 16 IRQ's and more than 16 IRQ's) In both modes this same issue happens (usb, ata1 and bge0 fires on packet received on bge0 or usb polling). I recently had usb removed to try to lessen the performance impact this only reduced the interrupt rate from 22 p/s to 12 p/s. In my case ata1 and uhci0 (i think it was uhci) both shared irq 15. irq15: ata1 20899728 12 irq29: bge0 20899895 12 I always understood this to be the effect of equipment sharing the same hardware INT lines. Can anyone tell me if it's the same issue and if it has anything to do with the hardware INT lines? Below is vmstat, pciconf and dmesg output. ---------------[ vmstat -i ]--------- interrupt total rate irq3: sio1 2 0 irq4: sio0 9 0 irq6: fdc0 15 0 irq8: rtc 215983081 128 irq13: npx0 1 0 irq14: ata0 68 0 irq15: ata1 20899728 12 irq29: bge0 20899895 12 irq30: ahc0 10801075 6 irq31: ahc1 15 0 irq0: clk 1687632823 1000 Total 1956216712 1159 ---------------[ dmesg ]-------------- Copyright (c) 1992-2005 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.4-RELEASE-p8 #0: Fri Nov 11 08:09:40 CET 2005 root@alpha.arcticwireless.no:/usr/obj/usr/src/sys/ALPHA ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) XEON(TM) CPU 2.40GHz (2391.89-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf24 Stepping =3D 4 Features=3D0x3febfbff Hyperthreading: 2 logical CPUs real memory =3D 536846336 (511 MB) avail memory =3D 519528448 (495 MB) Pentium 4 TCC support enabled, current performance 100% MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard ioapic3 irqs 48-63 on motherboard npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0 cpu0: on acpi0 pcib0: on acpi0 pci0: on pcib0 pci0: at device 3.0 (no driver attached) pci0: at device 4.0 (no driver attached) pci0: at device 4.2 (no driver attached) isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x2000-0x200f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 15.2 (no driver attached) pcib1: on acpi0 pci1: on pcib1 ahc0: port 0x3000-0x30ff mem 0xf7ff0000-0xf7ff0fff irq 30 at device 3.0 on pci1 aic7899: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs ahc1: port 0x3400-0x34ff mem 0xf7fe0000-0xf7fe0fff irq 31 at device 3.1 on pci1 aic7899: Ultra160 Wide Channel B, SCSI Id=3D7, 32/253 SCBs bge0: mem 0xf7fd0000-0xf7fdffff irq 29 at device 4.0 on pci1 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:02:a5:ff:1a:a4 pcib2: on acpi0 pci2: on pcib2 pcib3: on acpi0 pci6: on pcib3 pcib4: on acpi0 pci10: on pcib4 acpi_tz0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 ppc0: port 0x778-0x77d,0x378-0x37f irq 7 drq 0 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acp= i0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 orm0: at iomem 0xee000-0xeffff,0xc0000-0xc7fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0= Timecounter "TSC" frequency 2391890808 Hz quality 800 Timecounters tick every 1.000 msec acd0: DVDROM at ata0-master PIO4 Waiting 8 seconds for SCSI devices to settle pt0 at ahc0 bus 0 target 15 lun 0 pt0: Fixed Processor SCSI-2 device pt0: 3.300MB/s transfers da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 34732MB (71132000 512 byte sectors: 255H 63S/T 4427C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 34732MB (71132000 512 byte sectors: 255H 63S/T 4427C) da2 at ahc0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da2: 34732MB (71132000 512 byte sectors: 255H 63S/T 4427C) GEOM_STRIPE: Device st0 created (id=3D1947018185). GEOM_STRIPE: Disk da1 attached to st0. GEOM_STRIPE: Disk da2 attached to st0. GEOM_STRIPE: Device st0 activated. Mounting root from ufs:/dev/da0s2a -----------------[ pciconf -lv ]-------------------- hostb0@pci0:0:0: class=3D0x060000 card=3D0x00000000 chip=3D0x00121= 166 rev=3D0x13 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'CMIC-LE' class =3D bridge subclass =3D HOST-PCI hostb1@pci0:0:1: class=3D0x060000 card=3D0x00000000 chip=3D0x00121= 166 rev=3D0x00 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'CMIC-LE' class =3D bridge subclass =3D HOST-PCI hostb2@pci0:0:2: class=3D0x060000 card=3D0x00000000 chip=3D0x00001= 166 rev=3D0x00 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' class =3D bridge subclass =3D HOST-PCI none0@pci0:3:0: class=3D0x030000 card=3D0x001e0e11 chip=3D0x47521002 rev=3D= 0x27 hdr=3D0x00 vendor =3D 'ATI Technologies Inc.' device =3D 'Rage XL PCI' class =3D display subclass =3D VGA none1@pci0:4:0: class=3D0x088000 card=3D0xb2060e11 chip=3D0xb2030e11 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Compaq Computer Corp (Now owned by Hewlett-Packard)' device =3D 'iLo Integrated Lights Out Processor' class =3D base peripheral none2@pci0:4:2: class=3D0x088000 card=3D0xb2060e11 chip=3D0xb2040e11 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Compaq Computer Corp (Now owned by Hewlett-Packard)' device =3D 'iLo Integrated Lights Out Processor' class =3D base peripheral isab0@pci0:15:0: class=3D0x060100 card=3D0x02011166 chip=3D0x02011= 166 rev=3D0x93 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'CSB5 PCI to ISA Bridge' class =3D bridge subclass =3D PCI-ISA atapci0@pci0:15:1: class=3D0x01018a card=3D0x02121166 chip=3D0x02121= 166 rev=3D0x93 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'CSB5 PCI EIDE Controller' class =3D mass storage subclass =3D ATA none3@pci0:15:2: class=3D0x0c0310 card=3D0x02201166 chip=3D0x02201= 166 rev=3D0x05 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'OSB4 OpenHCI Compliant USB Controller' class =3D serial bus subclass =3D USB hostb3@pci0:15:3: class=3D0x060000 card=3D0x02301166 chip=3D0x02251= 166 rev=3D0x00 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'CSB5 PCI Bridge' class =3D bridge subclass =3D HOST-PCI hostb4@pci0:16:0: class=3D0x060000 card=3D0x00000000 chip=3D0x01011= 166 rev=3D0x03 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'CIOB-X2' class =3D bridge subclass =3D HOST-PCI hostb5@pci0:16:2: class=3D0x060000 card=3D0x00000000 chip=3D0x01011= 166 rev=3D0x03 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'CIOB-X2' class =3D bridge subclass =3D HOST-PCI hostb6@pci0:17:0: class=3D0x060000 card=3D0x00000000 chip=3D0x01011= 166 rev=3D0x03 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'CIOB-X2' class =3D bridge subclass =3D HOST-PCI hostb7@pci0:17:2: class=3D0x060000 card=3D0x00000000 chip=3D0x01011= 166 rev=3D0x03 hdr=3D0x00 vendor =3D 'ServerWorks (Was: Reliance Computer Corp)' device =3D 'CIOB-X2' class =3D bridge subclass =3D HOST-PCI ahc0@pci1:3:0: class=3D0x010000 card=3D0xf6200e11 chip=3D0x00c09005 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Adaptec Inc' device =3D 'AHA-39160 (AIC-7899A) Ultra160 SCSI Host Adapter' class =3D mass storage subclass =3D SCSI ahc1@pci1:3:1: class=3D0x010000 card=3D0xf6200e11 chip=3D0x00c09005 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Adaptec Inc' device =3D 'AHA-39160 (AIC-7899A) Ultra160 SCSI Host Adapter' class =3D mass storage subclass =3D SCSI bge0@pci1:4:0: class=3D0x020000 card=3D0x00cb0e11 chip=3D0x16a714e4 rev=3D= 0x02 hdr=3D0x00 vendor =3D 'Broadcom Corporation' device =3D 'BCM5703X NetXtreme Gigabit Ethernet' class =3D network subclass =3D ethernet --=20 Sten Daniel S=F8rsdal