From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 10 09:26:15 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D04816A4B3 for ; Fri, 10 Oct 2003 09:26:15 -0700 (PDT) Received: from mail.numachi.com (meisai.numachi.com [198.175.254.6]) by mx1.FreeBSD.org (Postfix) with SMTP id B683543F93 for ; Fri, 10 Oct 2003 09:26:13 -0700 (PDT) (envelope-from reichert@numachi.com) Received: (qmail 79217 invoked from network); 10 Oct 2003 16:26:13 -0000 Received: from natto.numachi.com (198.175.254.216) by meisai.numachi.com with SMTP; 10 Oct 2003 16:26:13 -0000 Received: (qmail 74457 invoked by uid 1001); 10 Oct 2003 16:26:13 -0000 Date: Fri, 10 Oct 2003 12:26:13 -0400 From: Brian Reichert To: Joseph Koshy , freebsd-hackers@freebsd.org Message-ID: <20031010162613.GP56167@numachi.com> References: <20031010103640.6F5A216A4BF@hub.freebsd.org> <20031010134400.GE803@saboteur.dek.spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031010134400.GE803@saboteur.dek.spc.org> User-Agent: Mutt/1.4i Subject: Re: Determining CPU features / cache organization from userland X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2003 16:26:15 -0000 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 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/developer at large