From owner-freebsd-current Thu Mar 4 9:10:10 1999 Delivered-To: freebsd-current@freebsd.org Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (Postfix) with ESMTP id CBCE114FE4 for ; Thu, 4 Mar 1999 09:09:28 -0800 (PST) (envelope-from rock@wurzelausix.CS.Uni-SB.DE) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.9.3/1999020800) with ESMTP id SAA11421 for ; Thu, 4 Mar 1999 18:09:07 +0100 (CET) Received: from wurzelausix.cs.uni-sb.de (wurzelausix.cs.uni-sb.de [134.96.247.1]) by cs.uni-sb.de (8.9.3/1999020800) with ESMTP id SAA13132 for ; Thu, 4 Mar 1999 18:09:07 +0100 (CET) Received: from vodix.aremorika (vodix [134.96.247.43]) by wurzelausix.cs.uni-sb.de (8.9.1/wjp/19980821) with ESMTP id SAA20808 for ; Thu, 4 Mar 1999 18:09:06 +0100 (CET) From: "D. Rock" Received: by vodix.aremorika; Thu, 4 Mar 1999 18:09:05 +0100 (MET) Date: Thu, 4 Mar 1999 18:09:05 +0100 (MET) Message-Id: <199903041709.SAA01412@vodix.aremorika> To: current@freebsd.org Subject: New ata driver gets intr statistics wrong Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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