Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2005 20:05:24 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        jwl@io.dk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: enable smp / hyperthreading
Message-ID:  <20051107190524.GA77411@slackbox.xs4all.nl>
In-Reply-To: <20051107185226.M70218@io.dk>
References:  <20051107185226.M70218@io.dk>

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

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 07, 2005 at 07:53:20PM +0100, jwl@io.dk wrote:
> Hi
>=20
> I've just installed 6.0-RELASE and am trying to get SMP to work (I have af
> Pentium 4 with HT). So I've compiled the kernel with 'options SMP' and
> according to dmesg the two CPUs are found:
>=20
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
>=20
> But I'm not sure that both are enabled, because at this is at the end of
> dmesg and I dont see the other CPU being enabled somewhere:
>=20
> SMP: AP CPU #1 Launched!

I think it is referring to the Auxiliary Processor (AP), because the BSP
(don't know what that stands for, though) is obviously already active.
=20
> According to 'sysctl -a' there are 2 CPUs, but only 1 active and SMP
> doesnt seem to be disabled:
>=20
> kern.smp.cpus: 2
> kern.smp.disabled: 0
> kern.smp.active: 1

  sysctl -d kern.smp.active
  kern.smp.active: Number of Auxillary Processors (APs) that were
  successfully started

This is the number of _extra_ CPUs, which chould be 1.
=20
Roland
--=20
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt

--0F1p//8PRICkK4MW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDb6V0EnfvsMMhpyURAiIOAJ46++2hEBg8rESZSe04PMY2Nkaa9ACfZwHo
BsBsfqCDA96EtFw5Pky12Ok=
=bqQ+
-----END PGP SIGNATURE-----

--0F1p//8PRICkK4MW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051107190524.GA77411>