From owner-freebsd-questions@FreeBSD.ORG Sat Dec 13 11:58:07 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 4622E16A4CE for ; Sat, 13 Dec 2003 11:58:07 -0800 (PST) Received: from mail.snowfall.se (guldivar.globalwire.se [213.136.34.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id B87E643D09 for ; Sat, 13 Dec 2003 11:58:05 -0800 (PST) (envelope-from stefan@snowfall.se) Received: from musse (musse.snowfall.se [213.136.48.101]) by mail.snowfall.se (Postfix) with ESMTP id 4A20F75D6; Sat, 13 Dec 2003 20:57:59 +0100 (CET) From: "Stefan Cars" To: "'Rob'" Date: Sat, 13 Dec 2003 20:58:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <3FD9D78E.7020106@users.sourceforge.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPAwH7LqwnU8Tq0Srqdug6vP3XX7AA8o7dA Message-Id: <20031213195759.4A20F75D6@mail.snowfall.se> cc: questions@freebsd.org Subject: RE: 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: Sat, 13 Dec 2003 19:58:07 -0000 Hi! This is strange, my system doesn't even show mchdep.hlt_logical_cpus, very weird. My system have HT /S -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Rob Sent: den 12 december 2003 15:58 To: freebsd-questions@freebsd.org Subject: Need help: HyperThreading-CPU + FreeBSD-Stable + Multi-threading 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! _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"