Skip to content

Replace outdated jemalloc #4766

@matklad

Description

@matklad

We are currently using https://github.com/gnzlbg/jemallocator. We should switch to https://github.com/tikv/jemallocator.

See rust-lang/rust#83152 for context.

My TL;DR: first crate uses old jemalloc, and it doesn't set it up to use the most efficient APIs. tikv fork fixes both problems, and delivers a sizable performance increase. I've just re-checked it, and for one rust-analyzer this yields 5% decrease in the number of executed instructions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-dependenciesCategory: Pull requests that update a dependency fileC-good-first-issueCategory: issues that are self-contained and easy for newcomers to work on.NodeNode teamT-nodeTeam: issues relevant to the node experience team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions