Kernel SMP support with only cpu safe?

Richard MAHONEY r.mahoney at iconz.co.nz
Mon Jul 4 01:33:10 GMT 2005


List members,

I am running an HP Proliant ML150 with only one cpu [CPU: Intel(R)
Xeon(TM) CPU 3.00GHz (2992.51-MHz K8-class CPU)]. The details are below.
The slot for the second cpu is empty and SMP support has not been
enabled in the kernel. The upshot of seems to be that `top' doesn't
indicate the cpu state, i.e.:

last pid: 50248;  load averages:  0.00,  0.00,  0.00 up 1+01:52:17  12:19:34
52 processes:  1 running, 50 sleeping, 1 zombie
CPU states:     % user,     % nice,     % system,     % interrupt,     %idle
Mem: 153M Active, 387M Inact, 115M Wired, 28M Cache, 111M Buf, 191M Free
Swap: 2020M Total, 2020M Free

The question ... Would recompiling the kernel with SMP support resolve
this issue? And, considering that I only have one cpu, would this be
safe? I'd be grateful for any advice.


[rbm49 at proliant:ttyp0:pkg] % uname -a
FreeBSD proliant.indica-et-buddhica.org 5.4-RELEASE FreeBSD 5.4-RELEASE
#0: Sat Jul  2 13:52:32 NZST 2005
rbm49 at proliant.indica-et-buddhica.org:/usr/src/sys/amd64/compile/PROLIANT  amd64


[rbm49 at proliant:ttyp0:pkg] % dmesg -a
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved.
FreeBSD 5.4-RELEASE #0: Sat Jul  2 13:52:32 NZST 2005

rbm49 at proliant.indica-et-buddhica.org:/usr/src/sys/amd64/compile/PROLIANT
ACPI APIC Table: <PTLTD          APIC  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.51-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1

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,P
BE>
  Features2=0x641d<SSE3,RSVD2>,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  Hyperthreading: 2 logical CPUs
real memory  = 1073152000 (1023 MB)
avail memory = 1024258048 (976 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4101> mem
0xd8100000-0xd810ffff irq 16 at device 0.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5750 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge0: Ethernet address: 00:13:21:b4:06:d9
.
.
.
.


Best regards,

 Richard Mahoney


-- 
Richard MAHONEY | www: indica-et-buddhica.org
Littledene      | phone/fax (man.): +64 3 312 1699
Bay Road        | cell: +64 25 829 986
OXFORD, NZ      | email: r.mahoney[add"@"]iconz.co.nz



More information about the freebsd-amd64 mailing list