[FE training-materials-updates] Boot time slides: misc fixes and improvements
Michael Opdenacker
michael.opdenacker at free-electrons.com
Thu Jan 2 06:43:38 CET 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=82a525d3e5b96f1aa3ad2926d3b4b99b5ad1150a
>---------------------------------------------------------------
commit 82a525d3e5b96f1aa3ad2926d3b4b99b5ad1150a
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Thu Jan 2 06:42:37 2014 +0100
Boot time slides: misc fixes and improvements
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
82a525d3e5b96f1aa3ad2926d3b4b99b5ad1150a
slides/boottime-kernel/boottime-kernel.tex | 33 +++++++++++++---------------
1 file changed, 15 insertions(+), 18 deletions(-)
diff --git a/slides/boottime-kernel/boottime-kernel.tex b/slides/boottime-kernel/boottime-kernel.tex
index 77351d8..4c52c92 100644
--- a/slides/boottime-kernel/boottime-kernel.tex
+++ b/slides/boottime-kernel/boottime-kernel.tex
@@ -94,7 +94,7 @@ First, we focus on reducing the size without removing features
\item Remove features that are not used by userland:
\code{CONFIG_KALLSYMS}, \code{CONFIG_DEBUG_FS},
\code{CONFIG_BUG}
- \item use features designed for embedded systems:
+ \item Use features designed for embedded systems:
\code{CONFIG_SLOB}, \code{CONFIG_EMBEDDED}
\end{itemize}
\end{frame}
@@ -205,33 +205,30 @@ To shave off the last milliseconds, you will probably want to remove
unnecessary features:
\begin{itemize}
\item \code{CONFIG_PRINTK=n} will have the same effect as the
-\code{quiet}
- argument but you won't have any access to kernel
-messages.
+ \code{quiet} command line argument but you won't have
+ any access to kernel messages. You will have a
+ significantly smaller kernel though.
\item Try \code{CONFIG_CC_OPTIMIZE_FOR_SIZE=y}. This will have
-an
- impact on the performance, you will have to benchmark.
+ an impact on performance, you will have to benchmark.
\item Try to initialize less RAM by passing a \code{mem} value
-on the
- kernel command line. The less RAM you need to
-initialize, the
- faster you will boot.
- \item Module loading/unloading
- \item Block layer
- \item Network stack
- \item USB stack
+ on the kernel command line. The less RAM you need to
+ initialize, the faster you will boot.
\end{itemize}
\end{frame}
\begin{frame}
-\frametitle{Kernel (last milliseconds (2)}
+\frametitle{Kernel last milliseconds (2)}
+More features you could remove:
\begin{itemize}
- \item a.out format
- \item power management
+ \item Module loading/unloading
+ \item Block layer
+ \item Network stack
+ \item USB stack
+ \item Power management features
\item \code{CONFIG_SYSFS_DEPRECATED}
\item Input: keyboards / mice / touchscreens
\item \code{CONFIG_LEGACY_PTY_COUNT} or the
- \code{pty.legacy_count} kernel parameter
+ \code{pty.legacy_count} kernel parameter
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list