FR: Swap flake builds to mimalloc by default #2597
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Compliance
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
continuwuation/continuwuity#2597
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What new feature do you want to see? What problem does it solve?
Flake builds should swap to mimalloc sometime.
Right now, rocksdb isn't using jemalloc on the flake build, it's using glibc's allocator, which is slower. This is due to some issue we had with jemalloc.EDIT: This is incorrect, because the workspace enablesunprefixed_malloc_on_supported_platformsontikv-jemalloc-sys. (#2598)Seperately, we also had to do shenanigans to not break darwin builds due to jemalloc before this.
Mimalloc seems like it'd be easier to use in general.
Further reading
No response
Additional context
I think it's worth waiting until mimalloc is more "tried and true" before swapping.
I'm going to mark this as "help wanted" because it'd be valuable to get drawn out metrics from users trying out mimalloc themselves. Currently I'm the only one running it, so more perspectives will be useful.
After making #2598, this is actually less of a cleanup than I thought, as I identified the cause of the other issue. It can probably wait for Nix till it's the standard for Continuwuity in general. I'd probably close this, unless anyone prefers otherwise.
sounds good to me