From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 12:48:31 2004 Return-Path: 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 3F20616A4CE for ; Mon, 15 Mar 2004 12:48:31 -0800 (PST) Received: from therub.org (pantheon-ws-13.direct.hickorytech.net [216.114.200.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F9B443D1F for ; Mon, 15 Mar 2004 12:48:31 -0800 (PST) (envelope-from drue@therub.org) Received: from drue by therub.org with local (Exim 3.35 #1 (Debian)) id 1B2z0e-0000MW-00; Mon, 15 Mar 2004 14:48:28 -0600 Date: Mon, 15 Mar 2004 14:48:28 -0600 To: "Marius M. Rex MARIUS" Message-ID: <20040315204827.GQ30555@therub.org> References: <20040315152550.M213@Daath.hq.communityconnect.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040315152550.M213@Daath.hq.communityconnect.com> User-Agent: Mutt/1.3.28i From: Dan Rue cc: freebsd-stable@freebsd.org Subject: Re: HyperThreading CPU's X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 20:48:31 -0000 HyperThreading was enabled by default as of 4.9-release from /usr/src/UPDATING: 20031028: FreeBSD 4.9-RELEASE. 20031022: Support for HyperThread logical CPUs has now been enabled by default. As a result, the HTT kernel option no longer exists. Instead, the logical CPUs are always started so that they can handle interrupts. However, the extra logical CPUs are prevented from executing user processes by default. To enable the logical CPUs, change the value of the machdep.hlt_logical_cpus from 1 to 0. This value can also be set from the loader as a tunable of the same name. Dan On Mon, Mar 15, 2004 at 03:38:10PM -0500, Marius M. Rex MARIUS wrote: > > In my fairly recent version of the UPDATING file for 4.9-stable it states > that I have to use sysctl to modify the value of 'machdep.hlt_logical_cpus' to > '0' to get all of my logical CPU's enabled under hyperthreading. > > Is this change still necessary? sysctl spits that oid out as unknown > when I try to look at it. I do have similar oids but nothing that matches that > value precisely: > > machdep.cpu_idle_hlt: 1 > machdep.smp_cpus: 2 > machdep.hlt_cpus: 0 > > Basically I have one CPU that is recognized as 2 CPUs by the kernel. I > know that works as it appears in my dmesg. I just want to know if there > is anything else I need to do to make sure both logical CPUs are available > for use. > > > -Marius M. Rex > System Admin > Community Connect Inc. > marius@mail.communityconnect.com > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"