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

c-deps: support 16K pages for ARM64 #106929

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

RaduBerinde
Copy link
Member

@RaduBerinde RaduBerinde commented Jul 17, 2023

We have had two reports of users not being able to run cockroach 23.1 on linux/arm64 with 16k pages (jemalloc does not support the page size). This change attempts to fix this by compiling jemalloc with 16K page support, only in the linux/arm64 configuration.

Epic: None
Informs: #106745
Release note: None

@RaduBerinde RaduBerinde requested a review from rickystewart July 17, 2023 17:41
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@RaduBerinde RaduBerinde force-pushed the jemalloc-arm64-16kpage branch from 9efa275 to 27f8a10 Compare July 17, 2023 17:42
Copy link
Collaborator

@rickystewart rickystewart left a comment

Choose a reason for hiding this comment

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

This is fine but we need to re-build the pre-built c-deps. I'll wait until #106642 is merged to do that because we'll get conflicts otherwise. This can merge in the meantime (or you can wait until #106642 is merged, if you want to get everything in in one big commit).

Either way can you make sure to backport to 23.1?

@RaduBerinde
Copy link
Member Author

Thanks @rickystewart! Yes, I plan to backport to 23.1.

bors r+

We have had two reports of users not being able to run cockroach 23.1
on linux/arm64 with 16k pages (jemalloc does not support the page
size).  This change attempts to fix this by compiling jemalloc with
16K page support, only in the linux/arm64 configuration.

Epic: None
Informs: cockroachdb#106745
Release note: None
@RaduBerinde RaduBerinde force-pushed the jemalloc-arm64-16kpage branch from 27f8a10 to ac4e0b1 Compare July 17, 2023 19:32
@craig
Copy link
Contributor

craig bot commented Jul 17, 2023

Canceled.

@RaduBerinde RaduBerinde force-pushed the jemalloc-arm64-16kpage branch from ac4e0b1 to 5775115 Compare July 17, 2023 19:32
@RaduBerinde
Copy link
Member Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jul 17, 2023

Build succeeded:

@craig craig bot merged commit 8cf0ba4 into cockroachdb:master Jul 17, 2023
@RaduBerinde
Copy link
Member Author

blathers backport 23.1

rickystewart added a commit to rickystewart/cockroach that referenced this pull request Jul 18, 2023
Epic: none
Release note (build): On Linux/ARM64, use 16k page sizes in `jemalloc`
Part of: cockroachdb#106745
craig bot pushed a commit that referenced this pull request Jul 19, 2023
107128: c-deps: update archived c-deps to pick up #106929 r=rail,RaduBerinde a=rickystewart

Epic: none
Release note (build): On Linux/ARM64, use 16k page sizes in `jemalloc`
Part of: #106745

107178: Revert "github-pull-request-make: temporary workaround" r=healthy-pod a=knz

Epic: CRDB-18499

This reverts commit da33ea2.
Not needed any more since is merged now.

Co-authored-by: Ricky Stewart <[email protected]>
Co-authored-by: Raphael 'kena' Poss <[email protected]>
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.

3 participants