[
https://issues.apache.org/jira/browse/ARROW-12316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320299#comment-17320299
]
Neal Richardson edited comment on ARROW-12316 at 4/13/21, 4:32 PM:
-------------------------------------------------------------------
The idea we landed on was to make the default behavior conditional on platform.
On macOS, we should prefer mimalloc if available; elsewhere we prefer jemalloc
(though note that jemalloc is not available on Windows, so mimalloc is de facto
preferred there). This makes sense given that we had to do some special
handling of jemalloc settings on macOS, and it is reasonable to believe that
those settings have negative effects on performance.
was (Author: npr):
The idea we landed on was to make the default behavior conditional on platform.
On macOS, we should prefer mimalloc if available; elsewhere we prefer jemalloc.
This makes sense given that we had to do some special handling of jemalloc
settings on macOS, and it is reasonable to believe that those settings have
negative effects on performance.
> [C++] Switch default memory allocator from jemalloc to mimalloc
> ---------------------------------------------------------------
>
> Key: ARROW-12316
> URL: https://issues.apache.org/jira/browse/ARROW-12316
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Neal Richardson
> Priority: Major
> Fix For: 4.0.0
>
>
> Benchmarking shows that mimalloc seems to be faster on real workflows (at
> least on macOS, still collecting data on Ubuntu). We could switch the default
> memory pool cases so that mimalloc is preferred.
> cc [~jonkeane] [~apitrou]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)