From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 14 13:40:24 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59B4816A403 for ; Thu, 14 Sep 2006 13:40:24 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.FreeBSD.org (Postfix) with SMTP id 714DD43D45 for ; Thu, 14 Sep 2006 13:40:23 +0000 (GMT) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 55138 invoked by uid 1001); 14 Sep 2006 13:40:28 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Thu, 14 Sep 2006 09:40:28 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17673.23499.581046.259914@bhuda.mired.org> Date: Thu, 14 Sep 2006 09:40:27 -0400 To: Danny Braniss In-Reply-To: References: X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer Cc: freebsd-hackers@freebsd.org, Kris Kennaway Subject: Re: numbers don't lie ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 13:40:24 -0000 In , Danny Braniss typed: > > In , Danny Braniss typed: > > What's the CPU configuration? The AMD is dual core - is that it? Could > > the Xeon be dual-core and hyperthreaded, so it's got that many more > > CPUs to contribute towards user time? > > > > To illustrate, I have numbers for "make -j4" for a P4 with and without > > hyperthreading enabled: > > > > machdep.hyperthreading_allowed: 1 -> 0 > > 50m55.99s real 35m28s.19 user 8m20s.02 sys > > machdep.hyperthreading_allowed: 0 -> 1 > > 38m48s.85 real 55m2s.43 user 12m27s.90 sys > > > > Note the effect of the second CPU on the user time. > > > i did the tests with hyperbluffing disabled in the bios. > now, since you asked i tried: > sysctl machdep.cpu_idle_hlt=0 > machdep.cpu_idle_hlt: 1 -> 0 > dell-2950 : make -j8 TARGET_ARCH=amd64 buildworld : 23m55.03s real 1h2m54.84s > user 16m48.79s sys > and no difference, by the way, i did this also changing the bios setting > (called logical cpus :-), but again, no difference. Um - what version of FreeBSD are you running? I don't change machdep.cpu_idle_hlt on mine; I chang machdep.hyperthreading_allowed (as indicated in the tests). Did you check to see if the system actually saw more cpus when you changed it? http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.