From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 21:37:49 2014 Return-Path: Delivered-To: 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 E17E18C2 for ; Mon, 27 Oct 2014 21:37:49 +0000 (UTC) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (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 6F713884 for ; Mon, 27 Oct 2014 21:37:49 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id ex7so7627570wid.12 for ; Mon, 27 Oct 2014 14:37:47 -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=VxihpKYvDj9KrPMP56TQLlfSIn+D22L+s+LE2jijpnw=; b=ZJGje8fpnf5II96oMLuHp2OqQTd96cuFn2pqdLkXViNbILXWmlhAwNKBF+VbFinGTp ADrleQGeiU9n6oJneBp7SMcWmU57PkcYzX7H9IkHVImPccilFXmDAZE9VqyYN0cz7b3w C6VWXpHXv23+VuW1UtubGKpYg9pZOSZInRRyx6yApOpzOWznMRRRc0L4ksvZ/NM4D3HQ ICUG0hyfMGGWvUz0dUInRzxs7NPHgV8ijhUvi+ACmb4Uf3Hi/hcGoINeuwo36rY39wLB +d0Y0vrw98VOC7l8BPd475lt9S39k/RMEL4BG1sTSKPY8tyHpUeytitzf52QY++E1CJv iqvw== MIME-Version: 1.0 X-Received: by 10.180.8.233 with SMTP id u9mr21918wia.19.1414445867812; Mon, 27 Oct 2014 14:37:47 -0700 (PDT) Received: by 10.216.116.138 with HTTP; Mon, 27 Oct 2014 14:37:47 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Oct 2014 21:37:47 +0000 Message-ID: Subject: Re: High interrupt CPU in top... From: Peter Harrison To: Adam Vande More 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:37:50 -0000 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. Peter Harrison.