* [PATCH v1 proxmox-biome] d/rules: increase jemalloc page size to 64k on ARM
@ 2026-07-28 16:29 Robert Obkircher
2026-08-02 18:52 ` applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Robert Obkircher @ 2026-07-28 16:29 UTC (permalink / raw)
To: pve-devel
Increase the page size used by jemalloc so biome doesn't immediately
abort on systems where it is larger than on the host that built the
debian package.
The environment variable was taken from the github action workflow
that builds the official ARM releases. Note that the commit, which is
linked below, confusingly talks about 16k page size support, but the
logarithmic variable actually refers to 64k, which is commonly used as
well.
I tested this change by building the package with and without the
patch on a 4k kernel and running it with the corresponding 16k kernel
later. Building directly on the 16k kernel also worked without this
patch.
Link: https://github.com/biomejs/biome/commit/a54ea366357c902c19e6d62e6790d94a92acd54a
Signed-off-by: Robert Obkircher <r.obkircher@proxmox.com>
---
debian/rules | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/rules b/debian/rules
index 05ac000d..5985272d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,14 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk
#export DH_VERBOSE=1
+ifeq ($(DEB_HOST_ARCH),arm64)
+ export JEMALLOC_SYS_WITH_LG_PAGE=16 # 2^16 = 64k
+endif
+
%:
dh $@
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* applied: [PATCH v1 proxmox-biome] d/rules: increase jemalloc page size to 64k on ARM
2026-07-28 16:29 [PATCH v1 proxmox-biome] d/rules: increase jemalloc page size to 64k on ARM Robert Obkircher
@ 2026-08-02 18:52 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-08-02 18:52 UTC (permalink / raw)
To: pve-devel, Robert Obkircher
On Tue, 28 Jul 2026 18:29:05 +0200, Robert Obkircher wrote:
> Increase the page size used by jemalloc so biome doesn't immediately
> abort on systems where it is larger than on the host that built the
> debian package.
>
> The environment variable was taken from the github action workflow
> that builds the official ARM releases. Note that the commit, which is
> linked below, confusingly talks about 16k page size support, but the
> logarithmic variable actually refers to 64k, which is commonly used as
> well.
>
> [...]
Applied, thanks!
[1/1] d/rules: increase jemalloc page size to 64k on ARM
commit: 6b13ec3f6ce3036ff3bd980600087aa7a66705f4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-02 18:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-28 16:29 [PATCH v1 proxmox-biome] d/rules: increase jemalloc page size to 64k on ARM Robert Obkircher
2026-08-02 18:52 ` applied: " Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.