From owner-freebsd-usb@FreeBSD.ORG Fri Jan 9 23:37:28 2015 Return-Path: Delivered-To: freebsd-usb@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 53DFE3D7; Fri, 9 Jan 2015 23:37:28 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (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 DF71DEB9; Fri, 9 Jan 2015 23:37:27 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id bs8so5065510wib.1; Fri, 09 Jan 2015 15:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LnBiORjG7KVaCcrUwe6rBHROcR/YWdBos4MvmK8brDY=; b=dJMaW/6CKHLKKyEm+eH6vX0x5IxJ5hdmuoJJeS8gSxt8Aic/PPNYrxqY7Uo3KowU2/ AXYf8htkpvqxX2bree5Mqd2ztqWQVG6kiQ/ZWC00F1DRmbvULm9QfHEodqJzVGIqwVvJ f6/eiYxhnfHgLNpmY1XgtwhCuyPmZy16NIVy96gb/yjJRo9Z8xYuRcfM1NNciDHj/tm5 2wpbNbP6zxyvMmo+VYLZbGMBMaIIFEoYOAxEwDlYRzWLUKL1LBn/yUTa3kq5zdoVf/rB nN+qz/DFzTX07I+9KmXuYkyamZesBHisaN7i76ExERnRa0G9Kv42zFGc9lkmCxiYLmkX JOKw== MIME-Version: 1.0 X-Received: by 10.195.12.15 with SMTP id em15mr37405887wjd.80.1420846645730; Fri, 09 Jan 2015 15:37:25 -0800 (PST) Received: by 10.27.81.146 with HTTP; Fri, 9 Jan 2015 15:37:25 -0800 (PST) Date: Fri, 9 Jan 2015 23:37:25 +0000 Message-ID: Subject: Re: Lynx Point USB - large amount of interrupts (300k / second) From: Daniel Kolesa To: Adrian Chadd , freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2015 23:37:28 -0000 2015-01-09 23:26 GMT+00:00 Daniel Kolesa : > 2015-01-09 20:24 GMT+00:00 Adrian Chadd : >> hi, >> >> I have a haswell desktop box at home: >> >> CPU: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz (3192.67-MHz K8-class CPU) >> >> With lynx point USB: > > Also Haswell here, but with H97 chipset, which means Wildcat Point > USB. Not getting the issue. > >> >> adrian@test-2:~ % dmesg | grep ehci >> ehci0: mem >> 0xf7f1c000-0xf7f1c3ff irq 16 at device 26.0 on pci0 >> usbus1 on ehci0 >> ehci1: mem >> 0xf7f1b000-0xf7f1b3ff irq 23 at device 29.0 on pci0 >> usbus2 on ehci1 >> >> >> ehci0@pci0:0:26:0: class=0x0c0320 card=0x367d17aa chip=0x8c2d8086 >> rev=0x05 hdr=0x00 >> vendor = 'Intel Corporation' >> device = 'Lynx Point USB Enhanced Host Controller' >> class = serial bus >> subclass = USB >> >> ehci1@pci0:0:29:0: class=0x0c0320 card=0x367d17aa chip=0x8c268086 >> rev=0x05 hdr=0x00 >> vendor = 'Intel Corporation' >> device = 'Lynx Point USB Enhanced Host Controller' >> class = serial bus >> subclass = USB >> >> >> and: >> >> xhci0: mem 0xf7f00000-0xf7f0ffff >> irq 16 at device 20.0 on pci0 >> xhci0: 32 byte context size. >> xhci0: Port routing mask set to 0xffffffff >> usbus0 on xhci0 >> >> xhci0@pci0:0:20:0: class=0x0c0330 card=0x367d17aa chip=0x8c318086 >> rev=0x05 hdr=0x00 >> vendor = 'Intel Corporation' >> device = 'Lynx Point USB xHCI Host Controller' >> class = serial bus >> subclass = USB >> >> .. now, whta I'm seeing is this: >> >> irq16: ehci0 21441217509 25285 >> stray irq16 0 0 >> >> ... systat -vmstat 1 shows the interrupt rate to be ridiculous though, >> like 230,000 interrupts a second. > > The numbers it shows here are very small. > >> >> Proc: Interrupts >> r p d s w Csw Trp Sys Int Sof Flt ioflt 256k total >> 45 6 510k 11 245 255k 16 3 cow 255k ehci0 16 >> 1 zfod ehci1 23 >> >> .. so, what gives? :) Has anyone else seen this? >> >> >> >> -adrian >> _______________________________________________ >> freebsd-usb@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-usb >> To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > > Daniel Oops. Accidentally sent only to Adrian rather than the list. Sorry