Date: Fri, 10 Oct 2003 14:44:00 +0100 From: Bruce M Simpson <bms@spc.org> To: Joseph Koshy <jkoshy@FreeBSD.ORG> Cc: freebsd-hackers@freebsd.org Subject: Re: Determining CPU features / cache organization from userland Message-ID: <20031010134400.GE803@saboteur.dek.spc.org> In-Reply-To: <20031010103640.6F5A216A4BF@hub.freebsd.org> References: <20031010103640.6F5A216A4BF@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. 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 =66rom a bit of a nasty cold right now. BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031010134400.GE803>