how to remove pthread mutex dependency in jemalloc
qunying at yahoo.com
Thu Sep 13 13:10:07 PDT 2012
----- Original Message -----
> From: Justin Lebar <justin.lebar at gmail.com>
> To: zhu qun-ying <qunying at yahoo.com>
> Cc: "jemalloc-discuss at canonware.com" <jemalloc-discuss at canonware.com>
> Sent: Thursday, September 13, 2012 10:35:42 AM
> Subject: Re: how to remove pthread mutex dependency in jemalloc
>> I have a system that have no thread, and usage of the jemalloc are per
>> process only.
> I don't think jemalloc is designed for this situation. Indeed, much
> of the complexity in jemalloc is around making it fast in a threaded
> It sounds like jemalloc may be the wrong tool for you to use.
Actually, jemalloc is the best I could find for my application, the
glibc default one give me lots of holes during the long running of my
application no matter how I tweak the parameters for the memory
allocator and jemalloc fits there nicely. I am in the process of
stripping down the library but if the library itself could give some
flags to help out will be better.
More information about the jemalloc-discuss