[bootlin/training-materials updates] master: boot-time: toochains: add spreadsheets (e1ee2865)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Jun 13 11:16:44 CEST 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/e1ee28658bc29d65a28ed50343116dcca1d622f4

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

commit e1ee28658bc29d65a28ed50343116dcca1d622f4
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Jun 13 11:16:44 2023 +0200

    boot-time: toochains: add spreadsheets
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

e1ee28658bc29d65a28ed50343116dcca1d622f4
 lab-data/boot-time/results/fs-optimizations.ods    | Bin 12732 -> 0 bytes
 .../boot-time/results/toolchain-size-tests.ods     | Bin 0 -> 12001 bytes
 .../boot-time/results/toolchain-time-tests.ods     | Bin 0 -> 13073 bytes
 labs/boot-time-toolchain/boot-time-toolchain.tex   |  38 +++++----------------
 labs/boot-time-toolchain/toolchain-size-tests.png  | Bin 0 -> 33882 bytes
 labs/boot-time-toolchain/toolchain-time-tests.png  | Bin 0 -> 128519 bytes
 6 files changed, 9 insertions(+), 29 deletions(-)

diff --git a/lab-data/boot-time/results/fs-optimizations.ods b/lab-data/boot-time/results/fs-optimizations.ods
deleted file mode 100644
index e24c1802..00000000
Binary files a/lab-data/boot-time/results/fs-optimizations.ods and /dev/null differ
diff --git a/lab-data/boot-time/results/toolchain-size-tests.ods b/lab-data/boot-time/results/toolchain-size-tests.ods
new file mode 100644
index 00000000..d10f2b1a
Binary files /dev/null and b/lab-data/boot-time/results/toolchain-size-tests.ods differ
diff --git a/lab-data/boot-time/results/toolchain-time-tests.ods b/lab-data/boot-time/results/toolchain-time-tests.ods
new file mode 100644
index 00000000..bfba0164
Binary files /dev/null and b/lab-data/boot-time/results/toolchain-time-tests.ods differ
diff --git a/labs/boot-time-toolchain/boot-time-toolchain.tex b/labs/boot-time-toolchain/boot-time-toolchain.tex
index 8593db3b..a53347c3 100644
--- a/labs/boot-time-toolchain/boot-time-toolchain.tex
+++ b/labs/boot-time-toolchain/boot-time-toolchain.tex
@@ -48,20 +48,10 @@ ls -l output/images/rootfs.tar
 tar tvf output/images/rootfs.tar ./usr/bin/ffmpeg
 \end{verbatim}
 
-Write these two numbers in the first row of the below table:
-
-\begin{tabular}{| l | l | r |}
-  \hline
-  & Total rootfs size & \code{/usr/bin/ffmpeg} size \\
-  \hline
-  \hline
-  ARM toolchain & & \\
-  \hline
-  Thumb2 toolchain  & & \\
-  \hline
-  Musl toolchain & & \\
-  \hline
-\end{tabular}
+Write these two numbers in the first row of the \code{~/boot-time-labs/results/toochain-size-tests.ods}
+spreadsheet:
+
+\includegraphics[width=0.7\textwidth]{labs/boot-time-toolchain/toolchain-size-tests.png}
 
 Reflash the root filesystem on the SD card and reboot your board.
 On the serial console, log in and run the video player through the
@@ -76,21 +66,11 @@ time ffmpeg -f video4linux2 -video_size 544x288 -input_format mjpeg \
 Note that we removed \code{-t 10}. It's no longer needed to stop after
 10 seconds as we stop after decoding the first frame.
 
-Write down your first results in the below table (\code{total1},
-\code{user1} and \code{sys1} columns):
-
-\begin{tabular}{| l | l | l | l || l | l | l || l | l | l |}
-  \hline
-  & total1 & user1 & sys1 & total2 & user2 & sys2 & total3 & user3 & sys3 \\
-  \hline
-  \hline
-  ARM toolchain & & & & & & & & & \\
-  \hline
-  Thumb2 toolchain & & & & & & & & & \\
-  \hline
-  Musl toolchain & & & & & & & & & \\
-  \hline
-\end{tabular}
+Run the experiment 3 times and write down your first results in the first
+row of the \code{boot-time-labs/results/toochain-time-tests.ods} spreadsheet:
+filling the \code{total<n>}\code{user<n>} and \code{sys<n>} columns):
+
+\includegraphics[width=\textwidth]{labs/boot-time-toolchain/toolchain-time-tests.png}
 
 After the first run, the program and its shared libraries are now in the
 file cache. Lets run the command two more times and write down (in the
diff --git a/labs/boot-time-toolchain/toolchain-size-tests.png b/labs/boot-time-toolchain/toolchain-size-tests.png
new file mode 100644
index 00000000..bada2930
Binary files /dev/null and b/labs/boot-time-toolchain/toolchain-size-tests.png differ
diff --git a/labs/boot-time-toolchain/toolchain-time-tests.png b/labs/boot-time-toolchain/toolchain-time-tests.png
new file mode 100644
index 00000000..b7a4e3b4
Binary files /dev/null and b/labs/boot-time-toolchain/toolchain-time-tests.png differ




More information about the training-materials-updates mailing list