From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 23 02:00:53 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 942B416A4CE for ; Tue, 23 Nov 2004 02:00:53 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5356043D3F for ; Tue, 23 Nov 2004 02:00:53 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAN20r1e082000 for ; Tue, 23 Nov 2004 02:00:53 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAN20qHT081999; Tue, 23 Nov 2004 02:00:52 GMT (envelope-from gnats) Date: Tue, 23 Nov 2004 02:00:52 GMT Message-Id: <200411230200.iAN20qHT081999@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jeff Behl Subject: Re: bin/60385: vmstat/iostat/top all fail to report CPU usage(still in 5.3R) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jeff Behl List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 02:00:53 -0000 The following reply was made to PR bin/60385; it has been noted by GNATS. From: Jeff Behl To: Dima Dorfman Cc: freebsd-gnats-submit@freebsd.org, Thomas Novin Subject: Re: bin/60385: vmstat/iostat/top all fail to report CPU usage (still in 5.3R) Date: Mon, 22 Nov 2004 17:56:38 -0800 Sorry for the delay. My output is below. It may be a while before I can try out a patch as were in a little bit of a bind and need the systems to be up and stable for a while. That, and I only see the problem pop up sporatically. After a reboot, things seem to work fine for a seemingly random amount of time. Having said that, not being able to see my CPU utilization is pretty scary as these machines are under a decent amount of load. If it's going to help a lot, I may be able to prioritize and add the patch. Please let me know. www6# top last pid: 29362; load averages: 0.07, 0.12, 0.16 up 4+08:04:51 17:45:51 30 processes: 1 running, 29 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 0.0% idle Mem: 714M Active, 503M Inact, 150M Wired, 32K Cache, 214M Buf, 483M Free Swap: 4069M Total, 4069M Free FreeBSD www6.cdn.sjc 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov 16 15:41:52 PST 2004 root@www6.cdn.sjc:/usr/obj/usr/src/sys/SMP amd64 www6# sysctl kern.clockrate kern.clockrate: { hz = 1024, tick = 976, profhz = 1024, stathz = 128 } www6# sysctl kern.timecounter kern.timecounter.tick: 1 kern.timecounter.choice: TSC(-100) ACPI-fast(1000) i8254(0) dummy(-1000000) kern.timecounter.hardware: ACPI-fast kern.timecounter.nsetclock: 6 kern.timecounter.ngetmicrotime: 38349140 kern.timecounter.ngetnanotime: 0 kern.timecounter.ngetbintime: 0 kern.timecounter.ngetmicrouptime: 209761019 kern.timecounter.ngetnanouptime: 16567 kern.timecounter.ngetbinuptime: 0 kern.timecounter.nmicrotime: 249915960 kern.timecounter.nnanotime: 20037 kern.timecounter.nbintime: 249935822 kern.timecounter.nmicrouptime: 29418 kern.timecounter.nnanouptime: 0 kern.timecounter.nbinuptime: 1939815878 kern.timecounter.stepwarnings: 0 kern.timecounter.smp_tsc: 0 www6# www6# sysctl vm.loadavg vm.loadavg: { 0.09 0.12 0.17 } www6# fgrep Timecounter /var/run/dmesg.boot Timecounter "i8254" frequency 1193182 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Timecounters tick every 0.976 msec www6# sysctl kern.cp_time && sleep 5 && sysctl kern.cp_time && sleep 5 && !! sysctl kern.cp_time && sleep 5 && sysctl kern.cp_time && sleep 5 && sysctl kern.cp_time && sleep 5 && sysctl kern.cp_time && sleep 5 kern.cp_time: 732270 104 925106 790100 90108268 kern.cp_time: 732270 104 925106 790100 90108268 kern.cp_time: 732270 104 925106 790100 90108268 kern.cp_time: 732270 104 925106 790100 90108268 www6# /usr/bin/time ls -R > /dev/null 0.00 real 0.00 user 0.00 sys