Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2004 07:40:31 GMT
From:      Thomas Novin <thnov@xyz.pp.se>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/60385: vmstat/iostat/top all fail to report CPU usage (still in 5.3R)
Message-ID:  <200411190740.iAJ7eVVD033394@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: Thomas Novin <thnov@xyz.pp.se>
To: Dima Dorfman <dd@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/60385: vmstat/iostat/top all fail to report CPU usage
  (still in 5.3R)
Date: Fri, 19 Nov 2004 08:33:20 +0100

 # sysctl kern.clockrate
 kern.clockrate: { hz = 100, tick = 10000, profhz = 1024, stathz = 128 }
 # sysctl kern.timecounter
 kern.timecounter.stepwarnings: 0
 kern.timecounter.nbinuptime: 1600002999
 kern.timecounter.nnanouptime: 4200
 kern.timecounter.nmicrouptime: 2047672
 kern.timecounter.nbintime: 518528232
 kern.timecounter.nnanotime: 146335
 kern.timecounter.nmicrotime: 518381897
 kern.timecounter.ngetbinuptime: 0
 kern.timecounter.ngetnanouptime: 16793514
 kern.timecounter.ngetmicrouptime: 558311521
 kern.timecounter.ngetbintime: 0
 kern.timecounter.ngetnanotime: 0
 kern.timecounter.ngetmicrotime: 90967573
 kern.timecounter.nsetclock: 14
 kern.timecounter.hardware: TSC
 kern.timecounter.choice: TSC(800) i8254(0) dummy(-1000000)
 kern.timecounter.tick: 1
 # sysctl vm.loadavg
 vm.loadavg: { 2.13 1.78 1.33 }
 # fgrep Timecounter /var/run/dmesg.boot
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Timecounter "TSC" frequency 1196221361 Hz quality 800
 Timecounters tick every 10.000 msec
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Timecounter "TSC" frequency 1196219615 Hz quality 800
 Timecounters tick every 10.000 msec
 # while [ 1 ] ; do sysctl kern.cp_time && sleep 5 ; done
 kern.cp_time: 0 0 0 0 0
 kern.cp_time: 0 0 0 0 0
 kern.cp_time: 0 0 0 0 0
 kern.cp_time: 0 0 0 0 0
 kern.cp_time: 0 0 0 0 0
 kern.cp_time: 0 0 0 0 0
 # cd /usr/local/
 # /usr/bin/time ls -R > /dev/null
          3.11 real         0.00 user         0.19 sys
 
 # uname -a
 FreeBSD hawk.xxx.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon Nov  8 
 15:06:10 CET 2004     root@hawk.xxx.net:/usr/obj/usr/src/sys/VER_53  i386
 
 One system is Tyan S2510 (or S2518) motherboard. 1 x 1,2GHz PIII CPU.
 Also noted on another system with Tyan Thunder S2510 motherboard. 1,13GHz 
 PIII CPU.
 
 These systems have reported CPU usage without problem on 4.x. 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411190740.iAJ7eVVD033394>