From owner-freebsd-questions@FreeBSD.ORG Fri Sep 2 05:24:52 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 27A1216A41F for ; Fri, 2 Sep 2005 05:24:52 +0000 (GMT) (envelope-from lists@eyede.com) Received: from anubis.eyede.com (anubis.eyede.com [202.21.136.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id B952F43D46 for ; Fri, 2 Sep 2005 05:24:51 +0000 (GMT) (envelope-from lists@eyede.com) Received: from localhost (localhost.eyede.com [127.0.0.1]) by anubis.eyede.com (Postfix) with ESMTP id B583F4AC69 for ; Fri, 2 Sep 2005 17:30:52 +1200 (NZST) Received: from [172.16.99.14] (ewsn04.ntdns.eyede.com [172.16.99.14]) by anubis.eyede.com (Postfix) with ESMTP id 385CD4AC43 for ; Fri, 2 Sep 2005 17:30:49 +1200 (NZST) Message-ID: <4317E244.70304@eyede.com> Date: Fri, 02 Sep 2005 17:25:24 +1200 From: Nigel Wohlers User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050829) X-Accept-Language: en-us, en MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <4716.69.181.230.113.1125637584.squirrel@69.181.230.113> In-Reply-To: <4716.69.181.230.113.1125637584.squirrel@69.181.230.113> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Amavisd at eyede.com Subject: Re: Can't see second CPU in FreeBSD 5.4-p6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@eyede.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 05:24:52 -0000 joseph kacmarcik wrote: > hello's! > > i've recently installed freebsd 5.4 and patched up to p6. since the > install and up to this patch level, i'm not certain the second cpu > (hyperthreading, not physical cpu) is being used. i guess it could just be > top not showing it, cuz it's in my kernel and in dmesg. > > relevant kernel lines are: > options SCHED_4BSD > options SMP > device apic > > and relevant dmesg output is: > CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2795.24-MHz 686-class CPU) > Hyperthreading: 2 logical CPUs > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu0: on acpi0 > cpu1: on acpi0 > SMP: AP CPU #1 Launched! > > > when using top, i always see CPU0, and the column under 'C' is always 0. > > is there another tool i can use to see cpu scheduling or am i missing > something obvious (or obscure)? > > for the record, i've tried more than one cpu, and freebsd 5.2.1 was able > to see and use two cpu's with the same hardware. > > insight appreciated! > joe Hyperbollocks is disabled by default. See /usr/src/UPDATING entry for 20050513: Intel Hyper-Threading is now disabled by default due to a security issue, but can be re-enabled by setting the machdep.hyperthreading_allowed tunable in /boot/loader.conf.