[FE training-materials-updates] c-libraries: update size data
Gregory Clement
gregory.clement at free-electrons.com
Fri Sep 2 17:25:08 CEST 2016
Repository : git://git.free-electrons.com/training-materials.git
On branch : dev_mylene/yocto_update/krogoth
Link : http://git.free-electrons.com/training-materials/commit/?id=7f7714e5bcdafe61ea62e0f627c620969ae48c0a
>---------------------------------------------------------------
commit 7f7714e5bcdafe61ea62e0f627c620969ae48c0a
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date: Wed Jun 29 23:10:14 2016 +0200
c-libraries: update size data
Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
>---------------------------------------------------------------
7f7714e5bcdafe61ea62e0f627c620969ae48c0a
slides/c-libraries/c-libraries.tex | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/slides/c-libraries/c-libraries.tex b/slides/c-libraries/c-libraries.tex
index 0dc1c79..73abf78 100644
--- a/slides/c-libraries/c-libraries.tex
+++ b/slides/c-libraries/c-libraries.tex
@@ -43,11 +43,11 @@
\begin{itemize}
\item Most of the applications compile with uClibc-ng. This applies to
all applications used in embedded systems.
- \item Size (arm): 4 times smaller than glibc!
+ \item Size (arm): 3.5 times smaller than glibc!
\begin{itemize}
- \item uClibc 0.9.30.1: approx. 600 KB (libuClibc: 460 KB, libm:
- 96KB)
- \item glibc 2.9: approx 2.5 MB
+ \item uClibc-ng 1.0.14: approx. 716kB (libuClibc: 282kB, libm:
+ 73kB)
+ \item glibc 2.22: approx 2.5 MB
\end{itemize}
\item Some features not available or limited: priority-inheritance
mutexes, NPTL support is relatively recent, fixed Name Service Switch
@@ -60,22 +60,21 @@
\begin{frame}
\frametitle{Honey, I shrunk the programs!}
\begin{itemize}
- \item Executable size comparison on ARM, tested with {\em eglibc}
- (now {\em glibc})
- 2.15 and {\em uClibc} 0.9.33.2
+ \item Executable size comparison on ARM, tested with {\em glibc}
+ 2.22 and {\em uClibc-ng} 1.0.14
\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} with Thumb-2 & 361kB & 2.7kB \\ \hline
+ {\em uClibc} & 33.4kB & 2.5kB \\
+ {\em uClibc} with Thumb-2 & 25.4kB & 2.5kB \\
+ {\em eglibc} with Thumb-2 & 479kB & 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} with Thumb-2 & 934kB & 444kB \\ \hline
+ {\em uClibc} & 818kB & 664kB \\
+ {\em uClibc} with Thumb-2 & 602kB & 504kB \\
+ {\em eglibc} with Thumb-2 & 1206kB & 503kB \\ \hline
\end{tabular}
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list