[FE training-materials-updates] Boot slides: improve initramfs compression slides
Michael Opdenacker
michael.opdenacker at free-electrons.com
Wed Apr 23 07:35:48 CEST 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=49c7ace019ca20c9cdda5ced721f35755c225581
>---------------------------------------------------------------
commit 49c7ace019ca20c9cdda5ced721f35755c225581
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Wed Apr 23 06:56:55 2014 +0200
Boot slides: improve initramfs compression slides
- Detail the figures from tests
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
49c7ace019ca20c9cdda5ced721f35755c225581
.../boottime-init-scripts3.tex | 35 ++++++++++++++++----
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/slides/boottime-init-scripts3/boottime-init-scripts3.tex b/slides/boottime-init-scripts3/boottime-init-scripts3.tex
index 328333b..a478545 100644
--- a/slides/boottime-init-scripts3/boottime-init-scripts3.tex
+++ b/slides/boottime-init-scripts3/boottime-init-scripts3.tex
@@ -41,22 +41,43 @@ application and then switch to the final root filesystem with
\end{frame}
\begin{frame}
-\frametitle{Do not compress your initramfs}
+\frametitle{Do not compress your initramfs (1)}
\begin{itemize}
\item If you ship your initramfs inside a compressed kernel image, don't compress
it \\
(enable \code{CONFIG_INITRAMFS_COMPRESSION_NONE}).
\item Otherwise, your initramfs data will be compressed twice, and
the kernel will be slightly bigger and will take a little more time to uncompress.
-\item Tests on Linux 3.13-rc4, measuring the penalty of having a
- \code{gzip} compressed initramfs in a \code{gzip} compressed kernel:
- \begin{itemize}
- \item CALAO USB-A9263 (Atmel AT91SAM9263): +18 ms
- \item Beagle Bone Black (TI AM3359): +11 ms
- \end{itemize}
\end{itemize}
\end{frame}
+\begin{frame}
+\frametitle{Do not compress your initramfs (2)}
+Tests on Linux 3.13-rc4, measuring the penalty of having a
+\code{gzip} compressed initramfs in a \code{gzip} compressed kernel. \\
+\vfill{}
+\scriptsize
+Beagle Bone Black (TI AM3359)
+\begin{tabular}{| l || c | c | c | c | c | }
+\hline
+Mode & Size & Copy & Uncompress & Total & Diff \\
+\hline
+No initramfs compression & 4308200 & 451 ms & 945 ms & 5.516 s & \\
+Initramfs compression & 4309112 & 455 ms & 947 ms & 5.527 s & + 11 ms \\
+\hline
+\end{tabular}
+\newline\newline
+CALAO USB-A9263 (Atmel AT91SAM9263)
+\begin{tabular}{| l || c | c | c | c | c | }
+\hline
+Mode & Size & Copy & Uncompress & Total & Diff \\
+\hline
+No initramfs compression & 3016192 & 4.1047 s & 1.737 s & 8.795 s & \\
+Initramfs compression & 3016928 & 4.1050 s & 1.760 s & 8.813 s & + 18 ms \\
+\hline
+\end{tabular}
+\end{frame}
+
\begin{frame}
\frametitle{Results: after switch to initramfs}
More information about the training-materials-updates
mailing list