From owner-freebsd-stable@FreeBSD.ORG Thu Jun 11 19:27:38 2015 Return-Path: Delivered-To: freebsd-stable@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AB98841 for ; Thu, 11 Jun 2015 19:27:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [IPv6:2607:f8b0:4001:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C771719E4 for ; Thu, 11 Jun 2015 19:27:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iebps5 with SMTP id ps5so11279813ieb.3 for ; Thu, 11 Jun 2015 12:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gP1ylgIiodrdMSRCGq2g8U9eQrh9Nrtdrh/ZN6OCbFQ=; b=CbOOXHqKNJmjQG93aze2HXYqil9RqEpqyS6ElD56fiJsgF1DUsDhv2FDPtGv1v1Vyw l8Tbz2YPC2yJ4jBnMaRlszNftm3pM0mzOfjEkSrhszHYO/Xi35DJkQ081gsPwCqh++WA p6verpCJ6/S/dK8bz9bDz49zmXrqddINXvgPtH1TJX2OFpwX8hYjpAbviBKrVqvW8tMz VGvdHDPxEJo+3MTh+qMb4AoT6k5T6t9jqqezojeuZVqHcsVUavwjsXuyO7coEu3g4PSo CyFcsANrDdHexBMOlLjio1AMGeKon6Gln3PU8MIVRJd1633MK3024/JQUHbgy+X2EAhO M5Gw== MIME-Version: 1.0 X-Received: by 10.50.136.197 with SMTP id qc5mr14710179igb.6.1434049214754; Thu, 11 Jun 2015 12:00:14 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Thu, 11 Jun 2015 12:00:14 -0700 (PDT) In-Reply-To: <20150611160835.K74737@sola.nimnet.asn.au> References: <20150611160835.K74737@sola.nimnet.asn.au> Date: Thu, 11 Jun 2015 12:00:14 -0700 X-Google-Sender-Auth: p706d_bwhn6_ZOUROUE_B80FdQU Message-ID: Subject: Re: High Interrupt rate since r279961 on STABLE/10 branch From: Adrian Chadd To: Ian Smith Cc: Yanhui Shen , FreeBSD Stable Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 19:27:38 -0000 because they're shared. It just doesn't show up by default as nothing has really claimed the IRQ. try vmstat -ia .. -adrian On 10 June 2015 at 23:19, Ian Smith wrote: > On Thu, 11 Jun 2015 09:43:15 +0800, Yanhui Shen wrote: > > Hi, > > > > Thanks, it works! > > > > https://svnweb.freebsd.org/base/head/sys/dev/pci/vga_pci.c?r1=284012&r2=284011&pathrev=284012 > > > > > > > > 2015-06-11 0:38 GMT+08:00 Adrian Chadd : > > > > > Hi, > > > > > > There was an update to freebsd-head a few days ago from hans - it > > > disabled PCI interrupts for VGA until a driver claims it. > > > > > > See if that helps? > > I'm glad it does, and can see the interrupt rate on vgapci0 was 173 when > bad and 4 when good, but I'm completely at a loss to see how that might > have affected the interrupt rate on uhci3, shown below as 189643 (!) > when bad and, er, absent when good? > > cheers, Ian > > > > > Device: ThinkPad R400 (Product ID: 278225C) > > > > CPU: Intel Core 2 Duo processor T6570 (2.1 GHz) > > > > GPU: Intel Integrated Graphics 4500MHD > > > > > > > > Output of "vmstat -i" with r284205 kernel (abnormal): > > > > interrupt total rate > > > > irq1: atkbd0 1607 1 > > > > irq9: acpi0 131958 104 > > > > irq12: psm0 4281 3 > > > > irq16: uhci3 239899376 189643 > > > > irq20: hpet0 uhci0 1426118 1127 > > > > irq21: uhci1 40315 31 > > > > irq23: ehci0 33 0 > > > > irq256: vgapci0 6059 4 > > > > irq257: em0 49220 38 > > > > irq258: hdac0 62 0 > > > > irq260: ahci0:ch0 17217 13 > > > > irq261: ahci0:ch1 23 0 > > > > Total 241576269 190969 > > > > > > > > Output of "vmstat -i" with r279958 kernel (normal): > > > > interrupt total rate > > > > irq1: atkbd0 48155 3 > > > > irq9: acpi0 1581468 105 > > > > irq12: psm0 209484 13 > > > > irq19: ehci1 48099 3 > > > > irq20: hpet0 uhci0 17385585 1156 > > > > irq21: uhci1 680884 45 > > > > irq23: ehci0 31 0 > > > > irq256: vgapci0 2611430 173 > > > > irq257: em0 1342009 89 > > > > irq258: hdac0 602220 40 > > > > irq260: ahci0:ch0 236313 15 > > > > irq261: ahci0:ch1 27 0 > > > > Total 24745705 1646