From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 21:41:40 2014 Return-Path: Delivered-To: questions@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 32D3CA5D for ; Mon, 27 Oct 2014 21:41:40 +0000 (UTC) Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (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 07BE894D for ; Mon, 27 Oct 2014 21:41:40 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id fp1so3190491pdb.9 for ; Mon, 27 Oct 2014 14:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7uaTPcewdXEY3sKMVX8Dufj4Hv+5iQzPsIwpYfzswZ4=; b=YuY2wzMperBvToxlEgOm455HDlFjP67ZixkZKJwam61nDPcqeQoGczuGRLr5G1Q0iR 7Opuhcy/5uKKXXHa8VYkwhI4qbmkfpKMblqVHsvVCqRL8QjeMwp2Yfgn4HzxBywXRNQS u1xJqytDWv2QQkRRug7GMusPNgMInKkbkomiMPoJfjpyA5L+C6dK2Fqwg5VUMhLqDoaK GpR6GZYSNcjJFtBISnkOSVJC17/P4vka0w76xr+aW10ilB8TH7N150JE7Wg+NvJAuFeP 2CT39nSVMztcp1kDrdBlhpwZrIb9uTE3dDFOuNLbOl2EeC2TfyKAzYOD/Ej7jLjowpDU OvhQ== MIME-Version: 1.0 X-Received: by 10.67.4.167 with SMTP id cf7mr27054851pad.52.1414446099614; Mon, 27 Oct 2014 14:41:39 -0700 (PDT) Received: by 10.70.103.141 with HTTP; Mon, 27 Oct 2014 14:41:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Oct 2014 16:41:39 -0500 Message-ID: Subject: Re: High interrupt CPU in top... From: Adam Vande More To: Peter Harrison Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 21:41:40 -0000 On Mon, Oct 27, 2014 at 4:37 PM, Peter Harrison < four.harrisons@googlemail.com> wrote: > > > On 27 October 2014 21:31, Adam Vande More wrote: > >> On Mon, Oct 27, 2014 at 3:59 PM, Peter Harrison < >> four.harrisons@googlemail.com> wrote: >> >>> Can anyone help me diagnose this please? I'm on 10.0-RELEASE on a >>> Thinkpad >>> X200s. In top I see around 30% CPU listed as 'interrupt' even when I'm >>> only >>> running Xorg (with Xfce as the window manager) with no other applications >>> open: >>> >>> last pid: 1946; load averages: 1.09, 1.30, 1.24 >>> up 0+00:59:59 21:56:20 >>> 54 processes: 1 running, 53 sleeping >>> CPU: 0.4% user, 0.0% nice, 0.2% system, 32.8% interrupt, 66.6% idle >>> Mem: 188M Active, 282M Inact, 283M Wired, 22M Cache, 206M Buf, 1127M Free >>> Swap: 4096M Total, 4096M Free >>> >>> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU >>> COMMAND >>> 1362 root 1 20 0 150M 25596K select 1 1:18 0.10% >>> Xorg >>> 1613 peter 4 32 0 260M 21700K select 1 0:02 0.10% >>> xfce4-terminal >>> 1521 peter 1 20 0 159M 17652K select 1 0:10 0.00% >>> xfwm4 >>> 1539 peter 1 20 0 152M 13704K select 1 0:08 0.00% >>> wrapper >>> 1524 peter 3 20 0 278M 24172K select 1 0:05 0.00% >>> xfce4-panel >>> 1444 haldaemon 2 28 0 60428K 6436K select 1 0:01 0.00% >>> hald >>> 1511 peter 2 39 0 163M 14756K select 1 0:01 0.00% >>> xfce4-session >>> 1544 root 2 20 0 54908K 5904K select 1 0:01 0.00% >>> upowerd >>> 1526 peter 2 20 0 247M 16108K kqread 0 0:01 0.00% >>> xfdesktop >>> 1540 peter 1 20 0 156M 15480K select 1 0:01 0.00% >>> wrapper >>> 1279 messagebus 1 20 0 17044K 3144K select 0 0:00 0.00% >>> dbus-daemon >>> >>> How do I diagnose what's using my processor? >>> >> >> vmstat -i >> >> -- >> Adam >> > > Cheers Adam. That gives me: > > [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. > You can try asking on the usb list. It's not normal, probably the driver isn't supported fully. Might be a trivial change to get to work. -- Adam