Date: Thu, 4 Mar 1999 18:09:05 +0100 (MET) From: "D. Rock" <rock@wurzelausix.CS.Uni-SB.DE> To: current@freebsd.org Subject: New ata driver gets intr statistics wrong Message-ID: <199903041709.SAA01412@vodix.aremorika>
next in thread | raw e-mail | index | archive | help
Interrupts don't get accounted right. Instead of adding them to irq14/irq15 they always seem to be added to irq0. Here is a sample output of systat (I have "options HZ=1000" in my kernel config, so 1000 should be normal) 3 users Load 1.21 1.05 1.01 Do 4 Mär 02:04 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 10308 2060 20764 3856 8408 count 5 All 58796 2792 1127196 5784 pages 31 688 zfod Interrupts Proc:r p d s w Csw Trp Sys Int Sof Flt 195 cow 1333 total 1 4 11 459 973 5233 1333 252 920 23068 wire 1125 clk0 irq0 13528 act 128 rtc0 irq8 24.5%Sys 1.6%Intr 46.7%User 0.0%Nice 27.3%Idl 16524 inact pci irq11 | | | | | | | | | | 5456 cache 24 pci irq15 ============+>>>>>>>>>>>>>>>>>>>>>>> 2952 free pci irq9 daefr fdc0 irq6 Namei Name-cache Dir-cache prcfr 24 atkbd0 irq Calls hits % hits % 2 react 32 psm0 irq12 8739 8440 97 31 0 pdwak sio0 irq4 pdpgs sio1 irq3 Discs ad0 da0 da1 da2 cd0 fd0 pass0 intrn ppc0 irq7 KB/t 8.09 0.00 9.29 0.00 0.00 0.00 0.00 5518 buf isic0 irq1 tps 124 0 23 0 0 0 0 4039 desir esb0 irq5 MB/s 0.98 0.00 0.21 0.00 0.00 0.00 0.00 11444 numvnodes 7994 freevnodes During probe I also noticed this message: ata-pci0: <Acer Aladdin IV/V IDE controller> rev 0xc1 int a irq 0 on pci0.15.0 ^^^^^ ata0 at 0x01f0 irq 14 on ata-pci0 On another machine with VIA chipset I don't see any "int a irq X", but the interrupts get still accounted for irq0 instead of irq14 This isn't a big deal for me, PCMCIA interrupts do have the same problem. Daniel 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?199903041709.SAA01412>