Commit c19b1727 authored by Roberto Cavicchioli's avatar Roberto Cavicchioli

Updated Readme

parent 38db6583
......@@ -2,10 +2,20 @@
## Requirements:
- Jetson Xavier devkit
- Jetson AGX Xavier devkit
- [Jetpack 4.1.1](
- LaTeX distribution (texlive) with pgfplots and pdflatex
## Procedure:
Run the script
Run the script ``
It will:
- Setup the board with maximum frequencies for CPU and GPU
- Enable the scheduling parameter for launching a process with real time priority
- Download, compile and install Vulkan SDK
- Run the tests as described in the article
- Aggregate the results in csv form to be later processed
- Install the minimum latex environment to create the charts
- Compile and open the pdf with charts
If you do not want some of these steps executed, just comment the corresponding lines in the script. Be aware that, beside data aggregation and latex compilation, all are mandatory for reproducibility.
\ No newline at end of file
......@@ -8,11 +8,7 @@ SUBMISSIONS=(baseline CNP graph vulkan)
echo "Gathering data. Please wait, this will take a while"
# write header line
......@@ -20,6 +16,7 @@ for submission in ${SUBMISSIONS[*]}; do
for size in ${SIZES[*]}; do
for iter in ${ITERS[*]}; do
for measurement in ${MEASUREMENTS[*]}; do
echo -n "."
HEADER=$([ "$HEADER" == 'EMPTY' ] \
&& echo $submission':'$measurement':i'$iter':s'$size \
|| echo $HEADER' '$submission':'$measurement':i'$iter':s'$size
......@@ -30,8 +27,12 @@ for submission in ${SUBMISSIONS[*]}; do
echo "$HEADER" > "$DATAFILE"
echo "Writing to csv file. Please wait, this will take a while"
# collect files in columns
for run in `seq 1 $RUNS`; do
echo -n "."
for submission in ${SUBMISSIONS[*]}; do
for size in ${SIZES[*]}; do
for iter in ${ITERS[*]}; do
......@@ -11,5 +11,10 @@ echo "Run tests"
echo "Aggregate results"
echo "Installing latex to create charts"
sudo apt-get install -y texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra
echo "Create charts"
pdflatex results.tex
echo "Done!"
echo "Opening results file..."
evince results.pdf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment