Date: Tue, 23 Nov 2004 02:00:52 GMT From: Jeff Behl <jbehl@fastclick.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/60385: vmstat/iostat/top all fail to report CPU usage(still in 5.3R) Message-ID: <200411230200.iAN20qHT081999@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/60385; it has been noted by GNATS. From: Jeff Behl <jbehl@fastclick.com> To: Dima Dorfman <dd@freebsd.org> Cc: freebsd-gnats-submit@freebsd.org, Thomas Novin <thnov@xyz.pp.se> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411230200.iAN20qHT081999>