Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's ship libumem as our default memory allocator for Riak! #127

Closed
gburd opened this issue Mar 26, 2012 · 1 comment
Closed

Let's ship libumem as our default memory allocator for Riak! #127

gburd opened this issue Mar 26, 2012 · 1 comment

Comments

@gburd
Copy link

gburd commented Mar 26, 2012

libumem has proven itself under massive customer load on SmartOS for months now. It's support for efficient concurrent allocation on multi-core/cpu systems is excellent, it's debugging features handy, and it's stability is qed. Too bad it only runs on Solaris...

Enter "portable libumem" (https://labs.omniti.com/labs/portableumem) a project sponsored by our friends at OmniTI. A nice port of libumem to Linux, *BSD, OSX and even Windows. But wait, this version of umem doesn't have the fixes we've recently added in Joyent's SmartOS...

Enter https://github.com/gburd/libumem which is portable umem + the fixes from the latest SmartOS tree (yay!).

This is an enhancement request for us to ship Riak with libumem included as the default allocator. If we do this we'll want to set the following two environment variables in our startup bash script:

LD_PRELOAD=/path/to/libumem.so.1
UMEM_OPTIONS=allocator=best
@jaredmorrow
Copy link
Contributor

There has been no activity on this for 2 years, so I will close it. If someone wants to dig hard into this, feel free to reopen.

martincox pushed a commit that referenced this issue Jan 28, 2022
bring develop-2.2 up-to-date with develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants