Skip to content

build: Add kernel statistics to PR description#108

Closed
robin-reckmann wants to merge 5 commits into
masterfrom
kernel-stats2
Closed

build: Add kernel statistics to PR description#108
robin-reckmann wants to merge 5 commits into
masterfrom
kernel-stats2

Conversation

@robin-reckmann

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

github-actions Bot commented Apr 14, 2026

Copy link
Copy Markdown

vamOS System Profile

Changes vs master

Metric Change
Used space 3486.8MB → 3488.4MB (+1.5MB)
Sparse image 3441.2MB → 3442.4MB (+1.2MB)
Package count 524 → 524

Added packages: SPIRV-LLVM-Translator21-21.1.6_1, cmake-4.2.2_2, fuse3-3.18.2_1, jsoncpp-1.9.6_1, libarchive-3.8.7_1, libarchive-devel-3.8.7_1, libcap-2.78_1, libcap-progs-2.78_1, libcrypto3-3.6.2_1, libgcrypt-1.12.2_1, libharfbuzz-14.1.0_1, libpng-1.6.58_1, libpng-devel-1.6.58_1, libssl3-3.6.2_1, ngtcp2-1.22.1_1, ngtcp2-devel-1.22.1_1, nss-3.123_1, openssl-3.6.2_1, openssl-devel-3.6.2_1, perl-Authen-SASL-2.2000_1, sqlite-3.53.0_1, sqlite-devel-3.53.0_1, xbps-triggers-0.130_1

Removed packages: SPIRV-LLVM-Translator21-21.1.5_1, cmake-4.2.2_1, fuse3-3.18.1_1, jsoncpp-1.9.5_1, libarchive-3.8.6_1, libarchive-devel-3.8.6_1, libcap-2.77_1, libcap-progs-2.77_1, libcrypto3-3.5.5_1, libgcrypt-1.12.1_1, libharfbuzz-12.3.2_1, libpng-1.6.57_1, libpng-devel-1.6.57_1, libssl3-3.5.5_1, ngtcp2-1.22.0_1, ngtcp2-devel-1.22.0_1, nss-3.121_2, openssl-3.5.5_1, openssl-devel-3.5.5_1, perl-Authen-SASL-2.1900_2, sqlite-3.51.2_1, sqlite-devel-3.51.2_1, xbps-triggers-0.129_1

Directory size changes (>1MB)
Directory Change

Metric Value
Used space 3488.4MB / 5959.5MB
Files 56356
Directories 4763
Symlinks 3605
Packages 524

Top 10 Directories

Directory Size

Category Breakdown

Category Size %
xbps packages 2491.7MB 71.4%
Python venv 655.3MB 18.7%
Firmware 11.5MB .3%
Other 329.8MB 9.4%

Top 10 Packages by Size

Package Size
mit-krb5-libs-1.21.3_1 270.4MB
gawk-5.3.2_1 210.3MB
llvm-21_3 148.6MB
libldns-1.9.0_1 124.3MB
pd-mapper-1.0_1 73.9MB
libclang21-21.1.7_1 70.2MB
glib-2.88.0_1 67.4MB
gcc-14.2.1+20250405_4 65.4MB
libcap-progs-2.78_1 56MB
cmake-4.2.2_2 53.2MB

Top 30 Files by Size

File Size
/usr/lib/llvm/21/lib/libLLVM.so.21.1 124.3MB
/usr/lib/llvm/21/lib/libMLIR.so.21.1 89.7MB
/usr/lib/llvm/21/bin/mlir-transform-opt 82.9MB
/usr/lib/llvm/21/lib/libclang-cpp.so.21.1 56MB
/usr/lib/llvm/21/bin/mlir-translate 53.2MB
/usr/lib/llvm/21/bin/llvm-exegesis 52MB
/usr/lib/llvm/21/bin/llvm-bolt-binary-analysis 50.6MB
/usr/local/venv/lib/python3.12/site-packages/ffmpeg/install/lib/libavcodec.a 50.5MB
/usr/bin/uv 49.1MB
/usr/lib/gcc/aarch64-linux-gnu/14.2/gnat1 40.1MB
/usr/bin/gdb 38.1MB
/usr/lib/gcc/aarch64-linux-gnu/14.2/cc1plus 37.3MB
/usr/lib/libgallium-25.3.3.so 35.4MB
/usr/lib/libllvm-qcom.so 35.2MB
/usr/lib/gcc/aarch64-linux-gnu/14.2/cc1 35.2MB
/usr/lib/gcc/aarch64-linux-gnu/14.2/lto1 33.9MB
/usr/bin/lto-dump 33.9MB
/usr/lib/libRusticlOpenCL.so.1.0.0 32.5MB
/usr/local/venv/bin/ruff 31.8MB
/usr/share/icu/78.2/icudt78l.dat 31.5MB
/usr/lib/llvm/21/lib/libclang.so.21.1.7 30.2MB
/usr/lib/llvm/21/bin/c-index-test 28.6MB
/usr/local/venv/lib/python3.12/site-packages/gcc_arm_none_eabi/toolchain/libexec/gcc/arm-none-eabi/13.2.1/cc1 28.2MB
/usr/lib/libz3.so 27.9MB
/usr/bin/run 26.6MB
/usr/local/venv/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-71e1b124.so 23.6MB
/usr/comma/updater 23.5MB
/usr/comma/setup 23.5MB
/usr/comma/reset 23.5MB
/usr/local/uv/python/cpython-3.12.13-linux-aarch64-gnu/bin/python3.12 22.1MB

@robin-reckmann robin-reckmann marked this pull request as draft April 14, 2026 15:28
@robin-reckmann

Copy link
Copy Markdown
Collaborator Author

Example:

Size Changes

Metric Change
Image +128 KiB (+0.3%)
Image.gz +30.3 KiB (+0.2%)
vmlinux +255 KiB (+0.1%)
boot.img +28 KiB (+0.2%)
.text +44 KiB (+0.2%)
.rodata +12 KiB (+0.1%)
.data +1.3 KiB (+0.0%)
.bss +64 B (+0.0%)

Largest Object Deltas

Item Change
fs/erofs/zdata.o +182.5 KiB
fs/erofs/super.o +79.3 KiB
fs/erofs/zutil.o +59 KiB
fs/erofs/fileio.o +56.1 KiB
fs/erofs/data.o +53.8 KiB
fs/erofs/xattr.o +48.8 KiB
fs/erofs/inode.o +48.5 KiB
fs/erofs/zmap.o +47.4 KiB
fs/erofs/decompressor.o +43.1 KiB
fs/erofs/sysfs.o +29.5 KiB

Largest Subtree Deltas

Item Change
fs +693 KiB

Config Changes (6 total)

Option Before After
CONFIG_EROFS_FS n y
CONFIG_EROFS_FS_BACKED_BY_FILE n y
CONFIG_EROFS_FS_POSIX_ACL n y
CONFIG_EROFS_FS_SECURITY n y
CONFIG_EROFS_FS_XATTR n y
CONFIG_EROFS_FS_ZIP n y

@robin-reckmann

Copy link
Copy Markdown
Collaborator Author

Example (no changes):

Size Changes

Metric Change
Image 0 B (0.0%)
Image.gz 0 B (0.0%)
vmlinux 0 B (0.0%)
boot.img 0 B (0.0%)
.text 0 B (0.0%)
.rodata 0 B (0.0%)
.data 0 B (0.0%)
.bss 0 B (0.0%)

Largest Object Deltas

No object changes.

Largest Subtree Deltas

No subtree changes.

Config Changes

No config changes.

@robin-reckmann robin-reckmann marked this pull request as ready for review April 22, 2026 14:31
@adeebshihadeh

Copy link
Copy Markdown
Contributor

Is this worth +500 new lines? What will we change given this information?

@robin-reckmann

Copy link
Copy Markdown
Collaborator Author

Is this worth +500 new lines? What will we change given this information?

It's not strictly necessary, but gives a good overview how the kernel size changes and which configs are changing in the PR.

@adeebshihadeh

Copy link
Copy Markdown
Contributor

Does the kernel size change much though? In my experience, I've never worried its size is growing or changing much, which is very different than my experience working on the userspace.

@robin-reckmann

Copy link
Copy Markdown
Collaborator Author

Does the kernel size change much though? In my experience, I've never worried its size is growing or changing much, which is very different than my experience working on the userspace.

I dont expect it to change much. Let me close this PR for now in the interest of codebase maintainability.

@greatgitsby greatgitsby deleted the kernel-stats2 branch April 29, 2026 13:58
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.

2 participants