From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 18:53:23 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42C9416A41F for ; Mon, 7 Nov 2005 18:53:23 +0000 (GMT) (envelope-from jwl@io.dk) Received: from user7.cybercity.dk (user7.cybercity.dk [212.242.41.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 258BB43D49 for ; Mon, 7 Nov 2005 18:53:21 +0000 (GMT) (envelope-from jwl@io.dk) Received: from webmail.cybercity.dk (localhost [127.0.0.1]) by user7.cybercity.dk (8.12.9/8.12.9) with ESMTP id jA7IrK8I057015 for ; Mon, 7 Nov 2005 19:53:20 +0100 (CET) (envelope-from jwl@io.dk) From: jwl@io.dk To: freebsd-questions@freebsd.org Date: Mon, 7 Nov 2005 19:53:20 +0100 Message-Id: <20051107185226.M70218@io.dk> X-Mailer: Cybercity Webmail 2.21 20031110 X-OriginatingIP: 85.81.32.111 (dsl202203@vip.cybercity.dk) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: enable smp / hyperthreading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 18:53:23 -0000 Hi I've just installed 6.0-RELASE and am trying to get SMP to work (I have af Pentium 4 with HT). So I've compiled the kernel with 'options SMP' and according to dmesg the two CPUs are found: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 But I'm not sure that both are enabled, because at this is at the end of dmesg and I dont see the other CPU being enabled somewhere: SMP: AP CPU #1 Launched! According to 'sysctl -a' there are 2 CPUs, but only 1 active and SMP doesnt seem to be disabled: kern.smp.cpus: 2 kern.smp.disabled: 0 kern.smp.active: 1 So I thought that it might help to but 'kern.smp.active=2' in /boot/loader.conf, but after a reboot it is back to 1 again. What am I missing here? regards, Jeppe Larsen