Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 03:46:12 -0800
From:      Michael Smith <msmith@freebsd.org>
To:        Jordan Hubbard <jkh@winston.freebsd.org>
Cc:        hackers@freebsd.org
Subject:   Re: Interesting sysctl variables in Mac OS X with hw info 
Message-ID:  <200203141146.g2EBkCD02950@mass.dis.org>
In-Reply-To: Your message of "Wed, 13 Mar 2002 15:54:40 PST." <68214.1016063680@winston.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203141146.g2EBkCD02950>