This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: replace ptmalloc2


On 15 October 2014 05:52, JÃrn Engel <joern@purestorage.com> wrote:
> On Wed, Oct 15, 2014 at 12:00:31AM -0400, Rich Felker wrote:
>>
>> What benchmark are you using? I'd like to run it on my malloc.
>
> Something pretty primitive that grew out of a simple memhog.  Use at
> your own risk.

I've spent a bit of time thinking about improving malloc performance
in glibc, initially with the intent to produce an allocator to replace
ptmalloc2 but that has stalled due to lack of time.

I currently have some microbenchmarks and a script to run a few open
source applications inside a docker container and measure the
performance of the commonly used allocators. I could certainly use
more and more realistic workloads to add to it:

https://git.linaro.org/toolchain/cortex-malloc.git

So far I would say that tcmalloc seems to have the best performance
but the highest space overhead.

-- 
Will Newton
Toolchain Working Group, Linaro


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]