Note |
---|
This page contains outdated content related to Dunfell and Morty. It is provided here for reference purposes only. |
Info |
---|
Reference only(All changes merged to rdk-next and available in all releases) |
...
Major Highlights to be taken in RDKB RPI : Removed the Unused Modules ,XML files ,scripts, systemd files ,configuration files,libraries and binaries/executables from the RDKB RPI RFS. This should be applicable for both Morty and Dunfell builds.
NOTE: Morty and Dunfell are deprecated and in kirkstone all the below design steps are already included.
Design
Below are the Overall steps to be taken for Tiny RDKB effort in RPI,
...
Deck of Cards |
---|
id | RAM Usage, CPU Utilization, Rootfs Size On Storage Disk |
---|
|
Card |
---|
|
Code Block |
---|
language | bash |
---|
theme | DJango |
---|
title | Rootfs Size On Storage Disk |
---|
| root@RaspberryPi-Gateway:/# uptime
09:23:31 up 10 min, load average: 1.04, 0.74, 0.44
root@RaspberryPi-Gateway:/#
root@RaspberryPi-Gateway:/# ### RAM USAGE ####
root@RaspberryPi-Gateway:/#
root@RaspberryPi-Gateway:/# free -m
total used free shared buff/cache available
Mem: 7573 155 7318 27 100 7253
Swap: 0 0 0
root@RaspberryPi-Gateway:/#
root@RaspberryPi-Gateway:/# ### CPU UTILIZATION ###
root@RaspberryPi-Gateway:/#
root@RaspberryPi-Gateway:/# iostat
Linux 5.15.92-v7l (RaspberryPi-Gateway) 02/26/25 _armv7l_ (4 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
4.39 0.02 16.46 0.16 0.00 78.98
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
mmcblk0 7.19 159.24 51.87 107726 35089
mmcblk0p1 0.09 1.07 0.00 726 1
mmcblk0p2 7.03 155.07 51.87 104904 35088
sr0 0.00 0.19 0.00 127 0
root@RaspberryPi-Gateway:/# ### ROOTFS SIZE ###
root@RaspberryPi-Gateway:/#
root@RaspberryPi-Gateway:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 428M 242M 160M 61% /
devtmpfs 3.6G 0 3.6G 0% /dev
tmpfs 3.7G 8.0K 3.7G 1% /dev/shm
tmpfs 1.5G 26M 1.5G 2% /run
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
tmpfs 3.7G 1.7M 3.7G 1% /tmp
tmpfs 3.7G 760K 3.7G 1% /var/volatile
/dev/mmcblk0p1 54M 32M 23M 59% /boot
/nvram/secure_path 428M 242M 160M 61% /nvram/rdkssa
root@RaspberryPi-Gateway:/# |
|
Card |
---|
|
Code Block |
---|
| root@RaspberryPi-Gateway:/# uptime
10:13:17 up 1:00, load average: 0.73, 0.75, 0.77
root@RaspberryPi-Gateway:/#
root@RaspberryPi-Gateway:/#
root@RaspberryPi-Gateway:/# ### RAM USAGE ####
root@RaspberryPi-Gateway:/# free -m
total used free shared buff/cache available
Mem: 7573 160 7303 28 109 7243
Swap: 0 0 0
root@RaspberryPi-Gateway:/#
root@RaspberryPi-Gateway:/# ### ROOTFS SIZE ###
root@RaspberryPi-Gateway:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 428M 246M 157M 62% /
devtmpfs 3.6G 0 3.6G 0% /dev
tmpfs 3.7G 8.0K 3.7G 1% /dev/shm
tmpfs 1.5G 26M 1.5G 2% /run
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
tmpfs 3.7G 1.7M 3.7G 1% /tmp
tmpfs 3.7G 1016K 3.7G 1% /var/volatile
/dev/mmcblk0p1 54M 32M 23M 59% /boot
/nvram/secure_path 428M 246M 157M 62% /nvram/rdkssa
root@RaspberryPi-Gateway:/#
root@RaspberryPi-Gateway:/# ### CPU UTILIZATION ###
root@RaspberryPi-Gateway:/# iostat
Linux 5.15.92-v7l (RaspberryPi-Gateway) 02/26/25 _armv7l_ (4 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
3.32 0.03 14.86 0.07 0.00 81.72
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
mmcblk0 2.72 30.11 34.72 109276 125979
mmcblk0p1 0.02 0.20 0.00 726 1
mmcblk0p2 2.69 29.34 34.72 106454 125978
sr0 0.00 0.03 0.00 127 0
root@RaspberryPi-Gateway:/# uptime
10:14:29 up 1:01, load average: 0.98, 0.80, 0.78
root@RaspberryPi-Gateway:/#
|
|
|
Limitation
"rbus" and "runit" Integration also part of Tiny RDKB effort but still those changes are not available in stable2 branch.
...
References
Jira
Jira |
---|
server | JIRA |
---|
serverId | 11deff04-0380-3a3d-a916-0849d4e573f7 |
---|
key | REFPLTB-916 |
---|
|
...