From owner-freebsd-current@FreeBSD.ORG Thu Aug 25 13:49:20 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 4AE0816A41F for ; Thu, 25 Aug 2005 13:49:20 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3FD443D49 for ; Thu, 25 Aug 2005 13:49:19 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-1.free.fr (Postfix) with ESMTP id D40D8319BE6; Thu, 25 Aug 2005 15:49:18 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 5BE344080; Thu, 25 Aug 2005 15:49:42 +0200 (CEST) Date: Thu, 25 Aug 2005 15:49:42 +0200 From: Jeremie Le Hen To: josh.carroll@psualum.com Message-ID: <20050825134942.GO659@obiwan.tataz.chchile.org> References: <430D68D4.50609@drexel.edu> <430D6C0F.1070909@freebsd.org> <8cb6106e0508250035f066aa1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8cb6106e0508250035f066aa1@mail.gmail.com> User-Agent: Mutt/1.5.9i Cc: freebsd-current@freebsd.org Subject: Re: On a hyperthreaded system, top and gnome system monitor only report one processor X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 25 Aug 2005 13:49:20 -0000 > Speaking of which, is hyperthreading in 6.0 with ULE to the point > where it actually increases performance for multi-threaded processes > or parallel compilations (make -j N)? Obviously this is situation > dependent. I guess the better question is whether HT is able to > provide a performance increase in 6.0 like it purports to do? > > I've heard that it's not quite "there yet", so I'm cautious about > enabled SMP support and HT support on a P4-HT system. It is commonly accepted that HyperThreading decreases performances on FreeBSD systems. Both 4BSD and ULE consider dual-core processors as two separates processors. This is a problem because dual-core processors use the same L2 cache for their logical processors (IIRC) and therefore we cannot schedule whatever threads on them without taking care of not invalidating the cache too much. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >