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:17] – 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: ====== | ||
+ | |||
+ | |||
+ | [easto@cupcake][/ | ||
+ | cpio: File ./rootfs.gz grew, 1048576 new bytes not copied | ||
+ | [easto@cupcake][/ | ||
+ | 7812 rootfs.gz | ||
+ | [easto@cupcake][/ | ||
+ | cpio: File ./rootfs.gz grew, 1064960 new bytes not copied | ||
+ | [easto@cupcake][/ | ||
+ | 7852 rootfs.gz | ||
+ | | ||
+ | |||
+ | ====== Speed: ====== | ||
+ | |||
+ | |||
+ | [easto@cupcake][~/ | ||
+ | | ||
+ | real 0m0.661s | ||
+ | user 0m0.607s | ||
+ | sys | ||
+ | |||
+ | [easto@cupcake][/ | ||
+ | | ||
+ | real 0m4.697s | ||
+ | user 0m4.521s | ||
+ | sys |