Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2003 12:26:13 -0400
From:      Brian Reichert <reichert@numachi.com>
To:        Joseph Koshy <jkoshy@FreeBSD.ORG>, freebsd-hackers@freebsd.org
Subject:   Re: Determining CPU features / cache organization from userland
Message-ID:  <20031010162613.GP56167@numachi.com>
In-Reply-To: <20031010134400.GE803@saboteur.dek.spc.org>
References:  <20031010103640.6F5A216A4BF@hub.freebsd.org> <20031010134400.GE803@saboteur.dek.spc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 10, 2003 at 02:44:00PM +0100, Bruce M Simpson wrote:
> On Fri, Oct 10, 2003 at 03:36:40AM -0700, Joseph Koshy wrote:
> > I'm looking for ways that a userland program can determine the CPU
> > features available on an SMP machine -- processor model, stepping
> > numbers, supported features, cache organization etc.
> 
> "What Silby said" and have a look at the sysutils/x86info port.

Hey, cool, I'd never heard about this.

Just tried this, and got some wierdness.  Can I ask about it here,
or do I poke at the port maintainer?

> I've been thinking we should definitely make the cache organization
> info available via sysctl. I am thinking we should do this to make
> the UMA_ALIGN_CACHE definition mean something...
> 
> I will probably throw diffs Jeff's way soon for this but I'm recovering
> from a bit of a nasty cold right now.
> 
> BMS
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
> 

-- 
Brian 'you Bastard' Reichert		<reichert@numachi.com>
37 Crystal Ave. #303			Daytime number: (603) 434-6842
Derry NH 03038-1713 USA			BSD admin/developer at large	



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