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

build: Use jemalloc on all platforms #2517

Closed
wants to merge 2 commits into from
Closed

build: Use jemalloc on all platforms #2517

wants to merge 2 commits into from

Conversation

olix0r
Copy link
Member

@olix0r olix0r commented Nov 15, 2023

We've been using jemalloc on amd64 for a very long time. linkerd2#11430 reports that the proxy's allocation behavior has less desirable characteristics on arm64. To fix this, we adopt use of jemallocator on all platforms.

Additionally, we change our dependencies to use tikv-jemallocator. From the docs:

This project is the successor of jemallocator.

The project is also published as jemallocator for historical
reasons. The two crates are the same except names. For new projects,
it's recommended to use tikv-xxx versions instead.

We've been using jemalloc on amd64 for a very long time. linkerd2#11430
reports that the proxy's allocation behavior has less desirable
characteristics on arm64. To fix this, we adopt use of jemallocator
on all platforms.

Additionally, we change our dependencies to use tikv-jemallocator. From
the docs:

> This project is the successor of jemallocator.
>
> The project is also published as jemallocator for historical
> reasons. The two crates are the same except names. For new projects,
> it's recommended to use tikv-xxx versions instead.
@olix0r
Copy link
Member Author

olix0r commented Nov 15, 2023

There appear to be problems cross-compling jemalloc with clang. Discarding for now.

@olix0r olix0r closed this Nov 15, 2023
@olix0r olix0r deleted the ver/tikv-jemalloc branch November 15, 2023 22:13
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.

1 participant