Changes between Initial Version and Version 1 of Ticket #13554


Ignore:
Timestamp:
Jun 19, 2018, 4:44:05 PM (6 years ago)
Author:
waddlesplash
Comment:

PulkoMandy has some (slightly old) notes in #7420. He also links to lockless' allocator benchmark page.

One of the musl libc developers has a more comprehensive analysis of the problems with jemalloc here: http://www.openwall.com/lists/musl/2018/04/23/2 -- so it looks like it's not the best choice for us.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13554

    • Property Summary Investigate switching allocatorsSwitch system allocator
  • Ticket #13554 – Description

    initial v1  
    11We presently use an old version of the Hoard allocator, which is licensed under the LGPLv2. Newer versions are GPL or commercial license only, which is obviously not acceptable.
    22
    3 Benchmarks done by the Lockless group also show that the Hoard allocator has a very worrying performance dropoff for larger allocations (see attached image).
    4 
    5 [https://github.com/jemalloc/jemalloc jemalloc] (not in that graph, but benchmarked in another graph on the same page) seems to have the best performance out of all the available options. It originated in FreeBSD (and is thus under a BSD-style license) but already works on many other platforms (e.g. the Rust language uses it for memory allocation just about everywhere, I believe.)
     3Benchmarks done by the Lockless group also show that the Hoard allocator has a very worrying performance dropoff for larger allocations, see https://locklessinc.com/benchmarks_allocator.shtml