ARROW-2855: [C++] Blog post that outlines the benefits of using jemalloc#2271
ARROW-2855: [C++] Blog post that outlines the benefits of using jemalloc#2271xhochy wants to merge 3 commits intoapache:masterfrom
Conversation
site/_posts/2018-07-01-jemalloc.md
Outdated
| allocations that span several memory pages. | ||
|
|
||
| Outside of Apache Arrow, [jemalloc powers the infrastructure of Facebook][2] | ||
| (this is also where most of its development happens). t is also used as the |
site/_posts/2018-07-01-jemalloc.md
Outdated
| For aligned allocations, the POSIX APIs only provide the | ||
| `aligned_alloc(void** ptr, size_t alignment, size_t size)` function to | ||
| allocate aligned memory. There is also | ||
| `posix_memalign( void **ptr, size_t alignment, size_t size)` to modify an |
There was a problem hiding this comment.
A white space in ( void exists accidentally.
wesm
left a comment
There was a problem hiding this comment.
Looks great, thank you for writing! I left a couple comments. Feel free to update date, merge, and publish to the Arrow website whenever you like; I can help promote on social media.
site/_posts/2018-07-01-jemalloc.md
Outdated
| @@ -0,0 +1,141 @@ | |||
| --- | |||
| layout: post | |||
| title: "Ligthning fast memory allocation in Apache Arrow with jemalloc" | |||
There was a problem hiding this comment.
Typo.
Maybe "Faster, more scalable memory allocation..."? Trying to think of there's a better way to describe the benefits than "Lightning fast"
site/_posts/2018-07-01-jemalloc.md
Outdated
| --> | ||
|
|
||
| With the release of the 0.9 version of Apache Arrow, we have switched our | ||
| default allocator from the system allocator to jemalloc on OSX and Linux. This |
There was a problem hiding this comment.
Say "default memory allocator" or if you want to be more specific "default memory allocator for array buffers" (though there are other kinds of buffers, these are the ones perhaps most of interest)
|
Very informative! +1 from me. |
|
If there are no further comments, I will publish this tomorrow |
|
+1 from me. Thanks @xhochy! |
I will update the date once this has passed review.