Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2005 21:00:56 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Niall Douglas <s_sourceforge@nedprod.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: thread aware malloc
Message-ID:  <425DEAF8.7040601@elischer.org>
In-Reply-To: <425DBC35.18797.F118E6C@localhost>
References:  <425DAE1F.5558.EDA8BD7@localhost> <425DBC35.18797.F118E6C@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425DEAF8.7040601>