From owner-freebsd-threads@FreeBSD.ORG Wed Apr 13 23:14:46 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 BB31516A4CF for ; Wed, 13 Apr 2005 23:14:46 +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 B1E4343D48 for ; Wed, 13 Apr 2005 23:14:45 +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 AAA08400 for ; Thu, 14 Apr 2005 00:09:45 +0100 (BST) From: "Niall Douglas" To: freebsd-threads@freebsd.org Date: Thu, 14 Apr 2005 00:14:14 +0100 MIME-Version: 1.0 Message-ID: <425DB5D6.27535.EF8ACBB@localhost> Priority: normal In-reply-to: <425DA2B0.5060504@fer.hr> 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:14:46 -0000 On 14 Apr 2005 at 0:52, Ivan Voras wrote: > Niall Douglas 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 :) > > > > No, don't do that - with this in current and the new libthr, when > someone tries to benchmark mysql it will run so fast that time itself > will start running backwards! > > Well even with ptmalloc2, my code runs at about eight times slower than on Linux :(. FreeBSD threads implementation still has a long way to go. Cheers, Niall