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

Investigate possibility of using jemalloc or mimalloc for musl target #688

Closed
ikopylov opened this issue Dec 7, 2022 · 3 comments · Fixed by #697
Closed

Investigate possibility of using jemalloc or mimalloc for musl target #688

ikopylov opened this issue Dec 7, 2022 · 3 comments · Fixed by #697
Assignees
Labels
feature New feature or request investigation

Comments

@ikopylov
Copy link
Member

ikopylov commented Dec 7, 2022

This should improve overall performance

@ikopylov ikopylov changed the title Investigate possibility of using jemalloc for musl targets Investigate possibility of using jemalloc for musl target Dec 7, 2022
@ikopylov
Copy link
Member Author

ikopylov commented Dec 7, 2022

Works with https://crates.io/crates/tikv-jemallocator
But should be used only for musl target. Also custom feature jemalloc should be declared

@ikopylov ikopylov added the feature New feature or request label Dec 7, 2022
@ikopylov
Copy link
Member Author

ikopylov commented Dec 7, 2022

We can also try https://crates.io/crates/mimalloc
It is constantly updated, so looks better than tikv-jemallocator

@ikopylov
Copy link
Member Author

ikopylov commented Dec 7, 2022

Also target_pointer_width should be limited to 64 bit for safety reasons

@ikopylov ikopylov changed the title Investigate possibility of using jemalloc for musl target Investigate possibility of using jemalloc or memalloc for musl target Dec 8, 2022
@ikopylov ikopylov changed the title Investigate possibility of using jemalloc or memalloc for musl target Investigate possibility of using jemalloc or mimalloc for musl target Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request investigation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants