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

Addition of mimalloc V2 feature #66

Closed
wants to merge 2 commits into from

Conversation

ryancinsight
Copy link
Contributor

Based on #62 it would be interesting to allow user to select between using the v1 stable branch, v1 dev branch, and v2 dev branch as a feature with v1 stable as default.

@ryancinsight
Copy link
Contributor Author

master is not the same as v2 according to mimalloc github page:
master: latest stable release.
dev: development branch for mimalloc v1.
dev-slice: development branch for mimalloc v2 with a new algorithm for managing internal mimalloc pages.

as such the current stable release is 1.7.0:
2021-01-31, v1.7.0: stable release 1.7: support explicit user provided memory regions, more precise statistics, improve macOS overriding, initial support for Apple M1, improved DragonFly support, faster memcpy on Windows, various small fixes.

thus dev slice branch is 2.0.0:
2021-01-31, v2.0.0: beta release 2.0: new algorithm for managing internal mimalloc pages that tends to use reduce memory usage and fragmentation compared to mimalloc v1 (especially for large workloads). Should otherwise have similar performance (see below); please report if you observe any significant performance regression.

I also found dev-slice does not use region.c and instead has a segment-cache.c

BlackDex added a commit to BlackDex/mimalloc_rust that referenced this pull request Dec 12, 2021
BlackDex added a commit to BlackDex/mimalloc_rust that referenced this pull request Dec 12, 2021
BlackDex added a commit to BlackDex/mimalloc_rust that referenced this pull request Dec 13, 2021
BlackDex added a commit to BlackDex/mimalloc_rust that referenced this pull request Dec 13, 2021
BlackDex added a commit to BlackDex/mimalloc_rust that referenced this pull request Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant