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

Explicitly set jemalloc's page size to the values Debian uses for their builds #254

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

tianon
Copy link
Contributor

@tianon tianon commented Oct 5, 2020

Also, this adds the explicit --build flag to ./configure for the bundled jemalloc, since we technically do cross-builds for 32bit architectures and this helps ./configure understand that (and do userspace detection instead of kernel detection) better.

Fixes #208

…ir builds

Also, this adds the explicit `--build` flag to `./configure` for the bundled jemalloc, since we technically do cross-builds for 32bit architectures and this helps `./configure` understand that (and do userspace detection instead of kernel detection) better.
@tianon tianon mentioned this pull request Oct 5, 2020
Copy link
Contributor

@yosifkit yosifkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can be merged once we have confirmation that this fixes those affected.

@tianon
Copy link
Contributor Author

tianon commented Oct 23, 2020

I pushed a build of this for testing to fakeorg/redis:pr-254-arm64 -- if someone with an affected system could test it and verify that this actually fixes it, that would be great (and then we can move forward here).

@tianon
Copy link
Contributor Author

tianon commented Oct 26, 2020

Confirmation in #208 (comment), thundercats are go!

@tianon tianon merged commit 87e1fab into redis:master Oct 26, 2020
@tianon tianon deleted the jemalloc branch October 26, 2020 17:05
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Oct 26, 2020
Changes:

- redis/docker-library-redis@87e1fab: Merge pull request redis/docker-library-redis#254 from infosiftr/jemalloc
- redis/docker-library-redis@ba0294e: Explicitly set jemalloc's page size to the values Debian uses for their builds
wy65701436 added a commit to wy65701436/harbor-arm that referenced this pull request Aug 31, 2021
In the arm env, redis needs to set the --with-lg-page=16 --with-lg-hugepage=21 when to build jemalloc
For details, needs to refer to: redis/docker-library-redis#254

Signed-off-by: Wang Yan <wangyan@vmware.com>
wy65701436 added a commit to wy65701436/harbor-arm that referenced this pull request Aug 31, 2021
In the arm env, redis needs to set the --with-lg-page=16 --with-lg-hugepage=21 when to build jemalloc
For details, needs to refer to: redis/docker-library-redis#254

Signed-off-by: Wang Yan <wangyan@vmware.com>
wy65701436 added a commit to wy65701436/harbor-arm that referenced this pull request Aug 31, 2021
In the arm env, redis needs to set the --with-lg-page=16 --with-lg-hugepage=21 when to build jemalloc
For details, needs to refer to: redis/docker-library-redis#254

Note:
1. The rmp build must be executed on an arm based environment.
2. The make check in the redis source is disabled as the new parameters will fail the jemalloc test, it needs more investigation.

Signed-off-by: Wang Yan <wangyan@vmware.com>
wy65701436 added a commit to wy65701436/harbor-arm that referenced this pull request Aug 31, 2021
In the arm env, redis needs to set the --with-lg-page=16 --with-lg-hugepage=21 when to build jemalloc
For details, needs to refer to: redis/docker-library-redis#254

Note:
1. The rmp build must be executed on an arm based environment.
2. The make check in the redis source is disabled as the new parameters will fail the jemalloc test, it needs more investigation.

Signed-off-by: Wang Yan <wangyan@vmware.com>
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.

arm64
2 participants