Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2004 23:14:55 +0100 (BST)
From:      Robert Watson <rwatson@freebsd.org>
To:        Rob <spamrefuse@yahoo.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: 5.3 & SMP How do I know my 2 CPUs are used?
Message-ID:  <Pine.NEB.3.96L.1041028231250.85611T-100000@fledge.watson.org>
In-Reply-To: <4180EA86.6030001@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041028231250.85611T-100000>