From owner-freebsd-current@FreeBSD.ORG Mon Sep 15 20:16:32 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4AEB1065687 for ; Mon, 15 Sep 2008 20:16:32 +0000 (UTC) (envelope-from cracauer@koef.zs64.net) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0338FC1C for ; Mon, 15 Sep 2008 20:16:32 +0000 (UTC) (envelope-from cracauer@koef.zs64.net) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by koef.zs64.net (8.14.3/8.14.3) with ESMTP id m8FJoLn4069663; Mon, 15 Sep 2008 21:50:21 +0200 (CEST) (envelope-from cracauer@koef.zs64.net) Received: (from cracauer@localhost) by koef.zs64.net (8.14.3/8.14.3/Submit) id m8FJoLLa069662; Mon, 15 Sep 2008 15:50:21 -0400 (EDT) (envelope-from cracauer) Date: Mon, 15 Sep 2008 15:50:21 -0400 From: Martin Cracauer To: Stephen Montgomery-Smith Message-ID: <20080915195021.GA69528@cons.org> References: <48CDBC78.4010409@math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48CDBC78.4010409@math.missouri.edu> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Improved multiprocessor usage on amd64 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: Mon, 15 Sep 2008 20:16:33 -0000 Stephen Montgomery-Smith wrote on Sun, Sep 14, 2008 at 08:38:00PM -0500: > I have a dual core amd64 on which I run a processor intensive numerical > program. I had been frustrated because it seemed to run 3 or 4 times > faster under Linux. But with a recent upgrade of FreeBSD-CURRENT, it > now goes at about the same speed as Linux. Are the threads meant to provide additional CPU resources or help with concurrency/IO issues? Do you create a lot of new threads on the fly? What kind of worker model do you have there? Do you have about as many threads as processor or more? How malloc intensive is it? Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/