kern/103939: No message "Hyperthreading: "
Maxim Konovalov
maxim at macomnet.ru
Tue Oct 3 08:30:34 PDT 2006
The following reply was made to PR kern/103939; it has been noted by GNATS.
From: Maxim Konovalov <maxim at macomnet.ru>
To: Helmut Schellong <var at schellong.biz>
Cc: bug-followup at 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
More information about the freebsd-bugs
mailing list