Date: Thu, 26 Feb 2004 09:49:29 +0000 From: Philip Reynolds <philip.reynolds@rfc-networks.ie> To: freebsd-hackers@freebsd.org Subject: Re: Questions about CPU related sysctls Message-ID: <20040226094929.GA73840@rfc-networks.ie> In-Reply-To: <20040225214618.GA60156@crodrigues.org> References: <20040225214618.GA60156@crodrigues.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Craig Rodrigues <rodrigc@crodrigues.org> 27 lines of wisdom included: > What is the difference between these two sysctls? >=20 > kern.smp.cpus: Number of CPUs online > hw.ncpu: Number of active CPUs These two are exactly the same thing from the little SMP I have done with FreeBSD. I would use hw.ncpu, as kern.smp.cpus only appears when SMP is compiled into the kernel, IIRC. > Also, can someone give a brief description of these sysctls (sysctl -d > doesn't show anything for them). >=20 > Would it be a good idea to add some text to these syctls? >=20 > kern.ccpu: > hw.acpi.cpu.cx_history: > machdep.hlt_cpus: This has come up before, feel free to submit something!=20 --=20 Philip Reynolds | RFC Networks Ltd. philip.reynolds@rfc-networks.ie | +353 (0)1 8832063 http://people.rfc-networks.ie/~phil/ | www.rfc-networks.ie --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFAPcEpKmoTT9WktYwRAkN3AJ9mERy+sw6070iEr+r0eZGrq4vE0QCcDFjx WbrQe9vD3cSGFNJ1PprF+qE= =H7o8 -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040226094929.GA73840>