Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 17:40:21 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        John Cochran <jdc@fiawol.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: About the setting of cpu type
Message-ID:  <20000216174021.A50216@dan.emsphone.com>
In-Reply-To: <200002161925.OAA95142@jdcochran.fiawol.org>; from "John Cochran" on Wed Feb 16 14:25:21 GMT 2000
References:  <200002161925.OAA95142@jdcochran.fiawol.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 16), John Cochran said:
> Chris Wasser <cwasser@v-wave.com> wrote:
> > Actually, I've been running into a slight problem with this too,
> >Linux allows on to look at /proc/cpuinfo while the best information
> >I seem to be able to get from FreeBSD is from dmesg. If it's a SMP
> >box, you'll see the processor make but not speed. There has to be a
> >userland process to view processor information, searching through
> >dmesg won't always work (rollovers, etc)

> Take a look at /var/run/dmesg.boot, It is created at boot time and
> contains the contents of dmesg. I agree that FreeBSD doesn't show
> processor speed at boot time for SMP machines.

It does on -current, at least.  Maybe you need to boot with -v.  The
CPU info is for the first CPU; if you want stepping info for the second
CPU, run mptable as root.

CPU: Pentium Pro (209.60-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping = 7
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000

CPU: Pentium III/Xeon (596.92-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000


-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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