From owner-freebsd-stable@FreeBSD.ORG Fri Jan 27 19:24:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D825616A420 for ; Fri, 27 Jan 2006 19:24:19 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61CDE43D5F for ; Fri, 27 Jan 2006 19:24:16 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.52 (FreeBSD)) id 1F2ZCY-000Ph6-K4; Fri, 27 Jan 2006 19:24:06 +0000 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.52 (FreeBSD)) id 1F2ZCY-000Dvx-Ey; Fri, 27 Jan 2006 19:24:06 +0000 To: fcash@ocis.net, freebsd-stable@freebsd.org In-Reply-To: <200601271019.59088.fcash@ocis.net> Message-Id: From: Pete French Date: Fri, 27 Jan 2006 19:24:06 +0000 Cc: Subject: Re: How do I turn off hyperthreading on 6.0 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 19:24:20 -0000 > Disable it in the BIOS. The kernel can't use what isn't advertised as > available. :) true - but surely this is a bug in FreeBSD ? man smp says: "Since using logical CPUs can cause performance penalties under certain loads, the logical CPUs can be disabled by setting the machdep.hlt_logical_cpus sysctl to one." I have: websvr04# sysctl machdep.hlt_logical_cpus machdep.hlt_logical_cpus: 1 but I am still seeing 4 CPU's as I have two physical processors, each with two logical ones onboard. I find it very hard to believe theres a bug in something this basic though, as it's specificly mentioned in the relase notes as being there to disable hyperthreading... very odd... -pete.