RDKB-64189: Enable ZRAM to optimize and reduce RDKB memory usage#291
RDKB-64189: Enable ZRAM to optimize and reduce RDKB memory usage#291manedurphy wants to merge 5 commits intodevelopfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Enables periodic ZRAM/memory-swap telemetry reporting and introduces default SysCfg keys to control the memory swap feature on ARM targets.
Changes:
- Add a crond entry for
/usr/ccsp/tad/memswap_stats.shgated byMemorySwapEnableandMemorySwapStatsIntervalMinutes. - Define ARM factory defaults for
MemorySwap*SysCfg keys (enable flag, disk size, telemetry interval, and tunables).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
source/scripts/init/service.d/service_crond.sh |
Adds a conditional cron schedule for memory swap telemetry based on SysCfg flags/interval. |
source/scripts/init/defaults/system_defaults_arm |
Adds default SysCfg values controlling memory swap enablement, sizing, reporting interval, and tunables. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
7fd1138 to
d06fcbb
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The following changes are part of a larger effort to enable a ZRAM SWAP partition for Broadband devices:
SysCfgkey-value pairszram_stats.shscript intest-and-diagnosticwhich runs on a cron