Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2007 19:35:43 -0400
From:      alex@schnarff.com
To:        freebsd-questions@freebsd.org
Cc:        Josh Carroll <josh.carroll@gmail.com>, Vlad GURDIGA <gurdiga@gmail.com>, josh.carroll@psualum.com
Subject:   Re: IRQ storm
Message-ID:  <20070324193543.vfbqbfcwjs484os0@mail.schnarff.com>
In-Reply-To: <8cb6106e0703241624j1cf617acpe18c6e6e9a1e77cb@mail.gmail.com>
References:  <da7069940703241601i4de83223w6147f54a53005435@mail.gmail.com> <8cb6106e0703241624j1cf617acpe18c6e6e9a1e77cb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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: <INTEL  D945GTP >
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<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,PBE>
real memory  = 2137526272 (2038 MB)
avail memory = 2086223872 (1989 MB)
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <INTEL D945GTP> 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: <ACPI CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 2.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 28.2 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 28.3 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 28.4 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 28.5 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci6: <ACPI PCI bus> on pcib6
fxp0: <Intel 82550 Pro/100 Ethernet> port 0x1100-0x113f mem 
0x88000000-0x8801ffff,0x88021000-0x88021fff irq 21 at device 0.0 on pci6
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:d5:4d:3f
ahc0: <Adaptec 2940 Ultra SCSI adapter> 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: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <GENERIC ATA controller> 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: <GENERIC ATA controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
fdc0: <floppy drive controller> port 0x3f0,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> 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: <ISA Option ROMs> at iomem 0xcc800-0xccfff,0xcb000-0xcc7ff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
RTC BIOS diagnostic error 80<clock_battery>
Timecounter "TSC" frequency 3200016240 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDRW <LITE-ON CD-RW SOHR-5239S/2S03> at ata0-slave PIO4
Interrupt storm detected on "irq19: atapci1"; throttling interrupt source
ad4: 238475MB <ST3250823AS/3.03> [484521/16/63] at ata2-master UDMA33
ad5: 238475MB <ST3250823AS/3.03> [484521/16/63] at ata2-slave UDMA33
ad6: 238475MB <ST3250823AS/3.03> [484521/16/63] at ata3-master UDMA33
ad7: 238475MB <ST3250823AS/3.03> [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: <SEAGATE DAT    9SP40-000 910B> 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




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