From owner-freebsd-threads@FreeBSD.ORG Wed Apr 13 23:41:57 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 4E96E16A4CE for ; Wed, 13 Apr 2005 23:41:57 +0000 (GMT) Received: from bute.st-andrews.ac.uk (bute.st-and.ac.uk [138.251.12.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D93243D53 for ; Wed, 13 Apr 2005 23:41:56 +0000 (GMT) (envelope-from s_sourceforge@nedprod.com) Received: from kate (res04-ned6.res.st-and.ac.uk [138.251.234.67]) by bute.st-andrews.ac.uk (8.9.1a/8.9.1) with SMTP id AAA09436 for ; Thu, 14 Apr 2005 00:36:56 +0100 (BST) From: "Niall Douglas" To: freebsd-threads@freebsd.org Date: Thu, 14 Apr 2005 00:41:25 +0100 MIME-Version: 1.0 Message-ID: <425DBC35.18797.F118E6C@localhost> Priority: normal In-reply-to: <425DA78E.2050701@freebsd.org> References: <425DAE1F.5558.EDA8BD7@localhost> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Content-Transfer-Encoding: 7BIT 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: Wed, 13 Apr 2005 23:41:57 -0000 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). Cheers, Niall