From owner-freebsd-questions@FreeBSD.ORG Wed May 6 06:20:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 422EF106564A for ; Wed, 6 May 2009 06:20:23 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id CC8F08FC18 for ; Wed, 6 May 2009 06:20:22 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: by ewy3 with SMTP id 3so449837ewy.43 for ; Tue, 05 May 2009 23:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=HhDdi35yqNXb9MvLbS8jr609c6RN1iqj5pDd8dJ/I+A=; b=ao7HZD0IWS7P44+lI4mRAwiTJ7JjbeCMvO7HaRKVWFUIDKXQI8AamWZnDSosVWpE+g S8mC0TM/ID/u8MrfktZ5t6GBa+Xxp4WYzE2k/zosllYXJ1U8CiKctl1U/yu6kT+MCAPe 3A/keb+3KkJK8f0FB7RETG7AV4ATHvv+21awg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=aUr2FRGf0floWCFOvi3TqS98YziLLMduupnxsXubTng+1juNDwrHVjK5BwvOWVhL93 +j8bu6uDAnxAZW2qT8KM+fLAI4Vz4o+rN6DTktm19QKvcHfs9U6Y7+tbCYvVrXr5VJWC /usuWYRsfhSC4bGh1OAAkZyHv4jwTJpm9+LJs= MIME-Version: 1.0 Received: by 10.210.34.5 with SMTP id h5mr1092207ebh.95.1241590821720; Tue, 05 May 2009 23:20:21 -0700 (PDT) Date: Wed, 6 May 2009 02:20:21 -0400 Message-ID: <27ade5280905052320r55949c9v26c1c9db25a5d9ae@mail.gmail.com> From: APseudoUtopia To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: HyperThreading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 06:20:23 -0000 Hello, I'm running FreeBSD 7.2-RELEASE on a dual-core Xeon. It has a custom compiled SMP kernel, ACPI enabled, with the ULE scheduler. I've been looking into HyperThreading, and I've come to the conclusion that I should not use it. I've been told that HTT is disabled by default, however sysctl and dmesg seems to contradict that: CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2395.93-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400 Logical CPUs per core: 2 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP/HT): APIC ID: 3 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! machdep.hyperthreading_allowed: 1 hw.ncpu: 4 kern.smp.disabled: 0 kern.smp.active: 1 Am I correct to assume that the above means that HTT is enabled? There is nothing in my loader.conf, sysctl.conf, or kernel config file related to hyperthreading. Thanks.