From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 19 07:40:32 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 3A8F416A4CE for ; Fri, 19 Nov 2004 07:40:32 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0376143D4C for ; Fri, 19 Nov 2004 07:40:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAJ7eV8R033395 for ; Fri, 19 Nov 2004 07:40:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAJ7eVVD033394; Fri, 19 Nov 2004 07:40:31 GMT (envelope-from gnats) Date: Fri, 19 Nov 2004 07:40:31 GMT Message-Id: <200411190740.iAJ7eVVD033394@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Thomas Novin 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: Thomas Novin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 07:40:32 -0000 The following reply was made to PR bin/60385; it has been noted by GNATS. From: Thomas Novin To: Dima Dorfman 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.