volumio / volumio-os

Volumio OS Build System
GNU General Public License v2.0
2 stars 2 forks source link

Switch squashfs compression to zstd to save space #18

Closed ashthespy closed 1 week ago

ashthespy commented 1 week ago

with gzip

[ o.k. ] Squash filesystem created  [ 577M ]
[ o.k. ] Image pi.img Created  [ 10:27 min ]
[ o.k. ] Image pi.zip Created [ 656M ]

with zstd

[ o.k. ] Squash filesystem created  [ 538M ]
[ o.k. ] Image pi.img Created  [ 10:43 min ]
[ o.k. ] Image pi.zip Created [ 619M ]
volumio commented 1 week ago

No Need to save space on this. and actually it will slow down boot times

ashthespy commented 1 week ago

No Need to save space on this. and actually it will slow down boot times

zstd should normally be much faster in decompression than gzip (which is squashfs's default compression)

foonerd commented 1 week ago

The zstd's default level 3 outperforms gzip on x64; there is no logical reason why it should be any different on arm.