From owner-freebsd-smp@FreeBSD.ORG Fri May 27 14:49:56 2005 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 B259416A41C for ; Fri, 27 May 2005 14:49:56 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mail26.sea5.speakeasy.net (mail26.sea5.speakeasy.net [69.17.117.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CA6E43D4C for ; Fri, 27 May 2005 14:49:56 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 31574 invoked from network); 27 May 2005 14:49:56 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender ) by mail26.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 27 May 2005 14:49:55 -0000 Received: from [10.50.40.212] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j4REnMe7012347; Fri, 27 May 2005 10:49:51 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-smp@FreeBSD.org Date: Fri, 27 May 2005 10:49:06 -0400 User-Agent: KMail/1.8 References: <637A278D8D0DBC438EA5E75C6E1818B9044107CB@magenta.hq.netapp.com> In-Reply-To: <637A278D8D0DBC438EA5E75C6E1818B9044107CB@magenta.hq.netapp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505271049.06850.jhb@FreeBSD.org> X-Spam-Status: No, score=-102.6 required=4.2 tests=ALL_TRUSTED, UPPERCASE_25_50,USER_IN_WHITELIST autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Cc: "Singh, Vijay" Subject: Re: SMP with HTT disabled 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: Fri, 27 May 2005 14:49:56 -0000 On Thursday 26 May 2005 05:04 pm, Singh, Vijay wrote: > Hello, I am trying to disable HTT to run some tests. From dmesg I have: > > CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2666.77-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > > Features=0xbfebfbff ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,S > SE2,SS,HTT,TM,PBE> > Hyperthreading: 2 logical CPUs > real memory = 1073676288 (1023 MB) > avail memory = 1041121280 (992 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > > # cat /boot/loader.conf > machdep.hlt_logical_cpus=1 > > And mptable output is below. It seems to me that the kernel does not > bring up the 2nd physical CPU. Am I right or wrong. The kernel only sees 1 physical CPU. The MPTable only shows 1 physical CPU as well: > MP Config Base Table Entries: > > -- > > Processors: APIC ID Version State Family Model Step Flags > > 0 0x14 BSP, usable 15 2 9 0xbfebfbff > > -- -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org