Skip to content

BCF-7171: [Linux BMR ] Switch to jemalloc with disabled THP to reduce RSS usage#95

Open
Andrus Suvalau (svlv) wants to merge 2 commits into
developfrom
feature/BCF-7171-linux-bmr-switch-to-jemalloc-with-disabled-thp-to-reduce-rss-usage
Open

BCF-7171: [Linux BMR ] Switch to jemalloc with disabled THP to reduce RSS usage#95
Andrus Suvalau (svlv) wants to merge 2 commits into
developfrom
feature/BCF-7171-linux-bmr-switch-to-jemalloc-with-disabled-thp-to-reduce-rss-usage

Conversation

@svlv
Copy link
Copy Markdown

  • Switch to jemalloc with disabled THP by default
  • Fix invalid var name in Jenkinsfile

Copilot AI review requested due to automatic review settings June 1, 2026 11:28
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the COVE restore flow to run the ProcessController under jemalloc (with THP disabled via MALLOC_CONF) to reduce RSS usage during filesystem restore, and fixes a variable name in the CI upload step.

Changes:

  • Add jemalloc-related defaults (COVE_USE_JEMALLOC, COVE_JEMALLOC_PATH, COVE_MALLOC_CONF) for BACKUP=COVE.
  • Update the COVE ProcessController startup to optionally set LD_PRELOAD/MALLOC_CONF when jemalloc is enabled.
  • Fix an invalid/unused variable name in Jenkinsfile upload logic.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
usr/share/rear/restore/COVE/default/400_restore_with_cove.sh Adds optional jemalloc preload/config when starting ProcessController.
usr/share/rear/conf/default.conf Introduces default COVE jemalloc configuration (including THP disabled).
Jenkinsfile Renames the upload target variable to the correct TARGET_PACKAGE.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread usr/share/rear/restore/COVE/default/400_restore_with_cove.sh Outdated
@svlv Andrus Suvalau (svlv) force-pushed the feature/BCF-7171-linux-bmr-switch-to-jemalloc-with-disabled-thp-to-reduce-rss-usage branch from 9650c2b to 379b82a Compare June 1, 2026 12:22
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread usr/share/rear/restore/COVE/default/400_restore_with_cove.sh
@svlv Andrus Suvalau (svlv) force-pushed the feature/BCF-7171-linux-bmr-switch-to-jemalloc-with-disabled-thp-to-reduce-rss-usage branch from 379b82a to e487749 Compare June 1, 2026 14:27
Jira-Ref: BCF-7171: [Linux BMR ] Switch to jemalloc with disabled THP to
reduce RSS usage
@svlv Andrus Suvalau (svlv) force-pushed the feature/BCF-7171-linux-bmr-switch-to-jemalloc-with-disabled-thp-to-reduce-rss-usage branch from e487749 to 0f5356e Compare June 2, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants