From owner-freebsd-smp@FreeBSD.ORG Tue Oct 10 17:40:17 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 76B3A16A40F for ; Tue, 10 Oct 2006 17:40:17 +0000 (UTC) (envelope-from arthur.hartwig@nokia.com) Received: from darkstar.iprg.nokia.com (darkstar.iprg.nokia.com [205.226.5.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC94043D53 for ; Tue, 10 Oct 2006 17:40:16 +0000 (GMT) (envelope-from arthur.hartwig@nokia.com) Received: (from root@localhost) by darkstar.iprg.nokia.com (8.11.0/8.11.0-DARKSTAR) id k99NbNT13225; Mon, 9 Oct 2006 16:37:23 -0700 X-mProtect: <200610092337> Nokia Silicon Valley Messaging Protection Received: from UNKNOWN (205.226.7.134, claiming to be "[205.226.7.134]") by darkstar.iprg.nokia.com smtpdA4PvRz; Mon, 09 Oct 2006 16:37:21 PDT Message-ID: <452AE62B.4000000@nokia.com> Date: Tue, 10 Oct 2006 10:15:39 +1000 From: Arthur Hartwig User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: ext kumaresh pandian References: <20061009114520.1355.qmail@web8608.mail.in.yahoo.com> In-Reply-To: <20061009114520.1355.qmail@web8608.mail.in.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-smp@freebsd.org Subject: Re: Hyperthreading Issues 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:40:17 -0000 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) Arthur