From owner-freebsd-hardware@FreeBSD.ORG Thu Apr 22 06:12:52 2004 Return-Path: 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 25F1C16A4CE for ; Thu, 22 Apr 2004 06:12:52 -0700 (PDT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 040D043D48 for ; Thu, 22 Apr 2004 06:12:52 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 6655 invoked from network); 22 Apr 2004 13:12:51 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 22 Apr 2004 13:12:51 -0000 Received: from slimer.baldwin.cx (slimer.baldwin.cx [192.168.0.16]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i3MDCmru006281; Thu, 22 Apr 2004 09:12:48 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Thu, 22 Apr 2004 09:13:02 -0400 User-Agent: KMail/1.6 References: <010501c426db$cc281a10$0c00a8c0@artem> In-Reply-To: <010501c426db$cc281a10$0c00a8c0@artem> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <200404220913.02440.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Artem Koutchine Subject: Re: ACPI floods CPUs with interrupts X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 13:12:52 -0000 On Tuesday 20 April 2004 09:31 am, Artem Koutchine wrote: > I have installed FreeBSd 5.2-RC2 on ASUS P2B-DS > with 3ware raid controller and DUAL PIII (slot2) 550Mhz. > Updated motherboard bios to > the latest bios and after patching the twe driver, so it does not > show the "PCI parity erro" several times a second. (I think > it is related to the fact that 3ware 7506 controller is pci 2.2 > while p2b is pci 2.1). After that i did top and saw that > 50% of cpu power is wasted on interrupts. I did > sysstat and :vmstat. It showed that 46700 interrupts per > second were generated by acpi on irq 20. So, i booted without > acpi and got 100% cpu idle. The question is: > How ACPI can generate IRQs? I thought it is just some kind > of interface and protocol standard, not > a real hardware part which > can rise irq. Why does it generate so many irqs? May it be related > to the PCI parity error on twe? It is because the ACPI interrupt is programmed incorrectly (due to a buggy BIOS) and is treated as edge triggered when it is actually level triggered. You can try updating to -current to see if that fixes it. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org