From owner-freebsd-questions@FreeBSD.ORG Fri Oct 7 13:52:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BD3316A41F for ; Fri, 7 Oct 2005 13:52:01 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 393C543D5C for ; Fri, 7 Oct 2005 13:51:54 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: by xproxy.gmail.com with SMTP id t5so456488wxc for ; Fri, 07 Oct 2005 06:51:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cB69/44K3W94MzmKUrySXpo1uZZmr2SlIT92K67UFk1f99mc3VNCYTG9+75fk+4sNxKTDEmVqWReYM5PzmgbCf0JaOqKC/L/ocQc6Z6a5m/sMUA5weZmoid6d0K+JgnXTrMowX90K12FwNRddpUo9nY8tlkiOHsNCnZJQ7wHb5s= Received: by 10.70.104.1 with SMTP id b1mr2258747wxc; Fri, 07 Oct 2005 06:51:53 -0700 (PDT) Received: by 10.70.67.15 with HTTP; Fri, 7 Oct 2005 06:51:53 -0700 (PDT) Message-ID: <54db43990510070651y453017d7xd2f55ea89e86fdce@mail.gmail.com> Date: Fri, 7 Oct 2005 09:51:53 -0400 From: Bob Johnson To: "Andrew P." In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9b6b59500510010319k479e5085o8d122b0799e006f3@mail.gmail.com> <9b6b59500510060158q48b6652evceef4906cf0e6051@mail.gmail.com> <9b6b59500510070156k56620f6dk93ac0b5a466d5ed@mail.gmail.com> Cc: bobo1009@mailtest2.eng.ufl.edu, FreeBsd List , hshh Subject: Re: Can I disable HyperThreading in OS? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Johnson List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 13:52:01 -0000 On 10/7/05, Andrew P. wrote: > On 10/7/05, hshh 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 > > 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