Date: Fri, 01 May 2009 22:18:08 -0500 From: Adam Vande More <amvandemore@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Running SMP kernel but only one cpu Message-ID: <49FBBB70.6090902@gmail.com> In-Reply-To: <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com> References: <5e8ad96d0905011618x50c9466fpf6758c8ba3bee2b8@mail.gmail.com> <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49FBBB70.6090902>