RE: [Newbie]: Frage zu SMP auf einem DualXeon 2.4Ghz && kern.smp .cpus

From: Schonder, Matthias <Matthias.Schonder(at)Geis-Group.de>
Date: Fri, 5 Sep 2003 10:31:24 +0200

>Nochmal:
>machdep.hlt_logical_cpus = 0
>Logische CPUs aus -> kein HT.

Das ist aber dann völlig konträr zum FreeBSD manual.

Denn da steht so quasi:
 machdep.hlt_logical_cpus = 1
Die logische CPU wird nicht benutzt (System findet sie zwar, aber sie idled
nur).
 machdep.hlt_logical_cpus = 0
Logsiche CPU aktiv.

Was nun das Problem ist:
Der Rechner ist ein DUAL Xeon

Also müssten vier CPUs aktiv sein. Sind aber nicht... es werden imemr nur
zwei gefunden..

in der dmesg.boot werden aber 4 aufgelistet.

Und nun was ganz kurioses.
Wenn Hyperthreading im BIOS disabled ist!!! Warum erscheint dann das in der
dmesg.boot:

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.29-MHz 686-class CPU)
  Origin = "GenuineIntel" Id = 0xf25 Stepping = 5
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory = 3221159936 (3071 MB)
avail memory = 3132293120 (2987 MB)
Changing APIC ID for IO APIC #0 from 0 to 4 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 24 pins in IOAPIC #1
Programming 24 pins in IOAPIC #2
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000
 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id: 4, version: 0x00178020, at 0xfec00000
Pentium Pro MTRR support enabled
acpi0: <IntelR AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 18 entries at 0xc00fde30
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast" frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_cpu2: <CPU> on acpi0
acpi_cpu3: <CPU> on acpi0

auch werden hier bei acpi 4 cpus gelistet.. aber in top erscheinen nur 2.

Ich krieg hier langsam ein prob

To Unsubscribe: send mail to majordomo.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 05 Sep 2003 - 10:31:51 CEST

search this site