From owner-freebsd-smp Sat Mar 8 4:18:58 2003 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 835BF37B401 for ; Sat, 8 Mar 2003 04:18:56 -0800 (PST) Received: from murmeldjur.it.su.se (murmeldjur.it.su.se [130.237.95.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60FC543F85 for ; Sat, 8 Mar 2003 04:18:55 -0800 (PST) (envelope-from rnyberg@murmeldjur.it.su.se) Received: from murmeldjur.it.su.se (localhost [127.0.0.1]) by murmeldjur.it.su.se (8.12.8/8.12.7) with ESMTP id h28CIrYs059444 for ; Sat, 8 Mar 2003 13:18:53 +0100 (CET) (envelope-from rnyberg@murmeldjur.it.su.se) Received: (from rnyberg@localhost) by murmeldjur.it.su.se (8.12.8/8.12.8/Submit) id h28CIrJl059443 for freebsd-smp@freebsd.org; Sat, 8 Mar 2003 13:18:53 +0100 (CET) Date: Sat, 8 Mar 2003 13:18:52 +0100 From: Richard Nyberg To: freebsd-smp@freebsd.org Subject: hyperthreading randomness Message-ID: <20030308121852.GA25380@murmeldjur.it.su.se> Mail-Followup-To: Richard Nyberg , freebsd-smp@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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 [77504/16/63] at ata0-master UDMA100 acd0: DVD-ROM at ata1-master UDMA33 acd1: CD-RW at ata1-slave UDMA33 -Richard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message