[bootlin/training-materials updates] master: boot-time labs: kernel optimizations: improve spreadsheets (8fdea227)
Michael Opdenacker
michael.opdenacker at bootlin.com
Thu Jun 15 10:47:42 CEST 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/8fdea227fe7802e3ce3304eda9386aeadd6d1824
>---------------------------------------------------------------
commit 8fdea227fe7802e3ce3304eda9386aeadd6d1824
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Thu Jun 15 10:47:42 2023 +0200
boot-time labs: kernel optimizations: improve spreadsheets
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
8fdea227fe7802e3ce3304eda9386aeadd6d1824
.../boot-time/results/kernel-size-arm-thumb2.ods | Bin 11270 -> 11303 bytes
.../boot-time/results/kernel-size-compression.ods | Bin 12186 -> 12217 bytes
labs/boot-time-kernel/boot-time-kernel.tex | 4 ++--
labs/boot-time-kernel/kernel-size-arm-thumb2.png | Bin 15300 -> 19326 bytes
labs/boot-time-kernel/kernel-size-compression.png | Bin 25085 -> 25832 bytes
5 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lab-data/boot-time/results/kernel-size-arm-thumb2.ods b/lab-data/boot-time/results/kernel-size-arm-thumb2.ods
index 2e488a26..d3ed5080 100644
Binary files a/lab-data/boot-time/results/kernel-size-arm-thumb2.ods and b/lab-data/boot-time/results/kernel-size-arm-thumb2.ods differ
diff --git a/lab-data/boot-time/results/kernel-size-compression.ods b/lab-data/boot-time/results/kernel-size-compression.ods
index 0f510179..b251ad4f 100644
Binary files a/lab-data/boot-time/results/kernel-size-compression.ods and b/lab-data/boot-time/results/kernel-size-compression.ods differ
diff --git a/labs/boot-time-kernel/boot-time-kernel.tex b/labs/boot-time-kernel/boot-time-kernel.tex
index 86651200..ea00d52b 100644
--- a/labs/boot-time-kernel/boot-time-kernel.tex
+++ b/labs/boot-time-kernel/boot-time-kernel.tex
@@ -164,7 +164,7 @@ related to code size.
First, measure and write down your kernel size and the total boot time
in the \code{~/boot-time-labs/results/kernel-size-arm-thumb2.ods} spreadsheet:
-\includegraphics[width=0.7\textwidth]{labs/boot-time-kernel/kernel-size-arm-thumb2.png}
+\includegraphics[width=\textwidth]{labs/boot-time-kernel/kernel-size-arm-thumb2.png}
Now, compile your kernel with \kconfig{CONFIG_ARM_THUMB}. Before you do
this, you could make a backup copy of your kernel source directory with
@@ -178,7 +178,7 @@ and keep whatever option works best for you.
Then, continue by trying all the kernel compression schemes listed in
the \code{~/boot-time-labs/results/kernel-size-compression.ods} spreadsheet:
-\includegraphics[width=0.7\textwidth]{labs/boot-time-kernel/kernel-size-compression.png}
+\includegraphics[width=\textwidth]{labs/boot-time-kernel/kernel-size-compression.png}
For the \code{None} row, there is no kernel configuration option, but
all you have to do is take the \code{arch/arm/boot/Image} file, and make a
diff --git a/labs/boot-time-kernel/kernel-size-arm-thumb2.png b/labs/boot-time-kernel/kernel-size-arm-thumb2.png
index eece2b67..4a21c4c6 100644
Binary files a/labs/boot-time-kernel/kernel-size-arm-thumb2.png and b/labs/boot-time-kernel/kernel-size-arm-thumb2.png differ
diff --git a/labs/boot-time-kernel/kernel-size-compression.png b/labs/boot-time-kernel/kernel-size-compression.png
index d10ae76e..f737992b 100644
Binary files a/labs/boot-time-kernel/kernel-size-compression.png and b/labs/boot-time-kernel/kernel-size-compression.png differ
More information about the training-materials-updates
mailing list