[bootlin/training-materials updates] master: Boot time: add slide about Zstd (d9060938)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:42 CEST 2021

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/d9060938ecfb3e2a14dfdd4453f25c68117e519e


commit d9060938ecfb3e2a14dfdd4453f25c68117e519e
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Fri Oct 22 12:08:11 2021 +0200

    Boot time: add slide about Zstd
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 slides/boot-time-kernel/boot-time-kernel.tex | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/slides/boot-time-kernel/boot-time-kernel.tex b/slides/boot-time-kernel/boot-time-kernel.tex
index 3f79407c..ebfc85a3 100644
--- a/slides/boot-time-kernel/boot-time-kernel.tex
+++ b/slides/boot-time-kernel/boot-time-kernel.tex
@@ -147,6 +147,33 @@ Lzo and Gzip seem the best solutions. Always benchmark as the results
 depend on storage and CPU performance.
+\frametitle{Compressing the kernel with Zstandard}
+  \item Zstandard is a relatively recent compression scheme, implemented
+        by Yann Collet.
+  \item Unfortunately, not available on ARM yet.\\
+        Only on x86, mips and s390 (Linux 5.15 status).
+  \item Compressing better than gzip and decompressing as fast as LZO,
+        it could be the best option.
+  \item See \url{https://en.wikipedia.org/wiki/Zstandard}
+        bool "ZSTD"
+        depends on HAVE_KERNEL_ZSTD
+        help
+          ZSTD is a compression algorithm targeting intermediate compression
+          with fast decompression speed. It will compress better than GZIP and
+          decompress around the same speed as LZO, but slower than LZ4. You
+          will need at least 192 KB RAM or more for booting. The zstd command
+          line tool is required for compression.
 \frametitle{Optimize kernel for size (1)}

More information about the training-materials-updates mailing list