From owner-freebsd-hackers Wed Mar 13 16:18:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id A5F3B37B404 for ; Wed, 13 Mar 2002 16:18:19 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 8A0F6AE24F; Wed, 13 Mar 2002 16:18:19 -0800 (PST) Date: Wed, 13 Mar 2002 16:18:19 -0800 From: Alfred Perlstein To: Jordan Hubbard Cc: hackers@freebsd.org Subject: Re: Interesting sysctl variables in Mac OS X with hw info Message-ID: <20020314001819.GB74829@elvis.mu.org> References: <68214.1016063680@winston.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <68214.1016063680@winston.freebsd.org> User-Agent: Mutt/1.3.27i 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 * Jordan Hubbard [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