From owner-freebsd-questions@FreeBSD.ORG Wed Nov 8 07:49:25 2006 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 119A916A415 for ; Wed, 8 Nov 2006 07:49:25 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from auriate.fluffles.net (a83-68-3-169.adsl.cistron.nl [83.68.3.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB82643D5D for ; Wed, 8 Nov 2006 07:49:24 +0000 (GMT) (envelope-from etc@fluffles.net) Received: from destiny ([10.0.0.21]) by auriate.fluffles.net with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GhiBX-0001vP-Ex; Wed, 08 Nov 2006 08:49:23 +0100 Message-ID: <45518C11.2080408@fluffles.net> Date: Wed, 08 Nov 2006 08:49:37 +0100 From: Fluffles User-Agent: Thunderbird 1.5.0.7 (X11/20060917) MIME-Version: 1.0 To: "Mark Jayson Alvarez" Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 64-bit(EM64T) and Hyperthreading support 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: Wed, 08 Nov 2006 07:49:25 -0000 You Wrote: > I wonder if I could benefit from these features when running AMD64 > version. On i386 install, I just enabled SMP and the OS happilly > reported 2 logical cpus, however, I'm not sure how I will build a > particular application to benefit from this hyperthreading thing. Not all applications do. In fact, HyperThreading can cause lower performance in a lot of situations. Moreover it poses a (minor) security risk to your system. I also have read HyperThreading is disabled by default for that reason, but that might be old information. > There are certain knobs when configuring a particular application > that says --enable-pthreads. Does it have something to do with this > HT thing? Is it a bad idea to always "pkg_add" rather than "make > install"?? Using packages means the package is built for all CPU types and without optimizations. With ports you can use the "optimized C-flags" feature, which causes "make" to compile using all supported optimizations like SSE/SSE2, etc. > Also, I'm concerned with EM64T. Let's say I installed the AMD64 version, > those software I will be building via > ports will pick up this EM64T thing, right?? Since Intel's EM64T is a shameless copy of AMD's AMD64 technology (without any mention to "AMD64" in the docs) -- yes you should be able to run the FreeBSD AMD64 platform without any problems. > Enhanced Intel Speedstep Technology - I think this has something to do with > overclocking.. still need to check on their site. Nope, it will cause lower power drain by lowering the clock frequency and voltage when the processor is sitting idle. You'll need the cpufreq kernel loadable module installed (kldload /boot/kernel/cpufreq.ko) and run "powerd" iirc. But as far as i know Intel hasn't come to the level of Cool'N'Quiet in recent AMD processors. I'm not sure if the SpeedStep desktop processors can actually do voltage control. Good luck! - Veronica