From owner-freebsd-questions@FreeBSD.ORG Wed Jun 21 00:40:03 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 9341C16A47C for ; Wed, 21 Jun 2006 00:40:03 +0000 (UTC) (envelope-from jhorne@dfwlp.com) Received: from zeus.int.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 044EC43D49 for ; Wed, 21 Jun 2006 00:40:02 +0000 (GMT) (envelope-from jhorne@dfwlp.com) Received: from athena.int.dfwlp.com (athena.int.dfwlp.com [192.168.125.83]) (authenticated bits=0) by zeus.int.dfwlp.com (8.13.6/8.13.6) with ESMTP id k5L0dwtf071760 for ; Tue, 20 Jun 2006 19:39:59 -0500 (CDT) (envelope-from jhorne@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Tue, 20 Jun 2006 19:39:56 -0500 User-Agent: KMail/1.9.3 References: <20060620233734.GH11625@tigger.digitaltorque.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606201939.56661.jhorne@dfwlp.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on zeus.int.dfwlp.com Subject: Re: smp kernel 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: Wed, 21 Jun 2006 00:40:03 -0000 On Tuesday 20 June 2006 19:01, Andy Reitz wrote: > On Tue, 20 Jun 2006, Michael P. Soulier wrote: > > Hello, > > > > Is SMP enabled in the GENERIC kernel? I have a hyperthreading box, and on > > Linux it shows up with two cpus. When I do a top on the box in FreeBSD I > > still see only one CPU. Also, sysctl -a | grep cpu only shows a > > dev.cpu.0. > > Hi Mike, > > If you have the kernel source code installed, you can read > /usr/src/sys//conf/GENERIC, to see what options are in the GENERIC > kernel. I'm pretty sure that most FreeBSD releases don't have the SMP > option in the generic kernel, but I haven't used them all, so I can't be > sure. :) > > HTH, > -Andy. > > _______________________________________________ all you need to do is edit your kernel configuration file and add this: options SMP and btw, top in freebsd does not seem to have the '1' toggle that linux has, so after you compile your new kernel, your just going to have to have faith in sysctl -a|grep cpu :) cheers, jonathan