From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 19:06:02 2005 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 2B59516A41F for ; Mon, 7 Nov 2005 19:06:02 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC3D843DA8 for ; Mon, 7 Nov 2005 19:05:32 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr12.xs4all.nl (8.13.3/8.13.3) with ESMTP id jA7J5R76010492; Mon, 7 Nov 2005 20:05:29 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id D4238B822; Mon, 7 Nov 2005 20:05:24 +0100 (CET) Date: Mon, 7 Nov 2005 20:05:24 +0100 From: Roland Smith To: jwl@io.dk Message-ID: <20051107190524.GA77411@slackbox.xs4all.nl> Mail-Followup-To: jwl@io.dk, freebsd-questions@freebsd.org References: <20051107185226.M70218@io.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <20051107185226.M70218@io.dk> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: enable smp / hyperthreading 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: Mon, 07 Nov 2005 19:06:02 -0000 --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--