From owner-freebsd-hackers Thu Mar 14 3:46:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (dhcp45-21.dis.org [216.240.45.21]) by hub.freebsd.org (Postfix) with ESMTP id E618E37B416 for ; Thu, 14 Mar 2002 03:46:52 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.6) with ESMTP id g2EBkCD02950; Thu, 14 Mar 2002 03:46:12 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200203141146.g2EBkCD02950@mass.dis.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Jordan Hubbard Cc: hackers@freebsd.org Subject: Re: Interesting sysctl variables in Mac OS X with hw info In-reply-to: Your message of "Wed, 13 Mar 2002 15:54:40 PST." <68214.1016063680@winston.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 14 Mar 2002 03:46:12 -0800 From: Michael Smith 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 > hw.busfrequency = 133326902 Not typically obtainable. And which bus? > hw.cpufrequency = 667000000 Should be obtainable on Alpha and Sparc, and calculable on x86 (though it will probably have to be calculated at the time the sysctl is read, since it's variable). > hw.cachelinesize = 32 > hw.l1icachesize = 32768 > hw.l1dcachesize = 32768 > hw.l2cachesize = 262144 Most of these can be obtained, one way or another. > hw.l2settings = -2147483648 No idea what that's meant to mean. > Assuming that some or all of this information can be derived on x86 / > alpha / sparc, how useful do folks think it would be to have this > information be available from sysctl space? I personally would love > to see CPU and bus speed info. What for? You haven't caught the Megahertz bug too, have you? 8) -- To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. - Theodore Roosevelt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message