Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
kernel-compression [2022/12/19 02:50] – snacsnoc | kernel-compression [2022/12/19 05:03] – [rootfs compression: xz vs gzip] snacsnoc | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Kernel compression methods: | + | Kernel compression methods |
GZIP, bzip2, LZMA, XZ, LZO, | GZIP, bzip2, LZMA, XZ, LZO, | ||
+ | ====== Size ====== | ||
ls -s bzImage | ls -s bzImage | ||
Line 10: | Line 11: | ||
5988 arch/ | 5988 arch/ | ||
LZMA: | LZMA: | ||
+ | 4584 arch/ | ||
+ | |||
+ | ====== Compressing root build directory: ====== | ||
Line 21: | Line 25: | ||
7852 rootfs.gz | 7852 rootfs.gz | ||
| | ||
- | rootfs compression: | ||
- | [easto@cupcake][~/ | + | ====== Speed: ====== |
- | cd / | + | |
- | wait | + | |
- | mv rootfs.xz boot/ | + | |
- | / | + | |
- | Size of boot image is 4 sectors -> No emulation | + | |
- | | + | |
- | Total translation table size: 2048 | + | |
- | Total rockridge attributes bytes: 954 | + | |
- | Total directory bytes: 2408 | + | |
- | Path table size(bytes): | + | |
- | Max brk space used 0 | + | |
- | 5414 extents written (10 MB) | + | |
- | gzip | + | |
- | [easto@cupcake][~/ | + | [easto@cupcake][~/ |
- | cd / | + | |
- | wait | + | |
- | mv rootfs.gz boot/ | + | |
- | /usr/bin/genisoimage -l -J -R -input-charset utf-8 -b isolinux/isolinux.bin -c isolinux/boot.cat | + | sys |
- | Size of boot image is 4 sectors -> No emulation | + | |
- | 86.54% done, estimate finish Mon Dec 19 02:47:41 2022 | + | [easto@cupcake][/opt/snacklinux_rootfs]$ cd /opt/snacklinux_rootfs/; time find . -print | cpio -o -H newc --quiet | xz > /home/ |
- | Total translation table size: 2048 | + | |
- | Total rockridge attributes bytes: 954 | + | |
- | Total directory bytes: 2408 | + | |
- | Path table size(bytes): | + | |
- | Max brk space used 0 | + | |
- | 5787 extents written (11 MB) | + |