Uwe wrote:
>Is the P4-1.6G machine a multi-processor system, that is, was the kernel 
>compiled with the SMP option?  If so, there is currently no TSC support 
>on multi-processor systems, for technical reasons I understand.  So in 
>this case 'machdep.tsc.freq' is omitted from the kernel and therefore 
>cannot be queried.
No, there are all UP system.

on the P4-1.6G & FreeBSD4.8-release machine, dmesg shows some info:
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz (1614.41-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
  
Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,S
SE2,SS,HTT,TM>
real memory  = 268353536 (262064K bytes)
avail memory = 257617920 (251580K bytes)
Preloaded elf kernel "kernel" at 0xc0377000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 12 entries at 0xc00f15e0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82845 Host to PCI bridge> on motherboard
....

on the P3-800 & FreeBSD4.9-stable machine, dmesg shows some info:
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 854854067 Hz
CPU: Intel Pentium III (854.85-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536805376 (524224K bytes)
avail memory = 519004160 (506840K bytes)
Preloaded elf kernel "kernel" at 0xc0341000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 12 entries at 0xc00fdf00
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
......

on the P4-2.0G & FreeBSD5.2.1-RC machine: dmesg show some info:
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2039.74-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf28  Stepping = 8
  
Features=0x3febfbff<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>
real memory  = 268435456 (256 MB)
avail memory = 255287296 (243 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdf30
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0

I think the difference is the P4-1.6G machine enable APM-BIOS, if so, how can I get 
the CPU speed?
Because the CPU speed info in the 'kern.msgbuf' will be rushed after the machine run a 
long time and a lot of kernel msg.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to