From owner-freebsd-questions@FreeBSD.ORG Wed Jun 21 08:42:06 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 EEC0516A47A for ; Wed, 21 Jun 2006 08:42:06 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8428543D46 for ; Wed, 21 Jun 2006 08:42:06 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.7.193] (68.Red-80-34-55.staticIP.rima-tde.net [80.34.55.68]) by strange.daemonsecurity.com (Postfix) with ESMTP id 4C7322E029 for ; Wed, 21 Jun 2006 10:42:04 +0200 (CEST) Message-ID: <44990657.6040609@locolomo.org> Date: Wed, 21 Jun 2006 10:41:59 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060620233734.GH11625@tigger.digitaltorque.ca> In-Reply-To: <20060620233734.GH11625@tigger.digitaltorque.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 08:42:07 -0000 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. The GENERIC does not support SMP. If you look into the config files you will see two kernel configuration files: SMP and GENERIC, SMP simply changes the IDENT, sets option SMP and includes GENERIC. Simply build and install your kernel, # make KERNCONF=SMP buildkernel # make KERNCONF=SMP installkernel to get an SMP enabled GENERIC kernel. Cheers, Erik (I assume you're on v. 6.x).