From owner-freebsd-usb@FreeBSD.ORG Fri Jan 9 20:24:39 2015 Return-Path: Delivered-To: freebsd-usb@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 420A3A6; Fri, 9 Jan 2015 20:24:39 +0000 (UTC) Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com [IPv6:2a00:1450:400c:c00::230]) (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 CCEA19E6; Fri, 9 Jan 2015 20:24:38 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id l2so10076218wgh.7; Fri, 09 Jan 2015 12:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=krXeF4VLkf9mplIZdF3BW+sYRa1u+KT9sHFfeop0DLg=; b=sX6S9R1WJH9B4UrRIydg/ylw2e1y5glPGEjgcwxX12RGxTJxd9YrQ3I6MN/Joi1Qiq eVdyjDJzafw2UKcfOqQIlcDHl/2fjnfQqNnx3LLtsKIVoVS56uD2uR35GAvoJHxDkMs+ svMuUT5zqQPegMpcY+NhVzYn57wYBrGaA4YZjGAhh+xxLtSlh2gfOX/7qm1DkzJr89xG BnESSv5fPWEjLoyz32KHsFBcUXyRtVwEJqi2vSPSJaI5EhpRYUAkl3zihnExD/LQKEXj Bv32UTYPudkpR8QkqRFxSPUl1jFz2we/cb4kgIPFJ8Nu5sqlXWHhbuHUjttNabawhB/6 E4iA== MIME-Version: 1.0 X-Received: by 10.194.5.37 with SMTP id p5mr7903839wjp.20.1420835077262; Fri, 09 Jan 2015 12:24:37 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.41.136 with HTTP; Fri, 9 Jan 2015 12:24:37 -0800 (PST) Date: Fri, 9 Jan 2015 12:24:37 -0800 X-Google-Sender-Auth: 8ckcAuH78U0tJzjl77WCMVNYtok Message-ID: Subject: Lynx Point USB - large amount of interrupts (300k / second) From: Adrian Chadd To: "freebsd-usb@freebsd.org" , Hans Petter Selasky 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 20:24:39 -0000 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: 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. 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