-
Notifications
You must be signed in to change notification settings - Fork 12
Add custom global allocator #30
Add custom global allocator #30
Conversation
|
@Dandandan FYI |
|
Did you also try mimalloc (see |
Cargo.toml
Outdated
| datafusion-expr = { version = "^7.0.0" } | ||
| datafusion-common = { version = "^7.0.0", features = ["pyarrow"] } | ||
| uuid = { version = "0.8", features = ["v4"] } | ||
| snmalloc-rs = {version = "0.2", features = ["cache-friendly"]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the cache-friendly feature has been dropped from upstream in newer releases I believe.
|
mimalloc results below - faster on almost all queries except Q8 and Q10. This may be the better option. |
|
@Dandandan to confirm - I haven't updated PR with mimalloc yet. Did you approve for snmalloc or mimalloc? |
|
Ah I didn't catch that 😅. I think mimalloc would be a good choice to go forward with. I think it will be interesting in the future to keep experimenting with this (e.g. there is an upcoming smalloc 2 version). |
|
Ok sounds good! Will update. |
Closes #27