From owner-freebsd-hardware@FreeBSD.ORG Thu Feb 23 16:41:02 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E464416A422 for ; Thu, 23 Feb 2006 16:41:02 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14D7E43D72 for ; Thu, 23 Feb 2006 16:40:55 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k1NGeq9F052539; Thu, 23 Feb 2006 11:40:54 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Thu, 23 Feb 2006 11:37:26 -0500 User-Agent: KMail/1.9.1 References: <016e01c6380c$c98b7240$6500a8c0@garrincha> In-Reply-To: <016e01c6380c$c98b7240$6500a8c0@garrincha> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602231137.28409.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1299/Thu Feb 23 06:19:52 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED,AWL autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: "Gustavo A. Baratto" Subject: Re: interrupts for ATA and BGE X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 16:41:03 -0000 On Wednesday 22 February 2006 19:04, Gustavo A. Baratto wrote: > Two of our servers have an onboard broadcom NIC, and I noticed that in both > of them, the number of interrupts for the ata device is always the same as > the onboard bge device. I don't really understand what an ATA driver has to > do with the bge0, and worse, do these numbers below mean that there are two > interrupts going on where it should be just one? > > Thanks for any input... > > # vmstat -i > interrupt total rate > irq1: atkbd0 38 0 > irq6: fdc0 12 0 > irq13: npx0 1 0 > irq14: ata0 58 0 > irq15: ata1 192549752 165 > irq16: ahc0 1795054 1 > irq17: ahc1 15 0 > irq30: fxp0 545717199 468 > irq31: bge0 192987168 165 > cpu0: timer 2330016902 1999 > Total 3263066199 2800 > > > # Interrupt output from "systat -vmstat". The numbers for ata on icq 15 and > bge on irq31, are always the same here: > 2648 total > 1: atkb > 6: fdc0 > 13: npx > 14: ata > 212 15: ata > 16: ahc > 17: ahc > 222 30: fxp > 212 31: bge > 2002 cpu0: time This is probably an instance of the interrupt aliasing problem with certain PXH bridges in Intel server chipsets. Unfortunately there is not a workaround as it the result of brain damage in the PXH design itself. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org