From owner-freebsd-questions@FreeBSD.ORG Sat Mar 24 23:35:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94A6916A401 for ; Sat, 24 Mar 2007 23:35:45 +0000 (UTC) (envelope-from alex@schnarff.com) Received: from outbound.mailhop.org (outbound.mailhop.org [63.208.196.171]) by mx1.freebsd.org (Postfix) with ESMTP id 6331313C45B for ; Sat, 24 Mar 2007 23:35:45 +0000 (UTC) (envelope-from alex@schnarff.com) Received: from c-68-49-149-185.hsd1.va.comcast.net ([68.49.149.185] helo=schnarff.com) by outbound.mailhop.org with esmtpa (Exim 4.63) (envelope-from ) id 1HVFlw-0007lP-CR for freebsd-questions@freebsd.org; Sat, 24 Mar 2007 19:35:44 -0400 Received: (qmail 16761 invoked by uid 67); 24 Mar 2007 23:35:43 -0000 Received: from 192.168.2.68 ([192.168.2.68]) by mail.schnarff.com (Horde) with HTTP for ; Sat, 24 Mar 2007 19:35:43 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 68.49.149.185 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: schnarff Message-ID: <20070324193543.vfbqbfcwjs484os0@mail.schnarff.com> Date: Sat, 24 Mar 2007 19:35:43 -0400 From: alex@schnarff.com To: freebsd-questions@freebsd.org References: <8cb6106e0703241624j1cf617acpe18c6e6e9a1e77cb@mail.gmail.com> In-Reply-To: <8cb6106e0703241624j1cf617acpe18c6e6e9a1e77cb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.4) Cc: Josh Carroll , Vlad GURDIGA , josh.carroll@psualum.com Subject: Re: IRQ storm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2007 23:35:45 -0000 >> I've changed motherboard recently (now it is Intel DP965LT) and now I >> have my PC slowed down considerably. vmstat -i shows a huge amount of >> interrupts on irq17: atapci0: > > Do you have atapicam enabled or being loaded as a module? If so, I > have the same problem, which is currently being tracked in this PR: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 > > A workaround, if you don't need/want to burn cds/dvds is to remove > atapicam or don't load the module at boot time. > > Thanks, > Josh OK, I know it's probably bad form to reply to a message with a question...but I saw this, ran vmstat -i, and found what appears to be a huge number of interrupts going on: alex@tms: /usr/local/www/data-dist/arctic$ vmstat -i interrupt total rate irq1: atkbd0 422 0 irq6: fdc0 10 0 irq8: rtc 241113447 127 irq12: psm0 9 0 irq13: npx0 1 0 irq14: ata0 46 0 irq19: atapci1 11758285 6 irq21: fxp0 16485189 8 irq22: ahc0 3623514 1 irq0: clk 188371666 99 Total 461352589 244 The reason I'm asking about this is that I have no concept of what's normal for an uptime like mine: alex@tms: /usr/local/www/data-dist/arctic$ uptime 4:29PM up 21 days, 19:17, 3 users, load averages: 0.04, 0.09, 0.08 with the hardware delineated in my dmesg (reproduced at the bottom of the message). Is this in the ballpark of normal? If not, does anyone have any thoughts on what might be causing so many interrupts? Thanks, Alex Kirk FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3200.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff real memory = 2137526272 (2038 MB) avail memory = 2086223872 (1989 MB) ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 2.0 (no driver attached) pcib1: at device 28.0 on pci0 pci1: on pcib1 pcib2: at device 28.2 on pci0 pci2: on pcib2 pcib3: at device 28.3 on pci0 pci3: on pcib3 pcib4: at device 28.4 on pci0 pci4: on pcib4 pcib5: at device 28.5 on pci0 pci5: on pcib5 pcib6: at device 30.0 on pci0 pci6: on pcib6 fxp0: port 0x1100-0x113f mem 0x88000000-0x8801ffff,0x88021000-0x88021fff irq 21 at device 0.0 on pci6 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:02:b3:d5:4d:3f ahc0: port 0x1000-0x10ff mem 0x88020000-0x88020fff irq 22 at device 1.0 on pci6 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x2030-0x203f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 18 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: port 0x2020-0x202f,0x2068-0x206b,0x2040-0x2047,0x206c-0x206f,0x2048-0x204f irq 19 at device 31.2 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 pci0: at device 31.3 (no driver attached) fdc0: port 0x3f0,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 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 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: at iomem 0xcc800-0xccfff,0xcb000-0xcc7ff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 RTC BIOS diagnostic error 80 Timecounter "TSC" frequency 3200016240 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDRW at ata0-slave PIO4 Interrupt storm detected on "irq19: atapci1"; throttling interrupt source ad4: 238475MB [484521/16/63] at ata2-master UDMA33 ad5: 238475MB [484521/16/63] at ata2-slave UDMA33 ad6: 238475MB [484521/16/63] at ata3-master UDMA33 ad7: 238475MB [484521/16/63] at ata3-slave UDMA33 Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-3 device sa0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit) Mounting root from ufs:/dev/ad4s1a Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...0 done No buffers busy after final sync