Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 2003 13:18:52 +0100
From:      Richard Nyberg <rnyberg@it.su.se>
To:        freebsd-smp@freebsd.org
Subject:   hyperthreading randomness
Message-ID:  <20030308121852.GA25380@murmeldjur.it.su.se>

next in thread | raw e-mail | index | archive | help
I have a Dell Precision 450 with 2 xeon CPU:s.
The weird thing is that it randomly boots up
with either 2 or 4 CPUs on the same 4-STABLE kernel.
2 more often than 4. It seems a bit unpredictable :(

CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2657.82-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  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

Diff of dmesg with 2 and 4 CPUs.

--- /tmp/dmesg.old	Sat Mar  8 12:10:33 2003
+++ /var/run/dmesg.boot	Sat Mar  8 11:57:38 2003
@@ -19,7 +19,9 @@
 Programming 24 pins in IOAPIC #2
 FreeBSD/SMP: Multiprocessor motherboard
  cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
- cpu1 (AP):  apic id:  3, version: 0x00050014, at 0xfee00000
+ cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
+ cpu2 (AP):  apic id:  2, version: 0x00050014, at 0xfee00000
+ cpu3 (AP):  apic id:  3, version: 0x00050014, at 0xfee00000
  io0 (APIC): apic id:  4, version: 0x00178020, at 0xfec00000
  io1 (APIC): apic id:  5, version: 0x00178020, at 0xfec80000
  io2 (APIC): apic id:  6, version: 0x00178020, at 0xfec80800
@@ -103,6 +105,8 @@
 APIC_IO: Testing 8254 interrupt delivery
 APIC_IO: routing 8254 via IOAPIC #0 intpin 2
 SMP: AP CPU #1 Launched!
+SMP: AP CPU #3 Launched!
+SMP: AP CPU #2 Launched!
 ad0: 38146MB <WDC WD400BB-75DEA0> [77504/16/63] at ata0-master UDMA100
 acd0: DVD-ROM <LITEON DVD-ROM LTD163> at ata1-master UDMA33
 acd1: CD-RW <HL-DT-ST GCE-8481B> at ata1-slave UDMA33

	-Richard

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




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