diff options
author | Eric Hameleers <alien@slackware.com> | 2018-09-01 12:45:59 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-09-01 12:45:59 +0200 |
commit | 8d4c6bc6cf9cd29fd93af1e5ec861e9f290a5877 (patch) | |
tree | 478ec77412fa4f3992fe75b3fc6bd9d151e12d6d /syslinux/f3.txt | |
parent | c217def230b135c62718961fb34aee4baf439caf (diff) | |
download | liveslak-8d4c6bc6cf9cd29fd93af1e5ec861e9f290a5877.tar.gz liveslak-8d4c6bc6cf9cd29fd93af1e5ec861e9f290a5877.tar.xz |
Finish the zstd compression implementation in liveslak
The new zstd compression support for squashfs modules allows for a much
snappier system because zstd decompression is 5 times faster than that of
xz (see https://sourceforge.net/p/squashfs/mailman/message/35989805/), but
at the expense of ISO sizes that are at least 10% bigger. The latter means
that we have to do some more pruning of the XFCE and PLASMA5 images to make
these fit in a CDROM and DVD image, respectively.
Here are some initial benchmarks with PLASMA5 Live ISO images,
booting in QEMU (times are in minutes:seconds):
Stage ZSTD XZ
---------------------------------------
Boot to runlevel 4 start 0:39 0:50
SDDM Login Manager visible 0:55 1:26
Plasma5 desktop ready 1:42 3:17
I also tested two of the bigger applications, measuring the time between
entering the command in a terminal and having a usable application window:
Stage ZSTD XZ
----------------------------------------
LO Writer window visible 0:17 0:34
Chromium window visible 0:09 0:14
It is obvious that a big Desktop Environment like Plasma5 where a lot of
binaries have to be loaded from their squashfs modules benefits a lot
from zstd, because after booting, the Plasma5 DE is available in
roughly 53% of the time it takes when using xz compression.
Zstd support in squashfs was added to Linux kernel 4.14. That means,
no customimzation of Slackware is required to make the Live OS work from
zstd-compressed squashfs modules.
In order to *create* these zstd-compressed squashfs modules, you will need
some custom packages at the moment, until they get added to Slackware-current:
zstd and a rebuild squashfs-tools to add the lacking zstd support to
mksqhashfs/unsquashfs.
Diffstat (limited to 'syslinux/f3.txt')
0 files changed, 0 insertions, 0 deletions