-
Notifications
You must be signed in to change notification settings - Fork 3
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
Experiment with alternative allocators. #51
Comments
I have a branch up just for seeing with the default performance of By default, the RSS grows significantly when using Naturally, we would likely want to tune this: reduce the arena count to something lower, tweak per-thread cache sizes, adjust decay/purge timings, and so on. The big thing is that, ideally we could do this automatically rather than have to make people schlep around with environment variable tweaks. |
Looking at We would need to do something akin to setting the environment variable ( Another option is to potentially use the I think this might be doable, but would have to test it to be sure because this is definitely outside of my comfort zone as I've never had to do it before. |
jemalloc
.
I added another PR -- #71 -- for testing Between now and the prior updates on this issue, we had actually resolved an issue in For For These are all high throughput scenarios, though, which is only half of the story. It's not clear if the memory usage will be better in a low throughput experiment after having fixed the previously mentioned bug... but that's one of the things on the list to add, not only for general benchmarking of Saluki/ADP but also to gain more insight into these two alternative allocators. |
From benchmarking There do appear to be some tunables we could try to tweak (here, here) but I haven't investigated those deeply and it's not clear if those would then present issues with heavy load profiles. Similarly, the story is the same for As such, we probably should at least experiment with a little bit of tuning for More to come. |
We should experiment more with alternative allocators, such as
jemalloc
, to see if we can optimize our allocation behavior and fragmentation in a cheap (essentially free) way.The text was updated successfully, but these errors were encountered: