From nobody@FreeBSD.org  Tue Oct  3 13:32:21 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5D7E016A416
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 Oct 2006 13:32:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5768B43D6D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 Oct 2006 13:32:19 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k93DWJGc022508
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 3 Oct 2006 13:32:19 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k93DWJhh022506;
	Tue, 3 Oct 2006 13:32:19 GMT
	(envelope-from nobody)
Message-Id: <200610031332.k93DWJhh022506@www.freebsd.org>
Date: Tue, 3 Oct 2006 13:32:19 GMT
From: Helmut Schellong <var@schellong.biz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: No message "Hyperthreading: "
X-Send-Pr-Version: www-2.3

>Number:         103939
>Category:       kern
>Synopsis:       No message "Hyperthreading: "
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 03 13:40:13 GMT 2006
>Closed-Date:    Sun Oct 08 16:18:23 GMT 2006
>Last-Modified:  Sun Oct 08 16:18:23 GMT 2006
>Originator:     Helmut Schellong
>Release:        6.2-BETA2
>Organization:
>Environment:
FreeBSD bsd.lokal.biz 6.2-BETA2 FreeBSD 6.2-BETA2 #0: Mon Oct 2 03:32:44 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386
>Description:
Kernel from disc1 FBSD 6.0 shows:
 "Hyperthreading: 2 logical CPUs".

Kernel from disc1 FBSD 6.2-BETA# does not show:
 "Multiprocessor: 2 real CPUs"
 "Hyperthreading: 4 logical CPUs":

Cores per package: 2
real memory = 2147090432 (2047 MB)
avail memory = 2095976448 (1998 MB)
ACPI APIC Table: <A M I OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1


I am not sure wether this is a (little message) bug.
>How-To-Repeat:
Boot from CD again.
>Fix:
>Release-Note:
>Audit-Trail:

From: Maxim Konovalov <maxim@macomnet.ru>
To: Helmut Schellong <var@schellong.biz>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103939: No message "Hyperthreading: "
Date: Tue, 3 Oct 2006 19:29:16 +0400 (MSD)

 [...]
 > >Description:
 > Kernel from disc1 FBSD 6.0 shows:
 >  "Hyperthreading: 2 logical CPUs".
 >
 > Kernel from disc1 FBSD 6.2-BETA# does not show:
 >  "Multiprocessor: 2 real CPUs"
 >  "Hyperthreading: 4 logical CPUs":
 >
 > Cores per package: 2
 
 Yes, now it executes the following code:
 
 +                       if (cmp > 1)
 +                               printf("\n  Cores per package: %d", cmp);
 +                       if ((htt / cmp) > 1)
 +                               printf("\n  Logical CPUs per core: %d",
 +                                   htt / cmp);
 
 Though you need to set machdep.hlt_logical_cpus=1 to enable HTT
 support.
 
 -- 
 Maxim Konovalov
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Sun Oct 8 16:17:45 UTC 2006 
State-Changed-Why:  
The output has changed format.  To enable hyperthreading, please use the 
sysctl listed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103939 
>Unformatted:
