From owner-freebsd-hackers Wed Mar 13 16:34:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 0915137B405 for ; Wed, 13 Mar 2002 16:34:13 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id g2E0Xp614578; Wed, 13 Mar 2002 16:33:51 -0800 Date: Wed, 13 Mar 2002 16:33:51 -0800 From: Brooks Davis To: Terry Lambert Cc: Alfred Perlstein , Jordan Hubbard , hackers@FreeBSD.ORG Subject: Re: Interesting sysctl variables in Mac OS X with hw info Message-ID: <20020313163351.A6946@Odin.AC.HMC.Edu> References: <68214.1016063680@winston.freebsd.org> <20020314001819.GB74829@elvis.mu.org> <3C8FEDDC.4CDC316F@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3C8FEDDC.4CDC316F@mindspring.com>; from tlambert2@mindspring.com on Wed, Mar 13, 2002 at 04:25:00PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 13, 2002 at 04:25:00PM -0800, Terry Lambert wrote: > This was actually discussed a while back (a month or two ago). >=20 > It got really bogged down when someone pointed out that > they were running CPUs with different clock rates in their > SMP box, just to see what the net effect would be. THe > problem was, of course, which one do you report, when the > numbers don't match exactly, and/or how do you report both > (or N)? My suspicion is that everything that currently runs FreeBSD reliably would be just fine with this setup, but when I brought this up before I recalled seeing a systems with different speeds on each CPU so I mentioned it. I think many of these settings should probalby go in hw.cpu#.xxx syctls since they are cpu attributes not system ones. It seems that the various HA systems with hot swapable CPUs are likely to get into situations where the CPUs don't quite match so it would be nice if we reported things that way. If we went down the path of having per-cpu sysctls then it would also be logical to export CPU versioning info as well as CPU features. That would be port specific of course, but I'm sure we could manage to be more consistant then Linux's /proc/cpuinfo. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8j+/vXY6L6fI4GtQRAs22AKCaSWNBptaF50zVsyPiZ+brIpNv3QCggU0+ Zn7VAq3MSx3xmff+nSVQHt8= =g62K -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message