Skip to content

RDKB-64189: Enable ZRAM to optimize and reduce RDKB memory usage#29

Merged
apattu200 merged 4 commits intodevelopfrom
feature/RDKB-64189
May 6, 2026
Merged

RDKB-64189: Enable ZRAM to optimize and reduce RDKB memory usage#29
apattu200 merged 4 commits intodevelopfrom
feature/RDKB-64189

Conversation

@manedurphy
Copy link
Copy Markdown
Contributor

The following changes are part of a larger effort to enable a ZRAM SWAP partition for Broadband devices. The objects to support the RFC are as follows:

  • Create a separate init-zram_broadband.sh to suit the requirements of the MEMSWAP RFC for Broadband devices

Copilot AI review requested due to automatic review settings April 19, 2026 18:59
@manedurphy manedurphy requested a review from a team as a code owner April 19, 2026 18:59
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

Adds a Broadband-specific ZRAM initialization script intended to support the MEMSWAP RFC by configuring a single zram swap device and tuning VM swap-related sysctls.

Changes:

  • Introduces init-zram_broadband.sh to gate ZRAM setup on the MEMSWAP RFC enable flag.
  • Configures zram disksize and VM tunables (swappiness, watermark scale factor, page cluster) from RFC parameters.
  • Enables swap on /dev/zram0.

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

Comment thread init-zram_broadband.sh Outdated
Comment thread init-zram_broadband.sh Outdated
Comment thread init-zram_broadband.sh
Comment thread init-zram_broadband.sh Outdated
Comment thread init-zram_broadband.sh
Comment thread init-zram_broadband.sh
Comment thread init-zram_broadband.sh
Copilot AI review requested due to automatic review settings April 21, 2026 18:53
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 1 out of 1 changed files in this pull request and generated 2 comments.


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

Comment thread init-zram_broadband.sh
Comment thread init-zram_broadband.sh
Copy link
Copy Markdown
Contributor

@apattu200 apattu200 left a comment

Choose a reason for hiding this comment

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

Looks ok to me

Copilot AI review requested due to automatic review settings April 23, 2026 17:33
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 1 out of 1 changed files in this pull request and generated 4 comments.


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

Comment thread init-zram_broadband.sh
Comment thread init-zram_broadband.sh
Comment thread init-zram_broadband.sh
Comment thread init-zram_broadband.sh
@apattu200 apattu200 merged commit e6aa13d into develop May 6, 2026
10 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants