Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 16:18:19 -0800
From:      Alfred Perlstein <bright@mu.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:  <20020314001819.GB74829@elvis.mu.org>
In-Reply-To: <68214.1016063680@winston.freebsd.org>
References:  <68214.1016063680@winston.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jordan Hubbard <jkh@winston.freebsd.org> [020313 15:56] wrote:
> hw.busfrequency = 133326902
> hw.cpufrequency = 667000000
> hw.cachelinesize = 32
> hw.l1icachesize = 32768
> hw.l1dcachesize = 32768
> hw.l2settings = -2147483648
> hw.l2cachesize = 262144
> 
> 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.

Those look pretty good.  Having the cacheline size available
would also help quite a bit for avoiding false sharing for
allocation of data structures in smp.

-- 
-Alfred Perlstein [alfred@freebsd.org]

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?20020314001819.GB74829>