[FE training-materials-updates] Update kernel size stats

Michael Opdenacker michael.opdenacker at free-electrons.com
Tue May 16 09:04:47 CEST 2017


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=4c307b14490e3a73ff9e371694ffd8b7bf9556c6

>---------------------------------------------------------------

commit 4c307b14490e3a73ff9e371694ffd8b7bf9556c6
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Tue May 16 09:04:47 2017 +0200

    Update kernel size stats
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

4c307b14490e3a73ff9e371694ffd8b7bf9556c6
 .../sysdev-linux-intro-sources.tex                      | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex b/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex
index 20f1007..519d50a 100644
--- a/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex
+++ b/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex
@@ -53,14 +53,15 @@
 \begin{frame}
   \frametitle{Linux kernel size (1)}
   \begin{itemize}
-  \item Linux 4.6 sources:\\
-    Raw size: 730 MB (53,600 files, approx 21,400,000 lines)\\
-    \code{gzip} compressed tar archive: 130 MB\\
-    \code{xz} compressed tar archive: 85 MB
-  \item Minimum Linux 3.17 compiled kernel size,
-        booting on the ARM Versatile board (hard drive on PCI, ext2
-        filesystem, ELF executable support, framebuffer console and input devices):\\
-    	876 KB (compressed), 2.3 MB (raw)
+  \item Linux 4.11 sources:\\
+    \begin{itemize}
+	\item 57994 files (\code{git ls-files | wc -l})
+	\item 23144003 lines (\code{wc -l $(git ls-files)})
+	\item 675576310 bytes (\code{wc -c $(git ls-files)})
+    \end{itemize}
+  \item Minimum Linux 4.11 compiled kernel size,
+        booting to a shell on the ARM Versatile board:
+    	405,464 bytes (compressed), 1,112,264 bytes (raw)
   \item Why are these sources so big?\\
     Because they include thousands of device drivers, many network
     protocols, support many architectures and filesystems...




More information about the training-materials-updates mailing list