From owner-cvs-all Fri Jan 24 17:33:48 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE43237B401; Fri, 24 Jan 2003 17:33:46 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA7F343EB2; Fri, 24 Jan 2003 17:33:45 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h0P1XjMW042619; Fri, 24 Jan 2003 17:33:45 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id h0P1Xi3X054795; Fri, 24 Jan 2003 17:33:45 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6/Submit) id h0P1Xiaa054794; Fri, 24 Jan 2003 17:33:44 -0800 (PST) (envelope-from marcel) Date: Fri, 24 Jan 2003 17:33:44 -0800 From: Marcel Moolenaar To: Peter Wemm Cc: John Baldwin , Nate Lawson , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Attila Nagy Subject: Re: cvs commit: src/sys/i386/i386 identcpu.c initcpu.c locore.s Message-ID: <20030125013344.GA54764@dhcp01.pn.xcllnt.net> References: <20030125012527.EE5542A89E@canning.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030125012527.EE5542A89E@canning.wemm.org> User-Agent: Mutt/1.5.3i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jan 24, 2003 at 05:25:27PM -0800, Peter Wemm wrote: > John Baldwin wrote: > > > > On 24-Jan-2003 Nate Lawson wrote: > > > On Fri, 24 Jan 2003, Attila Nagy wrote: > > >> Nate Lawson wrote: > > >> > The patch merely enables an Auxiliary Processor on equipment that > > >> > supports HTT. Thus, 4.x still has all its original SMP weaknesses that > > >> > will lead people (eventually) to 5.x including the fact that only one > > >> > process can be active in the kernel at a time. > > >> > > >> And what about performance? I mean those "Auxiliary Processors" are > > >> "weaker" than the real ones, so scheduling CPU intensive processes to them > > >> makes a weird assymmetry. In average for example with a dnetc client > > >> what's better? :) > > >> Running two processes with HT turned off, or running four of them with HT > > >> on? > > > > > > I'm not sure what you mean by "weaker". If you have code that is > > > multi-process and it runs faster on an SMP system than a single CPU > > > system, then it is likely to run faster with HTT than without. Read the > > > Intel pages to find more about HTT. > > > > Maybe. Preliminary buildworld tests on 4.x seem to suggest that HTT > > is slower than UP, but buildworld is just one application. HTT will > > probably be optional on stable. On -current we will eventually use > > ACPI to enumerate CPU's which means that we will respect BIOS settings > > with regards to whether or not HTT is enabled. > > Did you remember to set machdep.cpu_idle_hlt to 1? Failing to set this > will really suck because the logical cores will be spinning like crazy and > stealing execution resources from functional tasks on the other part of the > cpu. What about an increase in cache misses due to a degradation of locality by having a larger, less coherent/dense working set? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message