91
TCB Tips & Tricks / Re: advdef ver.2.1 versus 7z ver.26
« Last post by Paul_123 on March 13, 2026, 08:36:06 PM »I know its for fun.. So I'll play the game with you
This is a different rootfs than you, but the results you can see.
decompression
So XZ gets it the smallest, but does take more to decompress it. zstd is probably the winner. But lets see.
This is the boot of a Raspi5,
I pulled some relevant lines from dmesg.
this rootfs was produced with pigz
This is the zstd compressed rootfs
hmmmm, I might switch piCore to zstd. Need to do more testing.
This is a different rootfs than you, but the results you can see.
Code: [Select]
-rw-r--r-- 1 paul paul 12633088 Mar 13 19:46 rootfs-piCore64-17.0.uncompressed
-rw-r--r-- 1 paul paul 4466798 Mar 13 19:42 rootfs-piCore64-17.0.gzip9
-rw-rw-r-- 1 paul paul 4246873 Mar 13 19:49 rootfs-piCore64-17.0.gz.advdevz4
-rw-rw-r-- 1 paul paul 4235095 Mar 13 19:50 rootfs-piCore64-17.0.gz.7zmx9
-rw-r--r-- 1 paul paul 4206895 Mar 13 19:42 rootfs-piCore64-17.0.pigz.zopfli.noiterations
-rw-r--r-- 1 paul paul 4205410 Mar 13 19:42 rootfs-piCore64-17.0.pigz.zopfli.I100
-rw-r--r-- 1 paul paul 4006378 Mar 13 19:42 rootfs-piCore64-17.0.zst-10
-rw-r--r-- 1 paul paul 3458360 Mar 13 19:42 rootfs-piCore64-17.0.zst-19
-rw-r--r-- 1 paul paul 3030460 Mar 13 19:42 rootfs-piCore64-17.0.xz-6
decompression
Code: [Select]
gzip9: mesreal 0m0.078s
advdef: real 0m0.075s
7zmx9: real 0m0.085s
pigzzopfli: real 0m0.075s
pigzzopfli100: real 0m0.091s
zstd-10: real 0m0.035s
zstd-19: real 0m0.028s
xz: real 0m0.154sSo XZ gets it the smallest, but does take more to decompress it. zstd is probably the winner. But lets see.
This is the boot of a Raspi5,
I pulled some relevant lines from dmesg.
this rootfs was produced with pigz
Code: [Select]
[ 0.031569] Trying to unpack rootfs image as initramfs...
[ 0.102147] Freeing initrd memory: 5664K
[ 0.630088] Run /init as init process
This is the zstd compressed rootfs
Code: [Select]
[ 0.038710] Trying to unpack rootfs image as initramfs...
[ 0.080141] Freeing initrd memory: 5424K
[ 0.633339] Run /init as init process
hmmmm, I might switch piCore to zstd. Need to do more testing.
Recent Posts