From owner-freebsd-questions@FreeBSD.ORG Sat May 2 03:18:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02F4A106564A for ; Sat, 2 May 2009 03:18:34 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from imedmobility.com (host-50.216-16-29.iw.net [216.16.29.50]) by mx1.freebsd.org (Postfix) with ESMTP id CDA2B8FC08 for ; Sat, 2 May 2009 03:18:28 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from midco.net (host-67-54-107-208.midco.net [208.107.54.67]) by imedmobility.com (Postfix) with ESMTPA id B9CE71173C3A for ; Fri, 1 May 2009 22:18:27 -0500 (CDT) Message-ID: <49FBBB70.6090902@gmail.com> Date: Fri, 01 May 2009 22:18:08 -0500 From: Adam Vande More User-Agent: Thunderbird 2.0.0.21 (X11/20090408) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <5e8ad96d0905011618x50c9466fpf6758c8ba3bee2b8@mail.gmail.com> <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com> In-Reply-To: <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Running SMP kernel but only one cpu 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: Sat, 02 May 2009 03:18:34 -0000 Duane wrote: > I have a fairly new install of 6.4, done over the 'net, on this old > Micron full tower dual PPro-180. The SMP kernel was automagically > installed: > > # uname -a > FreeBSD poobah.legomenon.org 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed > Nov 26 12:11:16 UTC 2008 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > > Performance was *rather* sluggish so I tried to ascertain if both > processors were running: > > # dmesg | grep cpu > cpu0 on motherboard > > Q1. Is there a better way to establish how many processors are running? > > Q2. Do I need to specify, say in rc.conf, that I *want* SMP to be enabled? > > > Best regards, > > top should display a C column with a number that represents which cpu the process is running on. IIRC, ACPI must be enabled for SMP to work, and ACPI didn't work on my MB until 7.0. We have different boards, but upgrading to 7.2 would probably be a good idea if possibile in your situation as both 7.0 and 7.1 saw significant performance increases in certain areas. also "sysctl -a |grep kern.smp.cpus" should return your cpu # for 7.x(not sure on 6 anymore).