[haiku-bugs] [Haiku] #13554: Investigate switching allocators

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Mon, 12 Jun 2017 21:27:43 -0000

#13554: Investigate switching allocators
-------------------------------+------------------------------
 Reporter:  waddlesplash       |        Owner:  nobody
     Type:  enhancement        |       Status:  new
 Priority:  high               |    Milestone:  R2
Component:  System/libroot.so  |      Version:  R1/Development
 Keywords:                     |   Blocked By:
 Blocking:                     |  Has a Patch:  0
 Platform:  All                |
-------------------------------+------------------------------
 We 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.

 Benchmarks done by the Lockless group also show that the Hoard allocator
 has a very worrying performance dropoff for larger allocations (see
 attached image).

 [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.)

--
Ticket URL: <https://dev.haiku-os.org/ticket/13554>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: