Re: HyperThreading
--0003255765aec8de7c049c7e2fdb
Content-Type: text/plain; charset=ISO-8859-1
On Thu, Feb 17, 2011 at 12:37 PM, Joe Talbott <josepht@cstone.net> wrote:
> On Thu, Feb 17, 2011 at 12:41:55PM -0500, Saman Barghi wrote:
> > Hi,
> > I wanted to know if DragonFlyBSD supports Hyper threading or not. I did
> some
> > benchmarking recently and it seems that on a Xeon dual core with 2
> virtual
> > cpu per core, DFBSD only scale to 2 threads and after that the number of
> > transactions/second dorps (using sysbench oltp). So does that mean DFBSD
> > does not support Hyperthreading !? If that is the case, I need to perform
> > the benchmarks on a different machine without hyper threading. Please
> kindly
> > advise.
>
> HyperThreading is certainly supported. Do you have an SMP kernel
> installed? Perhaps your dmesg output would be helpful.
>
> Thanks,
> Joe
>
Isn't it enabled by default?! I thought it is. Anyway, Here is the dmseg
output. Please enlighten me and let me know how I can enable SMP as it seems
it is not enabled from the dmesg.
=============== dmesg.today ==================
Copyright (c) 2003-2010 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
DragonFly v2.8.2-RELEASE #2: Fri Oct 29 01:29:56 PDT 2010
dillon@office1.backplane.com:/usr/obj/usr/src-misc/sys/GENERIC
TSC clock: 3066101012 Hz, i8254 clock: 1193301 Hz
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3065.81-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf25 Stepping = 5
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x4400<CNXT-ID,xTPR>
Logical CPUs per core: 2
real memory = 2146497536 (2047 MB)
avail memory = 2062565376 (1967 MB)
module_register: module pci/ahci already exists!
Module pci/ahci failed to register: 17
FQ scheduler policy version 1.0 loaded
No policy for md0 specified, or policy not found
disk scheduler: set policy of md0 to noop
--0003255765aec8de7c049c7e2fdb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><br><br><div class=3D"gmail_quote">On Thu, Feb 17, 2011 at=
12:37 PM, Joe Talbott <span dir=3D"ltr"><<a href=3D"mailto:josepht@csto=
ne.net">josepht@cstone.net</a>></span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(2=
04, 204, 204); padding-left: 1ex;">
<div><div></div><div class=3D"h5">On Thu, Feb 17, 2011 at 12:41:55PM -0500,=
Saman Barghi wrote:<br>
> Hi,<br>
> I wanted to know if DragonFlyBSD supports Hyper threading or not. I di=
d some<br>
> benchmarking recently and it seems that on a Xeon dual core with 2 vir=
tual<br>
> cpu per core, DFBSD only scale to 2 threads and after that the number =
of<br>
> transactions/second dorps (using sysbench oltp). So does that mean DFB=
SD<br>
> does not support Hyperthreading !? If that is the case, I need to perf=
orm<br>
> the benchmarks on a different machine without hyper threading. Please =
kindly<br>
> advise.<br>
<br>
</div></div>HyperThreading is certainly supported. =A0Do you have an SMP ke=
rnel<br>
installed? =A0Perhaps your dmesg output would be helpful.<br>
<br>
Thanks,<br>
<font color=3D"#888888">Joe<br>
</font></blockquote></div><br>Isn't it enabled by default?! I thought i=
t is. Anyway,=A0 Here is the dmseg output. Please enlighten me and let me k=
now how I can enable SMP as it seems it is not enabled from the dmesg. <br>
<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D dmesg.today =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>Copyright (c) 2003-2010 The D=
ragonFly Project.<br>Copyright (c) 1992-2003 The FreeBSD Project.<br>Copyri=
ght (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994<br>
=A0=A0=A0=A0=A0=A0=A0 The Regents of the University of California. All righ=
ts reserved.<br>DragonFly v2.8.2-RELEASE #2: Fri Oct 29 01:29:56 PDT 2010<b=
r>=A0=A0=A0 dillon@office1.backplane.com:/usr/obj/usr/src-misc/sys/GENERIC<=
br>TSC clock: 3066101012 Hz, i8254 clock: 1193301 Hz<br>
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3065.81-MHz 686-class CPU)<br>=A0 Origi=
n =3D "GenuineIntel"=A0 Id =3D 0xf25=A0 Stepping =3D 5<br>=A0 Fea=
tures=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,=
MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE><br>
=A0 Features2=3D0x4400<CNXT-ID,xTPR><br>=A0 Logical CPUs per core: 2<=
br>real memory=A0 =3D 2146497536 (2047 MB)<br>avail memory =3D 2062565376 (=
1967 MB)<br>module_register: module pci/ahci already exists!<br>Module pci/=
ahci failed to register: 17<br>
FQ scheduler policy version 1.0 loaded<br>No policy for md0 specified, or p=
olicy not found<br>disk scheduler: set policy of md0 to noop<br><br></div>
--0003255765aec8de7c049c7e2fdb--
討論串 (同標題文章)
完整討論串 (本文為第 4 之 16 篇):