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

Julien Gabel jpeg at thilelli.net
Sun Apr 18 11:00:24 PDT 2004


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

From: "Julien Gabel" <jpeg at thilelli.net>
To: freebsd-gnats-submit at FreeBSD.org
Cc: jin at adsl-63-198-35-122.dsl.snfc21.pacbell.net
Subject: Re: bin/60385: vmstat/iostat/top all fail to report CPU usage
Date: Sun, 18 Apr 2004 19:54:23 +0200 (CEST)

 Hello,
 
 I can reproduce the problem here:
 
  - FreeBSD 5.2.1-RELEASE-p4 #0: Wed Apr 14 22:06:33 CEST 2004 i386;
 
  - Single processor, Hyperthreading *enable*;
 
  - dmesg:
    Preloaded elf kernel "/boot/kernel/kernel" at 0xc0aa6000.
    Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0aa626c.
    ACPI APIC Table: <PTLTD          APIC  >
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.12-MHz 686-class CPU)
      Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
      Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,
       MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,
       HTT,TM,PBE>
      Hyperthreading: 2 logical CPUs
    real memory  = 1071579136 (1021 MB)
    avail memory = 1031471104 (983 MB)
    FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
     cpu0 (BSP): APIC ID:  0
     cpu1 (AP): APIC ID:  1
    ioapic0 <Version 1.1> irqs 0-23 on motherboard
    Pentium Pro MTRR support enabled
    npx0: [FAST]
    npx0: <math processor> on motherboard
    npx0: INT 16 interface
    acpi0: <PTLTD    RSDT  > on motherboard
    pcibios: BIOS version 2.10
    Using $PIR table, 6 entries at 0xc00fdf60
    acpi0: Power Button (fixed)
    Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 
  - vmstat/iostat/top all fail to report CPU usage;
 
  - This seems to be an SMP specific problem since I have an other machine
    with an identical level release, but which a single processor *without*
    Hyperthreading.
 
 Note: I think this problem may be related to Problem Report bin/30310.
 -- 
 -jpeg.


More information about the freebsd-bugs mailing list