You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for an issue that matches the one I want to file, without success.
Version
2.53.2-0.2.2
Expected Behavior
Official ARM build of prompp works on Raspberry Pi 5
Actual Behavior
Running the official ARM build of prompp on a Raspberry Pi 5 crashes immediately with
<jemalloc>: Unsupported system page size
Steps To Reproduce
Take Raspberry Pi 5 with Raspbian OS (64 bit).
Install the current ARM image of prompp:
docker run -it --rm prompp/prompp:2.53.2-0.2.2
Observe the crash above.
Additional Information
The Pi 5 kernel is built with the default page size is 16 384 bytes:
$ getconf PAGE_SIZE
16384
jemalloc in this project is compiled with the default --with-lg-page=12 (4 KiB). Because the runtime page size is larger than what the allocator was built for, it aborts on initialization.
Logs
<jemalloc>: Unsupported system page size
The text was updated successfully, but these errors were encountered:
In the falcosecurity/falco project, a similar problem was fixed by adding the --with-lg-page=14 parameter: falcosecurity/falco#3476 (comment). I suppose we can do the same in here:
I have rebuilt the project with the proposed changes (--with-lg-page=14): markovvn1/prompp:2.53.2-0.2.2. It seems to work well. At least on Raspberry Pi 5, memory usage has decreased by half (from 730 MB to 360 MB), while CPU usage has slightly increased.
Hi! Huge thanks for such a detailed research and report. We've taken it into work. We'll try to get back to you with a more detailed response this week, at least in terms of page size adjustments. As for performance, it might take a bit more time.
Uh oh!
There was an error while loading. Please reload this page.
Preflight Checklist
Version
2.53.2-0.2.2
Expected Behavior
Official ARM build of prompp works on Raspberry Pi 5
Actual Behavior
Running the official ARM build of prompp on a Raspberry Pi 5 crashes immediately with
Steps To Reproduce
Additional Information
The Pi 5 kernel is built with the default page size is 16 384 bytes:
jemalloc
in this project is compiled with the default--with-lg-page=12
(4 KiB). Because the runtime page size is larger than what the allocator was built for, it aborts on initialization.Logs
The text was updated successfully, but these errors were encountered: