From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 21 16:46:22 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87FFB16A41F for ; Mon, 21 Nov 2005 16:46:22 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id E909D43D45 for ; Mon, 21 Nov 2005 16:46:21 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 2368105 for multiple; Mon, 21 Nov 2005 11:46:23 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jALGk7fU069883; Mon, 21 Nov 2005 11:46:08 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: guru@sisis.de Date: Mon, 21 Nov 2005 11:46:17 -0500 User-Agent: KMail/1.8.2 References: <20051118123825.GA16774@rebelion.Sisis.de> <200511181340.42888.jhb@freebsd.org> <20051119073610.GA1409@rebelion.Sisis.de> In-Reply-To: <20051119073610.GA1409@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511211146.18646.jhb@freebsd.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: freebsd-mobile@freebsd.org Subject: Re: high CPU activity for interrupts X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 16:46:22 -0000 On Saturday 19 November 2005 02:36 am, guru@sisis.de wrote: > El d=EDa Friday, November 18, 2005 a las 01:40:42PM -0500, John Baldwin e= scribi=F3: > > > The high rate of interrupts are coming from cardbus somehow: > > > > > > $ vmstat -i > > > interrupt total rate > > > irq0: clk 1526386 99 > > > irq1: atkbd0 19720 1 > > > irq4: sio0 2 0 > > > irq6: fdc0 10 0 > > > irq7: 3 0 > > > stray irq7 3 0 > > > irq8: rtc 1953511 127 > > > irq9: acpi0 1102 0 > > > irq11: cbb1 pcm0++* 126785936 8304 <*********** > > > irq12: psm0 116294 7 > > > irq14: ata0 70657 4 > > > irq15: ata1 33673 2 > > > Total 130507297 8548 > > > > The '++*' part means you have at least 4 other devices sharing that IRQ > > line as well. Can you do a "dmesg | grep 'irq 11'" and post the output? > > Thanks for the feedback and here it is; > > matthias > > fwohci0: mem 0xec000000-0xec000fff irq 11 at device 2.3 on pci0 > ohci0: mem 0xec001000-0xec001fff irq 11 at devi= ce 3.0 on pci0 > ohci1: mem 0xec002000-0xec002fff irq 11 at devi= ce 3.1 on pci0 > ohci2: mem 0xec003000-0xec003fff irq 11 at devi= ce 3.2 on pci0 > sis0: 10/100BaseTX> port 0x2000-0x20ff mem 0xec005000-0xec005ff= f irq 11 at > device 4.0 on pci0 > pcm0: port 0x1800-0x187f,0x1c00-0x1cff irq 11 at device 2.7 on= pci0 > pcm0: port 0x1800-0x187f,0x1c00-0x1cff irq 11 at device 2.7 on= pci0 > drm0: port 0xa000-0xa0ff mem 0xec10= 0000-0xec10ffff,0xf0000000-0xf7ffffff irq 11 at > device 0.0 on pci1 Ok, so the high number of interrupts can be coming from any one of these de= vices. You can try building a custom kernel that doesn't include the various devic= es (such as ohci, pcm, or radeon_drm) to see which devices are generating the = large number of interrupts. =2D-=20 John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org