-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
<jemalloc>: Unsupported system page size with cockroach 23.1.5 #106745
Comments
Hello, I am Blathers. I am here to help you get the issue triaged. Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here. I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
To fix this, we need to configure jemalloc to support a larger page size ( |
@fveauvy I will try to tweak the jemalloc build settings for ARM to support larger pages. I do want to point out though that for now ARM support is best-effort and we don't recommend using it for production. We have filed internal tickets to improve the documentation to be more clear about this. |
@RaduBerinde Duly noted. As I mentioned in Thanks a lot for your input. |
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
106923: go.mod: bump Pebble to 809057a10ee4 r=RaduBerinde a=sumeerbhola 809057a1 sstable: avoid caching meta blocks 03c97cda db: do not cache compaction block reads a89c926f internal/cache: move Alloc and Free into package-level functions 9976c78b manifest: reduce test size under race 10d9e4a0 lint: disable during race tests 7bb765ec db: smoother thresholds for the delete pacer 02413ad7 cmd: enable benchmarking shared storage including the secondary cache 4606eaf6 db,sstable: bug fixes for keys with obsolete bit 9d75815f objstorage: close the shared provider including the catalog & cache 840866b8 ingest: Use Overlaps() to calculate L0 overlaps in excise 2ad4e668 vfs: Deflake TestDiskHealthChecking_File* 5afd803f db: add some logging for the cleaner 88bbab59 db: Bring back call to deleteObsoleteFiles in Close() 5c2da530 ingest: don't assume flushable ingests are locally present a9a079d4 sharedobjcat: allow addition/deletion of object in same batch 52a12cd5 internal/manifest: delete L0Sublevels_LargeImport 168079ac metamorphic: test shared storage including the secondary cache fa85ec45 db: deflake TestCompactionPickerScores ca11d1bb *: allow virtual sstables to truncate range keys/dels 678f7e48 internal/manifest: link issue to skipped test Epic: None Release note: None 106929: c-deps: support 16K pages for ARM64 r=RaduBerinde a=RaduBerinde 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 Co-authored-by: sumeerbhola <[email protected]> Co-authored-by: Radu Berinde <[email protected]>
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
@fveauvy Hopefully the next 23.1.x release works. |
Epic: none Release note (build): On Linux/ARM64, use 16k page sizes in `jemalloc` Part of: cockroachdb#106745
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]>
FYI this is fixed for me on the most recent version of CRDB. I'm also on Asahi kernel
Thanks for the help @RaduBerinde |
Thanks @pawalt! I will close this then. |
Describe the problem
I'm getting an error when running cockroachdb v23.1.5 linux-arm64. I'm using an Asahi Linux kernel (6.3.0-asahi-10-1-ARCH) running on a Mac M1 mini.
Cockroach fails with :
Note that I don't get this error using the version 22.2.11 Docker image : cockroachdb/cockroach:arm64-v22.2.11
To Reproduce
Using Asahi Linux on a Apple Silicon Mac :
docker pull cockroachdb/cockroach:23.1.5
docker volume create roach-single
docker run -it -v "roach-single:/cockroach/cockroach-data" cockroachdb/cockroach:23.1.5 start-single-node --insecure
Expected behavior
Since cockroach 22.2.11 is working fine on linux/arm64 with Linux Asahi, I think it should also run with 23.1.5.
Additional data / screenshots
Here are some related links and issues :
Additional context
We're migrating our CI/CD pipeline to use GitHub Actions Self-Hosted Runners. For some reasons, we want to use Linux and our available Mac Mini M1 in order to run testing workflows that includes CockroachDB services.
Jira issue: CRDB-29697
The text was updated successfully, but these errors were encountered: