bin/60385: vmstat/iostat/top all fail to report CPU usage

Thomas Novin thnov at xyz.pp.se
Sun Jun 13 19:50:11 GMT 2004


The following reply was made to PR bin/60385; it has been noted by GNATS.

From: Thomas Novin <thnov at xyz.pp.se>
To: freebsd-gnats-submit at FreeBSD.org,
	jin at adsl-63-198-35-122.dsl.snfc21.pacbell.net
Cc:  
Subject: Re: bin/60385: vmstat/iostat/top all fail to report CPU usage
Date: Sun, 13 Jun 2004 21:43:41 +0200

 This is reproducible on my single-cpu system.
 
 FreeBSD 5.2.1-RELEASE-p8 #1: Mon Jun  7 22:03:12 CEST 2004
      root at mail:/usr/obj/usr/src/sys/VER_5
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0841000.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) III CPU             1200MHz (1196.22-MHz 686-class 
 CPU)
    Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
    Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 536870912 (512 MB)
 avail memory = 511840256 (488 MB)
 Pentium Pro MTRR support enabled
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 
 # vmstat 1
   procs      memory      page                    disks     faults      cpu
   r b w     avm    fre  flt  re  pi  po  fr  sr tw0 fd0   in   sy  cs us sy id
   0 0 0  673612  36184   10   0   0   0   6   1   0   0  202    0 253  0  0  0
   1 0 0  673612  36184    5   0   0   0   5   0   0   0  213    0 264  0  0  0
   1 0 0  673612  36184    0   0   0   0   0   0   0   0  208    0 256  0  0  0
 
 This is however the only 5.2.1 machine I have that has this problem. I also 
 have a few SMP machines which doesn't have this problem, cpu usage 
 reporting works just fine. This system used to have a SMP-kernel since I 
 install the same kernel on all machines but after noting this problem and 
 reading this problem report I recompiled it without SMP/APIC but the 
 problem remained.
 


More information about the freebsd-bugs mailing list