From owner-freebsd-smp@FreeBSD.ORG Tue Oct 10 17:59:57 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7D6016A403 for ; Tue, 10 Oct 2006 17:59:57 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp8.server.rpi.edu (smtp8.server.rpi.edu [128.113.2.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5779343D49 for ; Tue, 10 Oct 2006 17:59:57 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp8.server.rpi.edu (8.13.1/8.13.1) with ESMTP id k9AHxeXo022311; Tue, 10 Oct 2006 13:59:41 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <452AE62B.4000000@nokia.com> References: <20061009114520.1355.qmail@web8608.mail.in.yahoo.com> <452AE62B.4000000@nokia.com> Date: Tue, 10 Oct 2006 13:59:39 -0400 To: Arthur Hartwig From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Cc: freebsd-smp@freebsd.org Subject: Re: Hyperthreading Issues (on Athlon64?) X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 17:59:57 -0000 At 10:15 AM +1000 10/10/06, Arthur Hartwig wrote: >ext kumaresh pandian wrote: >>Hi all >> >> >> How do i Find if the CPU is Hyperthreading enabled or not? I have >>tried using the mtables but i'm not able to figure it out. >> >Look for the HTT bit in the CPU features displayed when FreeBSD starts >up. Here's an example from one of my systems, HTT is third from the >right hand end of the CPU features list. > >Copyright (c) 1992-2005 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. >hartwig 1 10.09.2006-151040MPTable: >Timecounter "i8254" frequency 1193182 Hz quality 0 >CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2794.59-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 > >Features=0xbfebfbff > Features2=0x4400> > Hyperthreading: 2 logical CPUs >real memory = 2147483648 (2048 MB) >avail memory = 2100936704 (2003 MB) Huh. I just got a dual-core Athlon64 machine, and the features list for it says: Features=0x178bfbff --- My dmesg does not have the line about "Hyperthreading: 2 logical CPUs", though. But I had been pretty sure the Athlon64 chips didn't have any hyperthreading support. Why is the HTT there? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu