From owner-freebsd-threads@FreeBSD.ORG Thu Apr 14 04:01:12 2005 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 046E416A4CE for ; Thu, 14 Apr 2005 04:01:12 +0000 (GMT) Received: from pimout4-ext.prodigy.net (pimout4-ext.prodigy.net [207.115.63.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6562043D2F for ; Thu, 14 Apr 2005 04:01:09 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.2.2] (adsl-68-124-205-128.dsl.snfc21.pacbell.net [68.124.205.128])j3E40w5K177282; Thu, 14 Apr 2005 00:01:08 -0400 Message-ID: <425DEAF8.7040601@elischer.org> Date: Wed, 13 Apr 2005 21:00:56 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050214 X-Accept-Language: en, hu MIME-Version: 1.0 To: Niall Douglas References: <425DAE1F.5558.EDA8BD7@localhost> <425DBC35.18797.F118E6C@localhost> In-Reply-To: <425DBC35.18797.F118E6C@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: thread aware malloc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 04:01:12 -0000 Niall Douglas wrote: > On 14 Apr 2005 at 7:13, David Xu wrote: > > >>>I've already ported ptmalloc2 to FreeBSD. The performance increase is >>>steller to put it mildly, even with FreeBSD's poor multithreading >>>performance. You're talking ten or more times faster in heavily >>>multithreaded code :) >> >>Poor multithreading performance? I don't know what library you are >>talking about. I admit that malloc/free is the main bottleneck in >>userland, a SMP-aware and CPU locality allocator is welcome. > > > KSE threads, FreeBSD v5.3. It's a mixture of process and system > threads. As I mentioned in a previous post, it's eight times slower > than Linux. See http://www.nedprod.com/Tn/ (scroll down to the > screenshots). did you compile the FreeBSD kernel with the required changes for running under vmware? Vmware REALLY SUCKS when it comes to emulating the exact instructions we use for kernel locks and mutexes. You'd get maybe an order of magnitude difference through this under some situations. I forget the exact options but they'll be in the list archives. also make sure it's a Uniprocessor kernel. > > Cheers, > Niall > > > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"