From owner-freebsd-stable@FreeBSD.ORG Mon Mar 15 13:47:08 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 B674216A4CE for ; Mon, 15 Mar 2004 13:47:08 -0800 (PST) Received: from notes.hallinto.turkuamk.fi (notes.hallinto.turkuamk.fi [195.148.215.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79BF643D39 for ; Mon, 15 Mar 2004 13:47:08 -0800 (PST) (envelope-from yurtesen@ispro.net.tr) Received: from ispro.net.tr ([195.148.208.31]) by notes.hallinto.turkuamk.fi (Lotus Domino Release 5.0.10) with ESMTP id 2004031523483249:62742 ; Mon, 15 Mar 2004 23:48:32 +0200 Message-ID: <40562464.1000102@ispro.net.tr> Date: Mon, 15 Mar 2004 23:47:16 +0200 From: Evren Yurtesen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030808 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Marius M. Rex MARIUS" References: <20040315152550.M213@Daath.hq.communityconnect.com> In-Reply-To: <20040315152550.M213@Daath.hq.communityconnect.com> X-MIMETrack: Itemize by SMTP Server on notes.hallinto.turkuamk.fi/TAMK(Release 5.0.10 |March 22, 2002) at 15.03.2004 23:48:32,|March 22, 2002) at 15.03.2004 23:48:34, Serialize complete at 15.03.2004 23:48:34 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed 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 21:47:08 -0000 if both cpu's are enabled, you will see a C column in top command. It comes to me between STATE and TIME, Also you can see which process is using which cpu etc. PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 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"