From owner-freebsd-current@FreeBSD.ORG Wed Aug 13 05:29:27 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59E9437B401 for ; Wed, 13 Aug 2003 05:29:27 -0700 (PDT) Received: from slytherin.ds.psu.edu (slytherin.ds.psu.edu [146.186.61.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B60043F85 for ; Wed, 13 Aug 2003 05:29:26 -0700 (PDT) (envelope-from hawk@slytherin.ds.psu.edu) Received: from slytherin.ds.psu.edu (localhost [127.0.0.1]) by slytherin.ds.psu.edu (8.12.9/8.12.9) with ESMTP id h7DCYFxB007034; Wed, 13 Aug 2003 08:34:15 -0400 (EDT) (envelope-from hawk@slytherin.ds.psu.edu) Received: (from hawk@localhost) by slytherin.ds.psu.edu (8.12.9/8.12.9/Submit) id h7DCYFNe007033; Wed, 13 Aug 2003 08:34:15 -0400 (EDT) Date: Wed, 13 Aug 2003 08:34:15 -0400 From: "Dr. Richard E. Hawkins" To: "Cagle, John (ISS-Houston)" Message-ID: <20030813123415.GB6964@slytherin.ds.psu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Organization: House of Hawkins cc: current@freebsd.org cc: "Scott M. Likens" Subject: Re: Dual P4 2.4Ghz Xeon With Hyperthreading enabled... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 12:29:27 -0000 On Tue, Aug 12, 2003 at 08:33:57PM -0500, Cagle, John (ISS-Houston) wrote: > I think the valid settings are only 0 or 1, with the default being 1 > which will disable all logical CPUs. If you want to enable the extra > logical CPUS, then set it to 0 (zero). They will come online > immediately. That can't be right. I've never done anything to configure the logical cpus on mine; they just showed up unexpectedly when i switched from stable to current. Now I have: slytherin ttyp1:hawk>sysctl -a | grep cpu kern.threads.virtual_cpu: 4 kern.ccpu: 1948 kern.smp.cpus: 4 hw.ncpu: 4 machdep.cpu_idle_hlt: 1 machdep.hlt_cpus: 10 machdep.hlt_logical_cpus: 1 machdep.logical_cpus_mask: 10 It launches four logical cpus all on it's own. It did panic during shutdown yesterday; If I read the messages right as it flashed by, it was because cpu#2 got the shutdown order. hawk -- Richard E. Hawkins, Asst. Prof. of Economics /"\ ASCII ribbon campaign dochawk@psu.edu Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of X and postings. Penn State until it pays my retainer. / \