From owner-freebsd-questions@FreeBSD.ORG Mon Aug 28 00:29:09 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 7BCAE16A4DA for ; Mon, 28 Aug 2006 00:29:09 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from overlord.navalradio.cl (overlord.navalradio.cl [201.236.67.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57FC943D72 for ; Mon, 28 Aug 2006 00:29:06 +0000 (GMT) (envelope-from mikhailg@webanoide.org) Received: from [192.168.0.4] (ppp108-110.static.internode.on.net [150.101.108.110]) (authenticated bits=0) by overlord.navalradio.cl (8.13.6/8.13.6) with ESMTP id k7S0Shb0009142; Sun, 27 Aug 2006 20:28:49 -0400 (CLT) (envelope-from mikhailg@webanoide.org) Message-ID: <44F238BB.8090203@webanoide.org> Date: Mon, 28 Aug 2006 10:28:43 +1000 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Noah References: <44F20B3D.4060001@enabled.com> In-Reply-To: <44F20B3D.4060001@enabled.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-100.0 required=5.0 tests=USER_IN_WHITELIST autolearn=failed version=3.1.4 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on overlord.navalradio.cl Cc: freebsd-questions@freebsd.org Subject: Re: 5.5 and SMP 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: Mon, 28 Aug 2006 00:29:09 -0000 Noah wrote: > Hi there, > > I just installed 5.5 for the first time and I am trying to make sure > that SMP is operating properly. The kernel I have loaded is rebuilt > with SMP support. okay the dmesg is showing two logical CPUs. I > actually only have one CPU as you can tell by the boot information. I > am wondering why top is always displaying '0' in the C column? on my > 4.11 machines that number is set to 0 or 1 depending on the logical CPU > that is accessed. > > --- snip ---- > > Aug 27 19:19:24 hurricane kernel: Hyperthreading: 2 logical CPUs > Aug 27 19:19:24 hurricane kernel: real memory = 2145849344 (2046 MB) > Aug 27 19:19:24 hurricane kernel: avail memory = 2094419968 (1997 MB) > Aug 27 19:19:24 hurricane kernel: FreeBSD/SMP: Multiprocessor System > Detected: 2 CP > Us > Aug 27 19:19:24 hurricane kernel: cpu0 (BSP): APIC ID: 0 > Aug 27 19:19:24 hurricane kernel: cpu1 (AP): APIC ID: 1 > > ---- snip --- Hi, You have to activate hyperthreading: http://docs.freebsd.org/cgi/mid.cgi?20060730235206.7A7B743D45 Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B