From owner-freebsd-current@FreeBSD.ORG Wed Mar 10 10:16:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9C7516A4CF for ; Wed, 10 Mar 2004 10:16:04 -0800 (PST) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F3243D55 for ; Wed, 10 Mar 2004 10:16:04 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 26018 invoked from network); 10 Mar 2004 18:16:02 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 10 Mar 2004 18:16:02 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i2AIFD2A030405; Wed, 10 Mar 2004 13:15:42 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 10 Mar 2004 13:01:24 -0500 User-Agent: KMail/1.6 References: <20040309071912.GM56622@elvis.mu.org> <20040309095540.U69332@carver.gumbysoft.com> <20040309181938.GP56622@elvis.mu.org> In-Reply-To: <20040309181938.GP56622@elvis.mu.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403101301.24106.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Alfred Perlstein cc: current@freebsd.org Subject: Re: diagnosing interrupt storms? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 18:16:05 -0000 On Tuesday 09 March 2004 01:19 pm, Alfred Perlstein wrote: > * Doug White [040309 09:57] wrote: > > On Mon, 8 Mar 2004, Alfred Perlstein wrote: > > > At a certain point after booting my SMP 5-current box gets all > > > weird, typically I see 50%+ time spent in interrupt. If I run "top > > > -S" I typically see one of the ithreads using 50% cpu. > > > > > > I'm trying to figure out what it's doing, what has gone wrong etc. > > > > > > Are there any sysctls to look at or things I can do to diagnose > > > this? > > > > vmstat -i is useful for figuring out exactly which interrupt is storming, > > although the ithread might hint it too. > > > > Which one is it? > > It's typically been em (intel gigE) or the sound interrupt. Is it on irq 20 and shared with acpi0? Alternatively, it could be misrouted. Are you using X and drm? Many BIOSs seem to forget that VGA devices can have IRQs and don't provide interrupt routing information for them, so drm0 gets the wrong IRQ and the correct IRQ gets a storm when the drm0 device interrupts. I guess window doesn't use the VGA IRQ in its graphics drivers since BIOS writers seem to only care about what makes Windows works and tend to demonstrate a stricking lack of proficiency in English when it comes to written standards such as ACPI, etc. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org