From owner-freebsd-questions@FreeBSD.ORG  Tue Oct 28 22:37:56 2014
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B6D001A4
 for <freebsd-questions@freebsd.org>; Tue, 28 Oct 2014 22:37:56 +0000 (UTC)
Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com
 [IPv6:2a00:1450:400c:c05::233])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 3AADB1B8
 for <freebsd-questions@freebsd.org>; Tue, 28 Oct 2014 22:37:55 +0000 (UTC)
Received: by mail-wi0-f179.google.com with SMTP id h11so3076534wiw.12
 for <freebsd-questions@freebsd.org>; Tue, 28 Oct 2014 15:37:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=WAWOfcBTd20dKyRPqf1oIzcdhC6AObrKiqc1rVo/ESo=;
 b=INgxkAz3gTu6gIq38HARpB+ZzbgYzCewXTZ3dFmTIr0XeWoC8D54/DE20iM9X0vP6/
 NE8UdxaB0uyP6NMyNXS+4Xqkpv/qeDNXmeIvRNqpBlcOIbCpKLCv7i6Us6XN9JtGNi4s
 /T/zjbYvQO8SmuLJ60TpfYSMhfBUwg5FuxSO9uM94REchK3227XOBWI2X+1Iop+8Jfoe
 NGxKOi7jYcAV+0FfDr623V/9nW+fE0MFpCl3k9v3R886l9+hNHO9FvTJ7uGgbxnQr6iz
 WOC/YmVXDRwBm0faMPZ7B6M6Knhjf3/yTDxipGYL+dV7zZQShAm/4voya7SVQ9LIrMgu
 siuw==
MIME-Version: 1.0
X-Received: by 10.194.110.104 with SMTP id hz8mr7856539wjb.62.1414535874405;
 Tue, 28 Oct 2014 15:37:54 -0700 (PDT)
Received: by 10.216.116.138 with HTTP; Tue, 28 Oct 2014 15:37:54 -0700 (PDT)
In-Reply-To: <544FD139.7090208@gmx.us>
References: <CAA3eX7a-u=FDTyo1Hp-uw=T4h9v5Am3ZHw9-XGCD_+9cZDP7bg@mail.gmail.com>
 <CA+tpaK3CobStcGzwbcs6LkYCotGVhqVhHwBWFNbLiihOf3e4NQ@mail.gmail.com>
 <CAA3eX7YS6rPrHKot5U+Up5jE-xfU6WVHK-G22jjkuuACMSZdbw@mail.gmail.com>
 <544EDBBE.8090709@gmx.us>
 <CAA3eX7ankgyC1sXj0LtMYG2Sk6Brw-NWxRCjD6X3bD7pL9wNTw@mail.gmail.com>
 <544FD139.7090208@gmx.us>
Date: Tue, 28 Oct 2014 22:37:54 +0000
Message-ID: <CAA3eX7awYPPrxnr4r0rGPVS5r29pXO1ZSFy4fax_+L5fAgY7Eg@mail.gmail.com>
Subject: Re: High interrupt CPU in top...
From: Peter Harrison <four.harrisons@googlemail.com>
To: Dutch Ingraham <stoa@gmx.us>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1
Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Oct 2014 22:37:56 -0000

On 28 October 2014 17:24, Dutch Ingraham <stoa@gmx.us> wrote:

> On 10/28/14 09:27, Peter Harrison wrote:
> > On 27 October 2014 23:56, Dutch Ingraham <stoa@gmx.us> wrote:
> >
> >> On 10/27/2014 17:37, Peter Harrison wrote:
> >>
> >>>
> >>> [peter 181]> vmstat -i
> >>> interrupt                          total       rate
> >>> irq1: atkbd0                       11870          1
> >>> irq9: acpi0                        27499          4
> >>> irq12: psm0                       234774         39
> >>> irq16: uhci3                  1250818252     210292
> >>> irq20: hpet0 uhci0               6977995       1173
> >>> irq21: uhci1                          11          0
> >>> irq23: ehci0                           2          0
> >>> irq257: hdac0                      16380          2
> >>> irq258: iwn0                      559063         93
> >>> irq259: ahci0                     103732         17
> >>> irq260: vgapci0                   311808         52
> >>> Total                         1259061386     211678
> >>>
> >>>
> >>> Any idea why the uhci is causing such a high interrupt rate? Is that
> >>> normal? Sorry for being so noob.
> >>>
> >>>
> >>>
> >>> Peter Harrison.
> >>> _______________________________________________
> >>> 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"
> >>>
> >>
> >> Please post back the output from <pciconf -lvc>
> >>
> >
> >
> > Here you go:
> >
> >  hostb0@pci0:0:0:0: class=0x060000 card=0x20e017aa chip=0x2a408086
> rev=0x07
> > hdr=0x00
> >     vendor     = 'Intel Corporation'
> >     device     = 'Mobile 4 Series Chipset Memory Controller Hub'
> >     class      = bridge
> >     subclass   = HOST-PCI
> >     cap 09[e0] = vendor (length 10) Intel cap 1 version 1
> > vgapci0@pci0:0:2:0: class=0x030000 card=0x20e417aa chip=0x2a428086
> rev=0x07
> > hdr=0x00
> >     vendor     = 'Intel Corporation'
> >     device     = 'Mobile 4 Series Chipset Integrated Graphics Controller'
> >     class      = display
> >     subclass   = VGA
> >     cap 05[90] = MSI supports 1 message enabled with 1 message
> >     cap 01[d0] = powerspec 3  supports D0 D3  current D0
> > vgapci1@pci0:0:2:1: class=0x038000 card=0x20e417aa chip=0x2a438086
> rev=0x07
> > hdr=0x00
> >     vendor     = 'Intel Corporation'
> >     device     = 'Mobile 4 Series Chipset Integrated Graphics Controller'
> >     class      = display
> >     cap 01[d0] = powerspec 3  supports D0 D3  current D0
>
> >
> > Peter Harrison.
> > _______________________________________________
> > 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"
> >
>
>
> OK - thanks.  Are you using xorg?  If so, please post back the output of
> <vmstat -i> run prior to starting X (from a reboot or restart, not by
> switching consoles).
>

Thanks for your help.

Here's vmstat-i with Xorg running:

 interrupt                          total       rate
irq1: atkbd0                         139          1
irq9: acpi0                          835          7
irq12: psm0                         1746         15
irq16: uhci3                    20622511     177780
irq20: hpet0 uhci0                118696       1023
irq21: uhci1                          11          0
irq23: ehci0                           2          0
irq257: hdac0                       3495         30
irq258: iwn0                       13406        115
irq259: ahci0                       8639         74
irq260: vgapci0                     1979         17
Total                           20771459     179064

And without Xorg running:

interrupt                          total       rate
irq1: atkbd0                         150          3
irq9: acpi0                          378          9
irq20: hpet0 uhci0                  8303        202
irq21: uhci1                          11          0
irq23: ehci0                           2          0
irq257: hdac0                         61          1
irq258: iwn0                        1536         37
irq259: ahci0                       1634         39
Total                              12075        294

So X is the problem? What can I do to fix it?

Cheers,



Peter Harrison.