From owner-FreeBSD-users-jp@jp.FreeBSD.org Tue Mar 13 21:55:52 2007
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id l2DCtqd65957;
	Tue, 13 Mar 2007 21:55:52 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mail.csg.is.titech.ac.jp (mail.csg.is.titech.ac.jp [131.112.40.132])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id l2DCtqw65951
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Tue, 13 Mar 2007 21:55:52 +0900 (JST)
	(envelope-from yanagisawa@csg.is.titech.ac.jp)
Received: from mail.csg.is.titech.ac.jp (mail.csg.is.titech.ac.jp [127.0.0.1])
	by mail.csg.is.titech.ac.jp (Postfix) with ESMTP id 71B68100F882
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Tue, 13 Mar 2007 21:55:47 +0900 (JST)
Received: from frodo.csg.is.titech.ac.jp (frodo.csg.is.titech.ac.jp [131.112.40.165])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.csg.is.titech.ac.jp (Postfix) with ESMTP id 528F2100F87E
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Tue, 13 Mar 2007 21:55:47 +0900 (JST)
From: Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
Message-Id: <20070313215543.1cdd89c3.yanagisawa@csg.is.titech.ac.jp>
In-Reply-To: <xol4pop6fiv.wl%seike@aikidokai.net>
References: <20070313010747.9329c341.hirosi2mj@jcom.home.ne.jp>
	<45F5A202.4060003@csg.is.titech.ac.jp>
	<xol4pop6fiv.wl%seike@aikidokai.net>
Organization: Tokyo Institute of Technology.
X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.2)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Tue, 13 Mar 2007 21:55:43 +0900
X-Sequence: FreeBSD-users-jp 90445
Subject: [FreeBSD-users-jp 90445] Re: amd64x2
 =?ISO-2022-JP?B?GyRCJE5GMDpuJEskRCQkJEYbKEI=?= 
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: yanagisawa@csg.is.titech.ac.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209


$BLx_7$G$9!#(B

On Tue, 13 Mar 2007 11:31:04 +0900
seike-ml@aikidokai.net wrote:

> $BB?J,(Bhyperthreading$B$,M-8z(B(6.0-RELEASE$B$G$O%G%U%)%k%HL58z$G$7$?(B)$B$K$J$C$F(B
> $B$$$J$$$N$,LdBj$G$OL5$$$G$7$g$&$+!)(B

Athlon64 X2$B$K$O$=$N1F6A$OL5$$$H;W$$$^$9!#(B
HyperThreading$B$,L58z$K$J$C$F$$$k$N$O!"(BHyperThreading$B$rM-8z$K$9$k$H(B
$B0E9f2=$r9T$C$F$$$k$H$-$KHkL)80$,O31L$9$k@H<e@-$,$"$k$+$i$G$9!#(B(*1)
$B$7$+$7$J$,$i!"(BAthlon64 X2$B$G$O3F!9$N%3%"$4$H$K%-%c%C%7%e$,$"$k(B(*2)$B$N$G(B
$B$3$N@H<e@-$O$"$j$^$;$s!#(B

> sysctl -w machdep.hyperthreading_allowed=1
>  
> $B$r$*;n$72<$5$$!#(B

$B<B:]!"(Bmachdep.hyperthreading_allowed$B$H$$$&(Bsysctl$B$O(B
Athlon64 X2$B$G$O=P$F$-$^$;$s!#$b$&>/$7D4$Y$F$_$^$7$?$,!"(B
sys/amd64/amd64/mp_machdep.c$B$N<!$N9T$,(B
$BK~$?$5$l$J$$$H$3$N%*%W%7%g%s$O=P8=$7$J$$$h$&$G$9!#(B
   364          if ((cpu_feature & CPUID_HTT) &&
   365              (strcmp(cpu_vendor, "GenuineIntel") == 0)) {
$B$3$3$NCf$G(Bhyperthreading_cpus$B$,@_Dj$5$l!"$3$l$,$"$k$H!"(B
hyperthreading_cpus_mask$B$,@_Dj$5$l!"$3$l$,@_Dj$5$l$F$$$k$H(B
$BF1%U%!%$%k$N(B1197-1206$B9TL\$,<B9T$5$l$F(Bsysctl$B$G@_Dj$G$-$k$h$&$K(B
$B$J$k$h$&$G$9!#(B

$B2?8N(BIntel$B$@$1(Bmachdep.hyperthreading$B%*%W%7%g%s$,$"$k$N$+$H(B
$B99$K5?Ld$K;W$C$?$N$GD4$Y$F$_$^$7$?$,!"(BIntel Core Duo$B$G$O2<$K(B
Smart Cache$B$J$k$b$N$,$"$j!"%-%c%C%7%e$r6&MQ$7$^$9!#(B(*3)
$B$h$C$F!"(B(*1)$B$G;XE&$5$l$F$$$?@H<e@-$,$"$k2DG=@-$O$"$j$=$&$G$9!#(B
($B$=$l$H$b!"(BSmart$B$J$@$1$K2sHr:v$,$H$i$l$F$k$N$+$J(B...)

(*1)
http://www.daemonology.net/hyperthreading-considered-harmful/
http://journal.mycom.co.jp/articles/2005/05/17/ht/002.html

(*2)
http://www.amd.com/jp-ja/Processors/ProductInformation/0,,30_118_9485_13041%5E13043,00.html

(*3)
http://www.intel.co.jp/products/processor/coreduo/product-brief.pdf

-- 
-------------------------------------------------------
Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp>
Dept. of Mathematical and Computing Sciences,
Graduate School of Information Science and Engineering,
Tokyo Institute of Technology.
/* If you are an *BSD user, let's join http://bsdstats.org/ */
