From owner-freebsd-current@FreeBSD.ORG Tue Feb 19 09:45:02 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6F2BCDA3 for ; Tue, 19 Feb 2013 09:45:02 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77]) by mx1.freebsd.org (Postfix) with ESMTP id 4916FCD8 for ; Tue, 19 Feb 2013 09:45:02 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.84,694,1355126400"; d="scan'208";a="23752910" Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx12-out.netapp.com with ESMTP; 19 Feb 2013 01:44:55 -0800 Received: from vmwexceht02-prd.hq.netapp.com (vmwexceht02-prd.hq.netapp.com [10.106.76.240]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id r1J9it8O016045; Tue, 19 Feb 2013 01:44:55 -0800 (PST) Received: from SACEXCMBX01-PRD.hq.netapp.com ([169.254.2.54]) by vmwexceht02-prd.hq.netapp.com ([10.106.76.240]) with mapi id 14.02.0328.009; Tue, 19 Feb 2013 01:44:55 -0800 From: "Eggert, Lars" To: Fleuriot Damien Subject: Re: system 20% busy at all times? Thread-Topic: system 20% busy at all times? Thread-Index: AQHODoSUIkOKNPDzb0yS23V/tl+kl5iBc1WAgAABSAA= Date: Tue, 19 Feb 2013 09:44:54 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.51] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 09:45:02 -0000 Hi, On Feb 19, 2013, at 10:40, Fleuriot Damien wrote: > What about reviewing top(1) ? top shows the ~20% I mentioned: last pid: 3176; load averages: 0.79, 0.80, 0.84 = up 0+14:49:49= 09:43:51 17 processes: 1 running, 16 sleeping CPU: 0.0% user, 0.0% nice, 18.7% system, 0.0% interrupt, 81.3% idle Mem: 32M Active, 9456K Inact, 196M Wired, 19M Buf, 15G Free Swap:=20 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAN= D 3002 root 1 20 0 14264K 1664K select 0 0:02 0.00% powerd 2999 root 1 20 0 25120K 3304K select 3 0:01 0.00% ntpd 3084 root 1 20 0 81420K 6120K select 0 0:00 0.00% sshd 3094 root 1 20 0 17180K 3956K pause 1 0:00 0.00% csh 3062 root 1 21 0 17180K 3900K ttyin 2 0:00 0.00% csh 2867 root 1 20 0 14296K 2028K select 1 0:00 0.00% syslog= d 2959 root 1 52 0 20500K 7512K rpcsvc 3 0:00 0.00% rpc.lo= ckd 2943 root 1 20 0 16376K 2064K select 2 0:00 0.00% rpcbin= d 3061 root 1 20 0 47504K 2604K wait 3 0:00 0.00% login 2945 root 1 20 0 274M 7448K select 1 0:00 0.00% rpc.st= atd 3176 root 1 20 0 19608K 2996K CPU3 1 0:00 0.00% top 2676 root 1 20 0 9016K 4652K select 0 0:00 0.00% devd 3014 root 1 20 0 56152K 4964K select 2 0:00 0.00% sshd 2562 root 1 29 0 14416K 2224K select 1 0:00 0.00% dhclie= nt 2629 _dhcp 1 20 0 14416K 2240K select 2 0:00 0.00% dhclie= nt 3065 root 1 20 0 14528K 1708K select 2 0:00 0.00% netser= ver 2708 root 1 20 0 14232K 1568K select 2 0:00 0.00% rtsold > or possibly ps(1) aufx # ps -aufx USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 10 346.8 0.0 0 64 - RL 6:54PM 2862:46.43 [idle] root 0 64.1 0.0 0 496 - DLs 6:54PM 694:47.32 [kernel] root 1 0.0 0.0 9344 792 - ILs 6:54PM 0:00.09 /sbin/init -- root 2 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [crypto] root 3 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [crypto retur= ns] root 4 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [ctl_thrd] root 5 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [xpt_thrd] root 6 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [ipmi0: kcs] root 7 0.0 0.0 0 16 - DL 6:54PM 0:00.04 [pagedaemon] root 8 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [pagezero] root 9 0.0 0.0 0 16 - DL 6:54PM 0:00.15 [bufdaemon] root 11 0.0 0.0 0 416 - WL 6:54PM 0:10.47 [intr] root 12 0.0 0.0 0 48 - DL 6:54PM 0:00.03 [geom] root 13 0.0 0.0 0 16 - DL 6:54PM 0:01.87 [yarrow] root 14 0.0 0.0 0 256 - DL 6:54PM 0:00.50 [usb] root 15 0.0 0.0 0 16 - DL 6:54PM 0:00.17 [vnlru] root 16 0.0 0.0 0 16 - DL 6:54PM 0:00.56 [syncer] root 17 0.0 0.0 0 16 - DL 6:54PM 0:00.21 [softdepflush= ] root 42 0.0 0.0 0 16 - DL 6:54PM 0:00.03 [md0] root 53 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [md1] root 120 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [md2] root 125 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [md3] root 2562 0.0 0.0 14416 2224 - Is 6:54PM 0:00.00 dhclient: em4= [priv] (dhclient) _dhcp 2629 0.0 0.0 14416 2240 - Is 6:54PM 0:00.00 dhclient: em4= (dhclient) root 2676 0.0 0.0 9016 4652 - Is 6:54PM 0:00.01 /sbin/devd root 2708 0.0 0.0 14232 1568 - Is 6:54PM 0:00.00 /usr/sbin/rts= old -a root 2867 0.0 0.0 14296 2028 - Ss 6:54PM 0:00.04 /usr/sbin/sys= logd -s root 2943 0.0 0.0 16376 2064 - Ss 6:54PM 0:00.03 /usr/sbin/rpc= bind root 2945 0.0 0.0 280472 7448 - Ss 6:54PM 0:00.02 /usr/sbin/rpc= .statd root 2959 0.0 0.0 20500 7512 - Ss 6:54PM 0:00.04 /usr/sbin/rpc= .lockd root 2999 0.0 0.0 25120 3304 - Ss 6:54PM 0:00.85 /usr/sbin/ntp= d -g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.drift root 3002 0.0 0.0 14264 1664 - Ss 6:54PM 0:01.61 /usr/sbin/pow= erd root 3014 0.0 0.0 56152 4964 - Is 6:54PM 0:00.00 /usr/sbin/ssh= d -o PermitRootLogin=3Dwithout-password root 3065 0.0 0.0 14528 1708 - Is 6:54PM 0:00.00 netserver root 3084 0.0 0.0 81420 6120 - Ss 9:21AM 0:00.09 sshd: root@pt= s/0 (sshd) root 3061 0.0 0.0 47504 2604 u0 Is 6:54PM 0:00.02 login [pam] (= login) root 3062 0.0 0.0 17180 3900 u0 I+ 6:54PM 0:00.05 -csh (csh) root 3094 0.0 0.0 17180 3956 0 Ss 9:32AM 0:00.05 -csh (csh) root 3177 0.0 0.0 16436 1900 0 R+ 9:44AM 0:00.00 ps -aufx > At least you should be able to see what takes up CPU: > - system > - user processes > - interrupts # vmstat -i interrupt total rate irq3: uart1 11535 0 irq4: uart0 1227 0 irq9: acpi0 1989762564 37379 irq16: uhci0 uhci1+ 393 0 cpu0:timer 32147924 603 irq270: em4 1907258 35 cpu3:timer 63027976 1184 cpu2:timer 56428246 1060 cpu1:timer 44799884 841 Total 2188087007 41104 So it seems that irq 9 is firing a whole lot. Why? Thanks, Lars=