From owner-cvs-src@FreeBSD.ORG  Mon Oct 17 19:20:19 2005
Return-Path: <owner-cvs-src@FreeBSD.ORG>
X-Original-To: cvs-src@FreeBSD.org
Delivered-To: cvs-src@FreeBSD.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CDED916A422;
	Mon, 17 Oct 2005 19:20:19 +0000 (GMT) (envelope-from obrien@NUXI.com)
Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E1A9A43D5C;
	Mon, 17 Oct 2005 19:20:18 +0000 (GMT) (envelope-from obrien@NUXI.com)
Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1])
	by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j9HJKIha015093;
	Mon, 17 Oct 2005 12:20:18 -0700 (PDT)
	(envelope-from obrien@dragon.NUXI.org)
Received: (from obrien@localhost)
	by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j9HJKI3H015092;
	Mon, 17 Oct 2005 12:20:18 -0700 (PDT) (envelope-from obrien)
Date: Mon, 17 Oct 2005 12:20:18 -0700
From: "David O'Brien" <obrien@FreeBSD.org>
To: Eric Anholt <eta@lclark.edu>
Message-ID: <20051017192018.GD97488@dragon.NUXI.org>
References: <200510160858.j9G8wR9v045670@repoman.freebsd.org>
	<200510171200.49522.jkim@FreeBSD.org>
	<20051017172828.GB97278@dragon.NUXI.org>
	<200510171417.38095.jkim@FreeBSD.org>
	<20051017183139.GA97488@dragon.NUXI.org>
	<1129576130.1152.30.camel@leguin>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1129576130.1152.30.camel@leguin>
X-Operating-System: FreeBSD 7.0-CURRENT
Organization: The NUXI BSD Group
X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3  90 76 5D 69 58 D9 98 7A
X-Pgp-Rsa-Keyid: 1024/34F9F9D5
User-Agent: Mutt/1.5.9i
Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org,
	Jung-uk Kim <jkim@FreeBSD.org>
Subject: Re: cvs commit: src/sys/amd64/amd64 identcpu.c src/sys/i386/i386
	identcpu.c
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: obrien@FreeBSD.org
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Oct 2005 19:20:20 -0000

On Mon, Oct 17, 2005 at 12:08:50PM -0700, Eric Anholt wrote:
> > > On Monday 17 October 2005 01:28 pm, David O'Brien wrote:
> > > >     CPU: Dual Core AMD Opteron(tm) Processor 280 (2392.35-MHz
> > > > K8-class CPU) ..
> > > >     Physical/Logical cores: 2/2
> > > >     ..
> > > >     FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> > > >      cpu0 (BSP): APIC ID:  0
> > > >      cpu1 (AP): APIC ID:  1
> > > >      cpu2 (AP): APIC ID:  2
> > > >      cpu3 (AP): APIC ID:  3
>
> Apparently David interpeted the "Physical/Logical cores: 2/2" as two
> physical cores plus two additional logical cores.  I didn't, but I could
> see how (since this per-cpu information printed isn't actually printed
> per cpu) it could be interpreted this way on a dual-cpu system.
> 
> I think that this would be useful information to be printing in general
> (not just on really-HTT systems), since it would clarify what seeing
> "cpu[0-3]: APIC ID..." printed out actually means when you're just
> taking a look at some system and wondering how many cores it has.

I guess I just don't see why for non-Intel non-HTT systems what this
information provides that already isn't printed out.  The dmesg I posted
shows four APIC ID's.  Other than my electric company no one (people or
FreeBSD SW) should care that I have dual-core CPU's.  If this information
doesn't provide any additional information to the viewer, we shouldn't
clutter up dmesg further.  On Intel HTT systems, the output could in fact
be useful.  Not having access to a dual-core HTT Intel system right now,
I'm not qualified to say.

-- 
-- David  (obrien@FreeBSD.org)