From owner-freebsd-current@FreeBSD.ORG Thu Oct 28 22:15:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0652316A4CE for ; Thu, 28 Oct 2004 22:15:31 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC9A743D5D for ; Thu, 28 Oct 2004 22:15:30 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9SMEt7J085977; Thu, 28 Oct 2004 18:14:55 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9SMEtpr085974; Thu, 28 Oct 2004 23:14:55 +0100 (BST) (envelope-from robert@fledge.watson.org) Date: Thu, 28 Oct 2004 23:14:55 +0100 (BST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Rob In-Reply-To: <4180EA86.6030001@yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current Subject: Re: 5.3 & SMP How do I know my 2 CPUs are used? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 22:15:31 -0000 On Thu, 28 Oct 2004, Rob wrote: > I have tried to create a kernel for my dual CPU motherboard: > Intel Pentium III (801.82-MHz 686-class CPU) My person favorite way is to view the kern.smp sysctl hierarchy: My notebook: paprika:~> sysctl kern.smp kern.smp.maxcpus: 1 kern.smp.active: 0 kern.smp.disabled: 0 kern.smp.cpus: 1 An SMP box: hippy# sysctl kern.smp kern.smp.maxcpus: 16 kern.smp.active: 1 kern.smp.disabled: 0 kern.smp.cpus: 4 kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 As pointed out, there are a number of other tell-tale signs, such as the processor launch messages, additional CPUs listed in top, and so on. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research