From owner-freebsd-smp@FreeBSD.ORG Fri May 27 18:23:08 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 7872B16A41C; Fri, 27 May 2005 18:23:08 +0000 (GMT) (envelope-from julian@elischer.org) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FA4543D1D; Fri, 27 May 2005 18:23:05 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id F04887A425; Fri, 27 May 2005 11:23:04 -0700 (PDT) Message-ID: <42976588.8030807@elischer.org> Date: Fri, 27 May 2005 11:23:04 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050423 X-Accept-Language: en, hu MIME-Version: 1.0 To: John Baldwin References: <637A278D8D0DBC438EA5E75C6E1818B9044107CB@magenta.hq.netapp.com> <200505271049.06850.jhb@FreeBSD.org> In-Reply-To: <200505271049.06850.jhb@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-smp@freebsd.org, "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 18:23:08 -0000 John Baldwin wrote: >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: > > note that mptable shows both HTT cpus on some motherboards and only one entry per chip on others. >>MP Config Base Table Entries: >> >>-- >> >>Processors: APIC ID Version State Family Model Step Flags >> >>0 0x14 BSP, usable 15 2 9 0xbfebfbff >> >>-- >> >> > > >