From owner-freebsd-current@FreeBSD.ORG Thu Jan 24 13:45:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0439C16A494 for ; Thu, 24 Jan 2008 13:45:50 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B308913C46A for ; Thu, 24 Jan 2008 13:45:49 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JI2Ol-0005FN-4E for freebsd-current@freebsd.org; Thu, 24 Jan 2008 13:45:43 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jan 2008 13:45:43 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jan 2008 13:45:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Thu, 24 Jan 2008 14:45:36 +0100 Lines: 40 Message-ID: References: <479886CF.7040506@gahr.ch> <479894BA.2010403@gahr.ch> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC8D75864FCF47486FD70E502" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <479894BA.2010403@gahr.ch> X-Enigmail-Version: 0.95.0 Sender: news Cc: freebsd-hackers@freebsd.org Subject: Re: SMP in machine/params.h X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jan 2008 13:45:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC8D75864FCF47486FD70E502 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Pietro Cerutti wrote: > This is the expected result, and also the result I get from my single > CPU Pentium 3, running 6.3-RELEASE: >=20 > kern.smp.cpus: 1 > kern.smp.active: 0 > kern.smp.maxcpus: 1 >=20 > From my single CPU sparc64, running 7.0-PRERELEASE, I get: >=20 > kern.smp.cpus: 1 > kern.smp.active: 0 > kern.smp.maxcpus: 16 <-- why not 1?? maxcpus is the maximum number of CPUs supported by the kernel. I.e. if the kernel is UP, maxcpus is 1, if the kernel is SMP, maxcpus is 16. This means (though you probably won't care) that if you have a 32-CPU machine, ony 16 of them will be used by the SMP kernel. --------------enigC8D75864FCF47486FD70E502 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHmJaAldnAQVacBcgRAlBkAKCXEg8EbCCtyFUCfkNyNZak7mxPEACg6rzf u6+OMQJ5AWqXQT5KrLXDRac= =L4JJ -----END PGP SIGNATURE----- --------------enigC8D75864FCF47486FD70E502--