Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2005 09:51:53 -0400
From:      Bob Johnson <fbsdlists@gmail.com>
To:        "Andrew P." <infofarmer@gmail.com>
Cc:        bobo1009@mailtest2.eng.ufl.edu, FreeBsd List <freebsd-questions@freebsd.org>, hshh <hunreal@gmail.com>
Subject:   Re: Can I disable HyperThreading in OS?
Message-ID:  <54db43990510070651y453017d7xd2f55ea89e86fdce@mail.gmail.com>
In-Reply-To: <cb5206420510070320t494e1823v45c1f42e1aac557b@mail.gmail.com>
References:  <9b6b59500510010319k479e5085o8d122b0799e006f3@mail.gmail.com> <cb5206420510020155m379d427if1370c9e57d185ef@mail.gmail.com> <9b6b59500510060158q48b6652evceef4906cf0e6051@mail.gmail.com> <cb5206420510060232i7543259exaa8c11a979cca1a1@mail.gmail.com> <9b6b59500510070156k56620f6dk93ac0b5a466d5ed@mail.gmail.com> <cb5206420510070320t494e1823v45c1f42e1aac557b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/7/05, Andrew P. <infofarmer@gmail.com> wrote:
> On 10/7/05, hshh <hunreal@gmail.com> wrote:
> > My /boot/loader.conf,
> >    userconfig_script_load=3D"YES"
> >    kern.ipc.nmbclusters=3D"65536"
> >
> >  I sure there are only 2 physical processors inside the box.
> >  Attached dmesg infomation.
> >  -----------------------------------------
> >  Copyright (c) 1992-2005 The FreeBSD Project.
> >  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 19=
94
> >          The Regents of the University of California. All rights
> reserved.
> >  FreeBSD 4.11-RELEASE-p12 #1: Fri Sep 30 17:05:26 CST 2005
> >      root@www.sa20.com:/usr/obj/usr/src/sys/www
> >  Timecounter "i8254"  frequency 1193182 Hz
> >  CPU: Intel(R) Xeon(TM) CPU 1.80GHz (1794.19-MHz 686-class CPU)
> >    Origin =3D "GenuineIntel"  Id =3D 0xf27  Stepping =3D 7
> >
> >
> Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> >    Hyperthreading: 2 logical CPUs
> >  real memory  =3D 2146959360 (2096640K bytes)
> >  avail memory =3D 2087632896 (2038704K bytes)
> >  Programming 24 pins in IOAPIC #0
> >  IOAPIC #0 intpin 2 -> irq 0
> >  Programming 24 pins in IOAPIC #1
> >  Programming 24 pins in IOAPIC #2
> >  FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs
> >   cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
> >   cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
> >   cpu2 (AP):  apic id:  6, version: 0x00050014, at 0xfee00000
> >   cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee00000
> >   io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec00000
> >   io1 (APIC): apic id:  3, version: 0x00178020, at 0xfec80000
> >   io2 (APIC): apic id:  4, version: 0x00178020, at 0xfec80400
> >  Preloaded elf kernel "kernel" at 0xc02e6000.
> >  ....
> >  SMP: AP CPU #1 Launched!
> >  SMP: AP CPU #3 Launched!
> >  SMP: AP CPU #2 Launched!
>
> Please, cc freebsd-questions and append your answers,
> don't prepend them.
>
> Post your kernel config as well please. I have very little
> experience with SMP systems, but someone from the
> list would probably like to look into your problem.

I read somewhere that some releases of FreeBSD by default enable HTT
for servicing interrupts but not for userland processes.  They
mentioned a sysctl for modifying this behavior.  I thought it was
described in /usr/src/UPDATING but I can't find it now.

- Bob



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54db43990510070651y453017d7xd2f55ea89e86fdce>