[FE training-materials-updates] Boot time slides: size data improvements
Michael Opdenacker
michael.opdenacker at free-electrons.com
Tue Dec 31 08:03:11 CET 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=588267ee66ede102f065ad3c16ea4ebde8444757
>---------------------------------------------------------------
commit 588267ee66ede102f065ad3c16ea4ebde8444757
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Tue Dec 31 05:23:34 2013 +0100
Boot time slides: size data improvements
- Highlight that we compare with eglibc compiled with Thumb-2
- Detail that the Atmel GStreamer demo is used for
comparing the total root filesystem size
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
588267ee66ede102f065ad3c16ea4ebde8444757
.../boottime-init-scripts2.tex | 20 ++++++++++++--------
slides/c-libraries/c-libraries.tex | 6 +++---
2 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/slides/boottime-init-scripts2/boottime-init-scripts2.tex b/slides/boottime-init-scripts2/boottime-init-scripts2.tex
index 81b24d1..acf833f 100644
--- a/slides/boottime-init-scripts2/boottime-init-scripts2.tex
+++ b/slides/boottime-init-scripts2/boottime-init-scripts2.tex
@@ -1,14 +1,18 @@
\begin{frame}
\frametitle{Reduce size - some figures}
+Root filesystem size (Atmel GStreamer demo) with different C libraries:
+\vfill{}
+\begin{tabular}{| c || c | c | c |} \hline
+& not stripped & stripped & sstripped \\ \hline
+{\em uClibc} & 68590 kB & 43090 kB & 41060 kB \\
+{\em uClibc} with Thumb-2 & 63660 kB & 38200 kB & 37830 kB \\
+{\em eglibc} with Thumb-2 & 71190 kB & 46130 kB & 45670 kB \\ \hline
+\end{tabular}
+\vfill{}
\begin{itemize}
- \item Using the default {\em uClibc} configuration from Buildroot:
- \begin{tabular}{| c || c | c | c |} \hline
- & not stripped & striped & sstriped \\ \hline
- {\em uClibc} & 68590 kB & 43090 kB & 41060 kB \\
- {\em uClibc} with Thumb-2 & 63660 kB & 38200 kB & 37830 kB \\
- {\em eglibc} & 71190 kB & 46130 kB & 45670kB \\ \hline
- \end{tabular} \\
- \item Note that changing the whole toolchain is required when changing the libc.
+\item uClibc configuration: used Buildroot's default
+\item Note that changing the whole toolchain is required when changing
+ the C library.
\end{itemize}
\end{frame}
diff --git a/slides/c-libraries/c-libraries.tex b/slides/c-libraries/c-libraries.tex
index 46a929a..f71fc32 100644
--- a/slides/c-libraries/c-libraries.tex
+++ b/slides/c-libraries/c-libraries.tex
@@ -87,20 +87,20 @@
\frametitle{Honey, I shrunk the programs!}
\begin{itemize}
\item Executable size comparison on ARM, tested with {\em eglibc}
- 2.15 (with Thumb-2 instructions enabled) and {\em uClibc} 0.9.33.2
+ 2.15 and {\em uClibc} 0.9.33.2
\item Plain ``hello world'' program (stripped): \\
\begin{tabular}{| c || c | c |} \hline
helloworld & static & dynamic \\ \hline
{\em uClibc} & 18kB & 2.5kB \\
{\em uClibc} with Thumb-2 & 14kB & 2.4kB \\
- {\em eglibc} & 361kB & 2.7kB \\ \hline
+ {\em eglibc} with Thumb-2 & 361kB & 2.7kB \\ \hline
\end{tabular} \\
\item Busybox (stripped): \\
\begin{tabular}{| c || c | c |} \hline
busybox & static & dynamic \\ \hline
{\em uClibc} & 750kB & 603kB \\
{\em uClibc} with Thumb-2 & 533kB & 439kB \\
- {\em eglibc} & 934kB & 444kB \\ \hline
+ {\em eglibc} with Thumb-2 & 934kB & 444kB \\ \hline
\end{tabular}
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list