Work on thesis report

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2023-01-10 21:04:43 +01:00
parent 36a642d0b4
commit 19b6c78cb1
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
8 changed files with 163 additions and 13 deletions

View file

@ -1,14 +1,132 @@
\chapter{Benchmarking}
\label{chapter:benchmarking}
This chapter will research the real world capabilities of MagSend. I attempt to transmit a message using different speeds of MagSend under different system CPU loads to see how it performs and which transfer speed is the most reliable to use.
// TODO: Benchmarking different speeds with different loads
The following benchmark test are structured in the same way. I run each test 5 times to get a more accurate view of the test. For each test I note if MagSend can detect the preamble, the received payload length, whether the \gls{crc} is valid and the received message.
// TODO: For each benchmark note if the preamble can be detected
The message used in the test transmissions is "\textbf{Test}".
// TODO: For each benchmark note if the payload length, payload and crc are correct
// TODO: Run multiple benchmarks for each "case"
\section{25\% CPU Load}
\subsection{\SI{1}{\bit\per\second}}
\begin{table}[H]
\begin{bfhTabular}{l l l l l}
Run & Preamble Detected & Payload Length & Is CRC Valid & Received Message \\
1 & Preamble Detected & Payload Length & CRC Valid & Test\\
2 & Preamble Detected & Payload Length & CRC Valid & Test\\
3 & Preamble Detected & Payload Length & CRC Valid & Test\\
4 & Preamble Detected & Payload Length & CRC Valid & Test\\
5 & Preamble Detected & Payload Length & CRC Valid & Test
\end{bfhTabular}
\caption{Benchmark - 25\% CPU Load - \SI{1}{\bit\per\second}}
\end{table}
\subsection{\SI{2}{\bit\per\second}}
\begin{table}[H]
\begin{bfhTabular}{l l l l l}
Run & Preamble Detected & Payload Length & Is CRC Valid & Received Message \\
1 & Preamble Detected & Payload Length & CRC Valid & Test\\
2 & Preamble Detected & Payload Length & CRC Valid & Test\\
3 & Preamble Detected & Payload Length & CRC Valid & Test\\
4 & Preamble Detected & Payload Length & CRC Valid & Test\\
5 & Preamble Detected & Payload Length & CRC Valid & Test
\end{bfhTabular}
\caption{Benchmark - 25\% CPU Load - \SI{2}{\bit\per\second}}
\end{table}
\subsection{\SI{4}{\bit\per\second}}
\begin{table}[H]
\begin{bfhTabular}{l l l l l}
Run & Preamble Detected & Payload Length & Is CRC Valid & Received Message \\
1 & Preamble Detected & Payload Length & CRC Valid & Test\\
2 & Preamble Detected & Payload Length & CRC Valid & Test\\
3 & Preamble Detected & Payload Length & CRC Valid & Test\\
4 & Preamble Detected & Payload Length & CRC Valid & Test\\
5 & Preamble Detected & Payload Length & CRC Valid & Test
\end{bfhTabular}
\caption{Benchmark - 25\% CPU Load - \SI{4}{\bit\per\second}}
\end{table}
\section{50\% CPU Load}
\subsection{\SI{1}{\bit\per\second}}
\begin{table}[H]
\begin{bfhTabular}{l l l l l}
Run & Preamble Detected & Payload Length & Is CRC Valid & Received Message \\
1 & Preamble Detected & Payload Length & CRC Valid & Test\\
2 & Preamble Detected & Payload Length & CRC Valid & Test\\
3 & Preamble Detected & Payload Length & CRC Valid & Test\\
4 & Preamble Detected & Payload Length & CRC Valid & Test\\
5 & Preamble Detected & Payload Length & CRC Valid & Test
\end{bfhTabular}
\caption{Benchmark - 50\% CPU Load - \SI{1}{\bit\per\second}}
\end{table}
\subsection{\SI{2}{\bit\per\second}}
\begin{table}[H]
\begin{bfhTabular}{l l l l l}
Run & Preamble Detected & Payload Length & Is CRC Valid & Received Message \\
1 & Preamble Detected & Payload Length & CRC Valid & Test\\
2 & Preamble Detected & Payload Length & CRC Valid & Test\\
3 & Preamble Detected & Payload Length & CRC Valid & Test\\
4 & Preamble Detected & Payload Length & CRC Valid & Test\\
5 & Preamble Detected & Payload Length & CRC Valid & Test
\end{bfhTabular}
\caption{Benchmark - 50\% CPU Load - \SI{2}{\bit\per\second}}
\end{table}
\subsection{\SI{4}{\bit\per\second}}
\begin{table}[H]
\begin{bfhTabular}{l l l l l}
Run & Preamble Detected & Payload Length & Is CRC Valid & Received Message \\
1 & Preamble Detected & Payload Length & CRC Valid & Test\\
2 & Preamble Detected & Payload Length & CRC Valid & Test\\
3 & Preamble Detected & Payload Length & CRC Valid & Test\\
4 & Preamble Detected & Payload Length & CRC Valid & Test\\
5 & Preamble Detected & Payload Length & CRC Valid & Test
\end{bfhTabular}
\caption{Benchmark - 50\% CPU Load - \SI{4}{\bit\per\second}}
\end{table}
\section{75\% CPU Load}
\subsection{\SI{1}{\bit\per\second}}
\begin{table}[H]
\begin{bfhTabular}{l l l l l}
Run & Preamble Detected & Payload Length & Is CRC Valid & Received Message \\
1 & Preamble Detected & Payload Length & CRC Valid & Test\\
2 & Preamble Detected & Payload Length & CRC Valid & Test\\
3 & Preamble Detected & Payload Length & CRC Valid & Test\\
4 & Preamble Detected & Payload Length & CRC Valid & Test\\
5 & Preamble Detected & Payload Length & CRC Valid & Test
\end{bfhTabular}
\caption{Benchmark - 75\% CPU Load - \SI{1}{\bit\per\second}}
\end{table}
\subsection{\SI{2}{\bit\per\second}}
\begin{table}[H]
\begin{bfhTabular}{l l l l l}
Run & Preamble Detected & Payload Length & Is CRC Valid & Received Message \\
1 & Preamble Detected & Payload Length & CRC Valid & Test\\
2 & Preamble Detected & Payload Length & CRC Valid & Test\\
3 & Preamble Detected & Payload Length & CRC Valid & Test\\
4 & Preamble Detected & Payload Length & CRC Valid & Test\\
5 & Preamble Detected & Payload Length & CRC Valid & Test
\end{bfhTabular}
\caption{Benchmark - 75\% CPU Load - \SI{2}{\bit\per\second}}
\end{table}
\subsection{\SI{4}{\bit\per\second}}
\begin{table}[H]
\begin{bfhTabular}{l l l l l}
Run & Preamble Detected & Payload Length & Is CRC Valid & Received Message \\
1 & Preamble Detected & Payload Length & CRC Valid & Test\\
2 & Preamble Detected & Payload Length & CRC Valid & Test\\
3 & Preamble Detected & Payload Length & CRC Valid & Test\\
4 & Preamble Detected & Payload Length & CRC Valid & Test\\
5 & Preamble Detected & Payload Length & CRC Valid & Test
\end{bfhTabular}
\caption{Benchmark - 75\% CPU Load - \SI{4}{\bit\per\second}}
\end{table}
// TODO: Add graphs to each benchmark
// TODO: Power Supply