From owner-freebsd-questions@FreeBSD.ORG Fri Dec 12 06:58:23 2003 Return-Path: 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 9F63B16A4CE for ; Fri, 12 Dec 2003 06:58:23 -0800 (PST) Received: from sis1.snu.ac.kr (sis1.snu.ac.kr [147.46.10.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BBE443D1F for ; Fri, 12 Dec 2003 06:58:22 -0800 (PST) (envelope-from nospam@users.sourceforge.net) Received: from users.sourceforge.net ([147.46.44.183]) by sis1.snu.ac.kr (8.12.10/8.12.10) with ESMTP id hBCEu1lJ259018 for ; Fri, 12 Dec 2003 23:56:02 +0900 Message-ID: <3FD9D78E.7020106@users.sourceforge.net> Date: Fri, 12 Dec 2003 23:58:22 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031104 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Need help: HyperThreading-CPU + FreeBSD-Stable + Multi-threading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 14:58:23 -0000 Hello, Recently I've got a new PC: P4 Titan 2.6 GHz. It says in the brochure that it has "HyperThreading", which I think is somehow related to the HyperThread thing in the FreeBSD kernel, right? I know there's this message in /usr/src/UPDATING, which unfortunately does not clear up the matter for me. So let me recap what I believe to understand: For utilizing the advantages of this HyperThreading stuff for users, I need in the kernel configuration: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O Furthermore, I need to set "machdep.hlt_logical_cpus" to 0 (zero). How do I add this to "the loader" so that it is set to zero at every boot up? Should I simply add to my /boot/loader.conf a line like: machdep.hlt_logical_cpus="0" After that, I'm done with the hyperthreading? Thanks, Rob. PS: if you're in the mood, I would appreciate a few words on what this HyperThreading is about and what advantages I can expect. Thanks too!