From owner-freebsd-current@FreeBSD.ORG Tue Feb 19 09:40:21 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BF601B81 for ; Tue, 19 Feb 2013 09:40:21 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 280AEC2F for ; Tue, 19 Feb 2013 09:40:20 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id es5so5401407wgb.5 for ; Tue, 19 Feb 2013 01:40:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=h1jg41+MY+aPBF2U+75sxTXWUucu/bo1d6MH8LJKWZo=; b=mfbIgI+OEXWn9mpz+9up+QB9tNTrFa6/iPQcvhg4YoV05nxF3zGvwdz/qy8jjyzn98 +fEw6Eda4aNcx6XNXmCAoMPvAWBMRq6YYi/YOoq6JkeNWOWY0IBtiX9JVGM4Ti0bhO+l fJcsQpot8Y581xiHUpHBexSnSBk1Q52EDD0pyWaidLz4cvON4k0YNZ4Ncod/UUo5T3V9 yu2dyh6Y4ppimG2vuC+dMd0QeCl6fYUf5uz4GHoo51o9HHahc5HqteW5NRUYE+TT07/s mCMA7w3kfKhWFurmObhD8iWBAD6zwa7NqjsCTRIObxcGHJ32b8tTXm4/5Ef/35cW/zNq KIHA== X-Received: by 10.194.92.65 with SMTP id ck1mr24706165wjb.54.1361266820009; Tue, 19 Feb 2013 01:40:20 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id bg5sm26604272wib.8.2013.02.19.01.40.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Feb 2013 01:40:18 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: system 20% busy at all times? From: Fleuriot Damien In-Reply-To: Date: Tue, 19 Feb 2013 10:40:19 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Eggert, Lars" X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQkWBfReD4wdzjRurN0vu2KRHNBDEk7BG9pu5bBWI2djEgf5LTtjz7o6ENXKlTwiDRf6m7dW 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:40:21 -0000 On Feb 19, 2013, at 10:36 AM, "Eggert, Lars" wrote: > Hi, >=20 > I have a system running -CURRENT that in top(1) is showing ~20% CPU = usage for the system at all times. Any ideas what could be causing this, = or how I would go about diagnosing this further? Nothing in the logs. >=20 > Thanks, > Lars >=20 > PS: dmesg attached, in case it helps: >=20 > Copyright (c) 1992-2013 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 10.0-CURRENT #11 r+2fc9b3d: Tue Feb 12 19:32:15 CET 2013 > = elars@stanley.muccbc.hq.netapp.com:/home/elars/obj/usr/home/elars/src/sys/= FAS3270 amd64 > FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 > CPU: Intel(R) Xeon(R) CPU E5240 @ 3.00GHz (3000.17-MHz = K8-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x1067a Family =3D 0x6 Model =3D = 0x17 Stepping =3D 10 > = Features=3D0xbfebfbff > = Features2=3D0xc0ce3bd > AMD Features=3D0x20100800 > AMD Features2=3D0x1 > TSC: P-state invariant, performance statistics > real memory =3D 18253611008 (17408 MB) > avail memory =3D 16526143488 (15760 MB) > Event timer "LAPIC" quality 400 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 2 package(s) x 2 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 6 > cpu3 (AP): APIC ID: 7 > ioapic0 irqs 0-23 on motherboard > kbd0 at kbdmux0 > ctl: CAM Target Layer loaded > smbios0: at iomem 0xf6c00-0xf6c1e on = motherboard > smbios0: Version: 2.5 > cryptosoft0: on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > cpu0: on acpi0 > ACPI Error: [\134_SB_.PCI0.LPC0.BCMD] Namespace lookup failure, = AE_NOT_FOUND (20130117/psargs-393) > ACPI Error: Method parse/execution failed [\134_PR_.CPU0._OSC] (Node = 0xfffffe0007630c00), AE_NOT_FOUND (20130117/psparse-560) > ACPI Error: [\134_SB_.PCI0.LPC0.BCMD] Namespace lookup failure, = AE_NOT_FOUND (20130117/psargs-393) > ACPI Error: Method parse/execution failed [\134_PR_.CPU0._OSC] (Node = 0xfffffe0007630c00), AE_NOT_FOUND (20130117/psparse-560) > ACPI Error: Method parse/execution failed [\134_PR_.CPU0._PDC] (Node = 0xfffffe0007630c40), AE_NOT_FOUND (20130117/psparse-560) > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 2.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > pcib2: at device 3.0 on pci0 > pci2: on pcib2 > pcib3: at device 4.0 on pci0 > pci3: on pcib3 > pcib4: mem 0xdeb00000-0xdeb1ffff irq 16 at = device 0.0 on pci3 > pci4: on pcib4 > pcib4: no PRT entry for 4.4.INTA > pcib4: no PRT entry for 4.5.INTA > pcib4: no PRT entry for 4.8.INTA > pcib5: irq 5 at device 4.0 on pci4 > pci5: on pcib5 > pcib6: irq 10 at device 5.0 on pci4 > pci6: on pcib6 > pcib4: no PRT entry for 4.5.INTA > pcib4: no PRT entry for 4.5.INTB > ix0: = mem 0xdec00000-0xdec7ffff,0xded00000-0xded03fff irq 10 at device 0.0 on = pci6 > ix0: Using MSIX interrupts with 5 vectors > ix0: Ethernet address: 90:e2:ba:2b:3b:6c > ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 > ix1: = mem 0xdec80000-0xdecfffff,0xded04000-0xded07fff irq 11 at device 0.1 on = pci6 > ix1: Using MSIX interrupts with 5 vectors > ix1: Ethernet address: 90:e2:ba:2b:3b:6d > ix1: PCI Express Bus: Speed 5.0Gb/s Width x8 > pcib7: irq 5 at device 8.0 on pci4 > pci7: on pcib7 > pcib8: at device 5.0 on pci0 > pci8: on pcib8 > pcib9: at device 6.0 on pci0 > pci9: on pcib9 > pcib10: mem 0xdee00000-0xdee1ffff irq 16 at device = 0.0 on pci9 > pci10: on pcib10 > pcib11: irq 16 at device 0.0 on pci10 > pci11: on pcib11 > pcib12: mem 0xdef00000-0xdef1ffff irq 16 at device = 0.0 on pci11 > pci12: on pcib12 > pcib13: irq 17 at device 1.0 on pci12 > pci13: on pcib13 > pcib14: irq 16 at device 4.0 on pci12 > pci14: on pcib14 > pcib15: irq 17 at device 5.0 on pci12 > pci15: on pcib15 > pcib16: irq 16 at device 8.0 on pci12 > pci16: on pcib16 > pcib17: at device 0.0 on pci16 > pci17: on pcib17 > pcib18: at device 0.0 on pci17 > pci18: on pcib18 > em0: mem = 0xdf020000-0xdf03ffff,0xdf000000-0xdf01ffff irq 16 at device 0.0 on = pci18 > em0: Using an MSI interrupt > em0: Ethernet address: 00:1b:21:a8:a5:58 > em1: mem = 0xdf060000-0xdf07ffff,0xdf040000-0xdf05ffff irq 17 at device 0.1 on = pci18 > em1: Using an MSI interrupt > em1: Ethernet address: 00:1b:21:a8:a5:59 > pcib19: at device 1.0 on pci17 > pci19: on pcib19 > em2: mem = 0xdf120000-0xdf13ffff,0xdf100000-0xdf11ffff irq 17 at device 0.0 on = pci19 > em2: Using an MSI interrupt > em2: Ethernet address: 00:1b:21:a8:a5:5a > em3: mem = 0xdf160000-0xdf17ffff,0xdf140000-0xdf15ffff irq 18 at device 0.1 on = pci19 > em3: Using an MSI interrupt > em3: Ethernet address: 00:1b:21:a8:a5:5b > pcib20: irq 17 at device 9.0 on pci12 > pci20: on pcib20 > pcib21: mem 0xdf200000-0xdf21ffff irq 17 at device = 0.0 on pci20 > pci21: on pcib21 > pcib22: irq 17 at device 4.0 on pci21 > pci22: on pcib22 > pcib23: irq 18 at device 5.0 on pci21 > pci23: on pcib23 > pci23: at device 0.0 (no driver attached) > pcib24: irq 17 at device 8.0 on pci21 > pci24: on pcib24 > pci24: at device 0.0 (no driver attached) > pcib25: irq 16 at device 4.0 on pci10 > pci25: on pcib25 > pcib26: irq 17 at device 5.0 on pci10 > pci26: on pcib26 > pci26: at device 0.0 (no driver attached) > pci26: at device 0.1 (no driver attached) > pcib27: irq 18 at device 6.0 on pci10 > pci27: on pcib27 > pci27: at device 0.0 (no driver attached) > pcib28: at device 7.0 on pci0 > pci28: on pcib28 > pci0: at device 8.0 (no driver attached) > uhci0: port 0x1820-0x183f irq 16 = at device 26.0 on pci0 > usbus0 on uhci0 > ehci0: mem = 0xdfa01000-0xdfa013ff irq 18 at device 26.7 on pci0 > usbus1: EHCI version 1.0 > usbus1 on ehci0 > pcib29: irq 16 at device 28.0 on pci0 > pci29: on pcib29 > em4: port 0x3000-0x301f = mem 0xdf720000-0xdf73ffff,0xdf700000-0xdf71ffff irq 16 at device 0.0 on = pci29 > em4: Using an MSI interrupt > em4: Ethernet address: 00:a0:98:30:91:24 > em5: port 0x3020-0x303f = mem 0xdf760000-0xdf77ffff,0xdf740000-0xdf75ffff irq 17 at device 0.1 on = pci29 > em5: Using an MSI interrupt > em5: Ethernet address: 00:a0:98:30:91:25 > pcib30: irq 16 at device 28.4 on pci0 > pci30: on pcib30 > bge0: mem 0xdf800000-0xdf80ffff irq 16 at device 0.0 on pci30 > bge0: CHIP ID 0x00004201; ASIC REV 0x04; CHIP REV 0x42; PCI-E > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow > bge0: Ethernet address: 00:a0:98:30:91:28 > pcib31: irq 17 at device 28.5 on pci0 > pci31: on pcib31 > bge1: mem 0xdf900000-0xdf90ffff irq 17 at device 0.0 on pci31 > bge1: CHIP ID 0x00004201; ASIC REV 0x04; CHIP REV 0x42; PCI-E > miibus1: on bge1 > brgphy1: PHY 1 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow > bge1: Ethernet address: 00:a0:98:30:91:29 > uhci1: port 0x1840-0x185f irq 16 = at device 29.0 on pci0 > usbus2 on uhci1 > ehci1: mem = 0xdfa01400-0xdfa017ff irq 16 at device 29.7 on pci0 > usbus3: EHCI version 1.0 > usbus3 on ehci1 > pcib32: at device 30.0 on pci0 > pci32: on pcib32 > isab0: at device 31.0 on pci0 > isa0: on isab0 > ichsmb0: port 0x1860-0x187f mem = 0xdfa01800-0xdfa018ff irq 17 at device 31.3 on pci0 > smbus0: on ichsmb0 > smb0: on smbus0 > pci0: at device 31.6 (no driver attached) > acpi_button0: on acpi0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on = acpi0 > uart0: console (9600,n,8,1) > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > ichwd0 on isa0 > ichwd0: ICH WDT present but disabled in BIOS or hardware > device_attach: ichwd0 attach returned 6 > ipmi0: on isa0 > ipmi0: KCS mode found at io 0xca2 alignment 0x1 on isa > ichwd0 at port 0x1030-0x1037,0x1060-0x107f on isa0 > ichwd0: ICH WDT present but disabled in BIOS or hardware > device_attach: ichwd0 attach returned 6 > orm0: at iomem = 0xc0800-0xc17ff,0xc1800-0xc27ff,0xdc000-0xdffff on isa0 > coretemp0: on cpu0 > est0: on cpu0 > p4tcc0: on cpu0 > coretemp1: on cpu1 > est1: on cpu1 > p4tcc1: on cpu1 > coretemp2: on cpu2 > est2: on cpu2 > p4tcc2: on cpu2 > coretemp3: on cpu3 > est3: on cpu3 > p4tcc3: on cpu3 > Timecounters tick every 1.000 msec > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 480Mbps High Speed USB v2.0 > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to = accept, logging disabled > ugen0.1: at usbus0 > uhub0: on = usbus0 > ugen1.1: at usbus1 > uhub1: on = usbus1 > usbus2: 12Mbps Full Speed USB v1.0 > usbus3: 480Mbps High Speed USB v2.0 > ugen2.1: at usbus2 > uhub2: on = usbus2 > ugen3.1: at usbus3 > uhub3: on = usbus3 > ipmi0: IPMI device rev. 1, firmware rev. 1.00, version 2.0 > ipmi0: Number of channels 0 > ipmi0: Attached watchdog > bootpc_init: wired to interface 'em4' > Sending DHCP Discover packet from interface em4 (00:a0:98:30:91:24) > uhub0: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub3: 2 ports with 2 removable, self powered > ugen3.2: at usbus3 > umass0: on usbus3 > umass0: SCSI over Bulk-Only; quirks =3D 0x4000 > umass0:1:0:-1: Attached to scbus1 > da0 at umass-sim0 bus 0 scbus1 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device=20 > da0: 40.000MB/s transfers > da0: 1936MB (3964928 512 byte sectors: 255H 63S/T 246C) > Received DHCP Offer packet on em4 from 0.0.0.0 (accepted) (no root = path) > Sending DHCP Request packet from interface em4 (00:a0:98:30:91:24) > Received DHCP Ack packet on em4 from 0.0.0.0 (accepted) (got root = path) > em4 at 10.11.12.5 server 0.0.0.0 > subnet mask 255.255.255.0 router 10.11.12.13 rootfs = 10.11.12.13:/usr/home/elars/dst=20 > Adjusted interface em4 > SMP: AP CPU #3 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #1 Launched! > Timecounter "TSC-low" frequency 1500084729 Hz quality 1000 > hwpmc: SOFT/16/64/0x67 TSC/1/64/0x20 = IAP/2/40/0x3ff = IAF/3/40/0x67 > Trying to mount root from nfs: []... > NFS ROOT: 10.11.12.13:/usr/home/elars/dst What about reviewing top(1) ? or possibly ps(1) aufx At least you should be able to see what takes up CPU: - system - user processes - interrupts Kindly attach at least your ps output :)