From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 15:44:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53C961065674 for ; Sat, 20 Sep 2008 15:44:12 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 0EDE48FC2C for ; Sat, 20 Sep 2008 15:44:11 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kh4d1-0003CD-DJ for freebsd-questions@freebsd.org; Sat, 20 Sep 2008 08:44:11 -0700 Message-ID: <19586581.post@talk.nabble.com> Date: Sat, 20 Sep 2008 08:44:11 -0700 (PDT) From: kg5nm To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kg5nm@comcast.net References: Subject: Re: irq19 uhci interrupts taking ~100% of one core? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 15:44:12 -0000 I think this is a SATA driver problem on amd64 builds. I have the same problem (3 usable cores due to this!). I'm too am running a custom kernel but this was also happening on GENERIC. If you temporarily disable all USB drivers, you should see the SATA ATAPI driver pop up on 'vmstat -i' instead of UHCI. IRQ 19 is a multi-use IRQ and vmstat reports one IRQ grabber. An additional clue: I unplugged 3 of my 4 SATA drives and the 'IRQ shower' actually increased about 25%! I'm considering posting this to the -CURRENT folks to see if this is being worked, it's pretty painful to lose 25% of my quad-core just to this interrupt shower; FYI - I'm calling it a 'shower' since it's not bad enough for the kernel to flag it as a storm. :) - Gary (kg5nm@comcast.net) Scott Gasch wrote: > > Replying to my own question with more data. > Previously I had been running my own kernel; I was curious if the problem > would reproduce with a GENERIC kernel. It does but the symptoms are > slightly different. The same irq is firing too often and consuming nearly > all of one core. But the driver that is associated with the interrupt is > different -- it's fwohci0: > > interrupt total rate > irq6: fdc0 1 0 > irq17: mskc0 dc0 313242 13 > irq18: skc0 uhci2* 124475451 5540 > irq19: fwohci0+++ 957875379 42638 > irq23: uhci3 ehci1 1145 0 > cpu0: timer 44458513 1979 > cpu1: timer 44448875 1978 > cpu3: timer 43393901 1931 > cpu2: timer 43393921 1931 > Total 1258360428 56014 > > > This makes me start to wonder if this is not a problem with irq19 (the > PIC?) > and not one particular device / driver. I'm not sure how to make dig > deeper > here, any help greatly appreciated. > > Thx, > Scott > > > On Sun, Sep 7, 2008 at 4:07 PM, Scott Gasch wrote: > >> Hi, >> I'm running freebsd 7.0-RELEASE-p4 on a 4-core amd64 box. nearly 100% of >> 1 >> cpu is constantly being used handling irq19: uhci4 interrupts. This >> seems >> to happen both with and without any USB devices plugged in: >> >> vmstat -i >> interrupt total rate >> irq1: atkbd0 5 0 >> irq6: fdc0 1 0 >> irq17: mskc0 dc0 1180547 18 >> irq18: skc0 uhci2* 163250699 2512 >> irq19: uhci4++ 3187989508 49072 >> irq23: uhci3 ehci1 31 0 >> cpu0: timer 129208570 1988 >> cpu1: timer 129208457 1988 >> cpu2: timer 125750147 1935 >> cpu3: timer 125750122 1935 >> Total 3862338087 59452 >> >> dmesg >> uhci4: port 0xa400-0xa41f irq 19 at >> device >> 29.1 >> on pci0 >> uhci4: [GIANT-LOCKED] >> uhci4: [ITHREAD] >> >> Any idea what's going on here and/or how to fix this? >> >> Thx, >> Scott >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/irq19-uhci-interrupts-taking-%7E100--of-one-core--tp19363669p19586581.html Sent from the freebsd-questions mailing list archive at Nabble.com.