On Mon, 11 May 2009, Adam Zhang wrote:

Hi Bob,

The standard libc's malloc is thead-safe. If the applications doesn't have the memory locks across different threads, I don't think libumem may help its performance.

It seems that the performance issue stems from libumem using memory mapped allocations rather than sbrk allocations. I have not seen a performance impact from using libumem in any other part of the software. The performance hit in libjpeg is pretty severe.

Using libumem offers benefits beyond improved multithread allocation performance since it includes diagnostic facilities.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to