Open nickkaltner opened 4 months ago
note there is a temporary workaround which is adding the line kernel=kernel8.img
to /boot/firmware/config.txt and rebooting.
you can confirm the fix has applied by
$ getconf PAGE_SIZE
4096
and then
./quickwit --version
Quickwit 0.8.0 (aarch64-unknown-linux-gnu 2024-03-18T15:20:23Z 7af4596)
dumping some observations:
JEMALLOC_SYS_WITH_LG_PAGE=16
should make things work on a 16k page system, and not break on 4k according to https://github.com/home-assistant/docker-base/pull/248. (we probably want 16 and not 14 because BCM2712 reportedly default to 64k pages). I don't know the exact tradeoff, but i guess this would cause jemalloc to allocate slightly more than required--features jemalloc
(which is implied by --features release-feature-set
) would use system allocator and not cause issue. In my experience, GNU allocator tend to bloat a lot with rust, so targetting musl instead of gnu might be a decent idea too.PAGE_SIZE=16384
should also work as jemalloc auto-detect host's configuration.A simpler alternative would be to compile without jemalloc. It is an optional feature of quickwit.
Describe the bug Running on a raspberry pi 5, there are 16KB page sizes which breaks the jemalloc configuration on quickwit
It won't run, here is the output;
confirmation of the page size;
Steps to reproduce (if applicable) Steps to reproduce the behavior:
Expected behavior
It should run as per the instructions
Configuration: Please provide:
quickwit --version
n/a because this crashes but the version i was running is 0.8.0 on aarch64-unknown-linux-gnu (7afa596)
n/a