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

Is the MALLOC_CONF environment variable correct? #85

Open
FalkWoldmann opened this issue Jan 31, 2025 · 0 comments
Open

Is the MALLOC_CONF environment variable correct? #85

FalkWoldmann opened this issue Jan 31, 2025 · 0 comments

Comments

@FalkWoldmann
Copy link

Hello,

in the book, it is stated that THP can be activated in Jemalloc with MALLOC_CONF, but in the tikv-jemallocator documentation, it is said that the environment variables need to be prefixed with _RJEM_MALLOC_CONF: https://github.com/tikv/jemallocator/tree/main/jemalloc-sys#environment-variables. On my M1 mac, only setting the malloc conf this way will cause some errors on build time when including gibberish like set -gx _RJEM_MALLOC_CONF "addadthp:always,asddametadata_thp:always".

See related issue: tikv/jemallocator#65 (comment)

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

No branches or pull requests

1 participant