Skip to content

Add jemalloc and AMD Zen3 CPU optimizations to bookworm build#3

Draft
ronag wants to merge 1 commit intoplatformatic:mainfrom
nxtedition:add-jemalloc-and-znver3-optimizations
Draft

Add jemalloc and AMD Zen3 CPU optimizations to bookworm build#3
ronag wants to merge 1 commit intoplatformatic:mainfrom
nxtedition:add-jemalloc-and-znver3-optimizations

Conversation

@ronag
Copy link

@ronag ronag commented Mar 18, 2026

  • Tune Node.js compilation with -march=znver3 -mtune=znver3 -O3 for AMD Zen 3 CPUs
  • Install libjemalloc2 and preload it to reduce memory fragmentation in long-running processes; configured with container-friendly decay settings and narenas:2

DON'T MERGE. This is just an example/suggestion of further possible improvements (since we are going down the custom route).

- Tune Node.js compilation with -march=znver3 -mtune=znver3 -O3 for AMD Zen 3 CPUs
- Install libjemalloc2 and preload it to reduce memory fragmentation in long-running
  processes; configured with container-friendly decay settings and narenas:2

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant