Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 19:53:10 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Gilad Ben-Dor <Gilad.Ben-Dor@extent.com>
Cc:        "'roberto@FreeBSD.org'" <roberto@FreeBSD.org>, "'ports@FreeBSD.org'" <ports@FreeBSD.org>, phk@FreeBSD.org
Subject:   Re: A question...
Message-ID:  <3A785106.14841DB@FreeBSD.org>
References:  <13EF9D2B5BBDD4118879000629A89DFE08084F@isrmal001.il.extent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gilad Ben-Dor wrote:

> You wrote the "dlmalloc-2.6.5" (found it on FreeBSD).
> It doesn't supports multithreading.
> We have a highly multi-threaded application, that uses the standard Sun
> malloc/free.
> It seems that there is a locking mechanism (essentially...)
>
> When we run two threads full of malloc/free on a DUAL CPU computer,
>  the performence are HORRIBLE  (one thread does twice the two threads
> together...)
>
> Do you know any link to find a malloc-library that work fast with
> multi-threads ?

Maybe it's worth to look at phk's malloc?
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/stdlib/malloc.c

-Maxim



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A785106.14841DB>