summaryrefslogtreecommitdiffstats
path: root/run_all_tacle.sh
blob: 51a9c2457785b58f61e38985f433902fe5aed2a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
# Copyright 2020 Joshua Bakita
# Runs TACLeBench in every configuration needed
# for the paper and schedulability studies

maxJobs=$1
runID=$2

if [ $# -lt 2 ]; then
    echo "Usage $0 <number of iterations> <run ID>"
    exit
fi
if [[ "$EUID" != 0 ]]; then
    echo "You need to be root to enable spatial isolation!"
    exit
fi
date

# Run the pairs baseline and some comparisons to examine the effect of less cache
cd baseline
make all -j32
# Full L3, full L2 - xi is the baseline for the pairs
baseXI=baseline/$(date +"%b%d-%H")-c-xi-$runID.txt
echo "" | ../run_bench.sh -m base -p 15 -l $maxJobs -b tacleNames.txt -B -I xi $runID
# Half L3, full L2 - i3 sees effect of half L3
baseI3=baseline/$(date +"%b%d-%H")-c-i3-$runID.txt
echo "" | ../run_bench.sh -m base -p 15 -l $maxJobs -b tacleNames.txt -B -I i3 $runID
# Half L3, half L2 - additional effect of half L2
baseI=baseline/$(date +"%b%d-%H")-c-i-$runID.txt
echo "" | ../run_bench.sh -m base -p 15 -l $maxJobs -b tacleNames.txt -B -I i $runID
date

# Run the Level-A/-B pairs
cd ../all_pairs
make all -j32
# No cache isolation
pairXI=all_pairs/$(date +"%b%d-%H")-c-xi-$runID"-A.txt and -B.txt"
echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I xi $runID
# Shared L2, split L3
pairI3=all_pairs/$(date +"%b%d-%H")-c-i3-$runID"-A.txt and -B.txt"
echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I i3 $runID
# Split L2, split L3
pairI=all_pairs/$(date +"%b%d-%H")-c-i-$runID"-A.txt and -B.txt"
echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I i $runID
date

# Run the Level-C pairs
cd ../baseline
pairC=baseline/$(date +"%b%d-%H")-c-xi-async-$runID.txt
echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I xi -A $runID
date

echo "==== DONE ===="
echo "Results are in:"
echo "- $baseXI"
echo "- $baseI3"
echo "- $baseI"
echo "- $pairXI"
echo "- $pairI3"
echo "- $pairI"
echo "- $pairC"

le='width: 1.5%;'/> -rw-r--r--SD-VBS/benchmarks/disparity/data/qcif/1.bmpbin0 -> 81366 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/qcif/2.bmpbin0 -> 81366 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/qcif/Makefile15
-rw-r--r--SD-VBS/benchmarks/disparity/data/qcif/expected.m154
-rw-r--r--SD-VBS/benchmarks/disparity/data/qcif/expected_C.txt154
-rw-r--r--SD-VBS/benchmarks/disparity/data/sim/1.bmpbin0 -> 11718 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/sim/2.bmpbin0 -> 11718 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/sim/Makefile6
-rw-r--r--SD-VBS/benchmarks/disparity/data/sim/expected.m54
-rw-r--r--SD-VBS/benchmarks/disparity/data/sim/expected_C.txt54
-rw-r--r--SD-VBS/benchmarks/disparity/data/sim/time.txt93
-rw-r--r--SD-VBS/benchmarks/disparity/data/sim_fast/1.bmpbin0 -> 9270 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/sim_fast/2.bmpbin0 -> 9270 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/sim_fast/Makefile5
-rw-r--r--SD-VBS/benchmarks/disparity/data/sim_fast/c.txt19
-rw-r--r--SD-VBS/benchmarks/disparity/data/sim_fast/expected.m48
-rw-r--r--SD-VBS/benchmarks/disparity/data/sim_fast/expected_C.txt48
-rw-r--r--SD-VBS/benchmarks/disparity/data/sim_fast/m.txt35
-rw-r--r--SD-VBS/benchmarks/disparity/data/sqcif/1.bmpbin0 -> 36918 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/sqcif/2.bmpbin0 -> 36918 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/sqcif/Makefile8
-rw-r--r--SD-VBS/benchmarks/disparity/data/sqcif/expected.m96
-rw-r--r--SD-VBS/benchmarks/disparity/data/sqcif/expected_C.txt96
-rw-r--r--SD-VBS/benchmarks/disparity/data/test/1.bmpbin0 -> 454 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/test/2.bmpbin0 -> 454 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/test/Makefile6
-rw-r--r--SD-VBS/benchmarks/disparity/data/test/expected.m10
-rw-r--r--SD-VBS/benchmarks/disparity/data/test/expected_C.txt10
-rw-r--r--SD-VBS/benchmarks/disparity/data/vga/1.bmpbin0 -> 846774 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/vga/2.bmpbin0 -> 846774 bytes-rw-r--r--SD-VBS/benchmarks/disparity/data/vga/Makefile7
-rw-r--r--SD-VBS/benchmarks/disparity/data/vga/expected.m480
-rw-r--r--SD-VBS/benchmarks/disparity/data/vga/expected_C.txt480
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/computeSAD.c27
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/correlateSAD_2D.c34
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/disparity.h24
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/finalSAD.c28
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/findDisparity.c29
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/getDisparity.c43
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/integralImage2D2D.c31
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/padarray2.c33
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/padarray4.c41
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/script_disparity.c132
-rw-r--r--SD-VBS/benchmarks/localization/Makefile3
-rwxr-xr-xSD-VBS/benchmarks/localization/data/GroundData/log1_pose.txt11598
-rwxr-xr-xSD-VBS/benchmarks/localization/data/GroundData/log1_sensor.txt127357
-rwxr-xr-xSD-VBS/benchmarks/localization/data/GroundData/log1_sensor_sort.txt127357
-rw-r--r--SD-VBS/benchmarks/localization/data/Makefile3
-rw-r--r--SD-VBS/benchmarks/localization/data/cif/1.txt89
-rw-r--r--SD-VBS/benchmarks/localization/data/cif/Makefile7
-rwxr-xr-xSD-VBS/benchmarks/localization/data/cif/VBS_Ver1bin0 -> 99419 bytes-rwxr-xr-xSD-VBS/benchmarks/localization/data/cif/cifbin0 -> 99219 bytes-rw-r--r--SD-VBS/benchmarks/localization/data/cif/expected.m3
-rw-r--r--SD-VBS/benchmarks/localization/data/cif/expected_C.txt3
-rw-r--r--SD-VBS/benchmarks/localization/data/qcif/1.txt89
-rw-r--r--SD-VBS/benchmarks/localization/data/qcif/Makefile8
-rw-r--r--SD-VBS/benchmarks/localization/data/qcif/expected.m3
-rw-r--r--SD-VBS/benchmarks/localization/data/qcif/expected_C.txt3
-rw-r--r--SD-VBS/benchmarks/localization/data/sim/1.txt89
-rw-r--r--SD-VBS/benchmarks/localization/data/sim/2.txt4077
-rw-r--r--SD-VBS/benchmarks/localization/data/sim/Makefile8
-rw-r--r--SD-VBS/benchmarks/localization/data/sim/expected.m3
-rw-r--r--SD-VBS/benchmarks/localization/data/sim/expected_C.txt3
-rw-r--r--SD-VBS/benchmarks/localization/data/sim_fast/1.txt26
-rw-r--r--SD-VBS/benchmarks/localization/data/sim_fast/2.txt203
-rw-r--r--SD-VBS/benchmarks/localization/data/sim_fast/Makefile8
-rw-r--r--SD-VBS/benchmarks/localization/data/sim_fast/expected.m3
-rw-r--r--SD-VBS/benchmarks/localization/data/sim_fast/expected_C.txt3
-rw-r--r--SD-VBS/benchmarks/localization/data/sqcif/1.txt7
-rw-r--r--SD-VBS/benchmarks/localization/data/sqcif/Makefile8
-rw-r--r--SD-VBS/benchmarks/localization/data/sqcif/expected.m3
-rw-r--r--SD-VBS/benchmarks/localization/data/sqcif/expected_C.txt3
-rw-r--r--SD-VBS/benchmarks/localization/data/test/1.txt7
-rw-r--r--SD-VBS/benchmarks/localization/data/test/Makefile8
-rw-r--r--SD-VBS/benchmarks/localization/data/test/expected.m3
-rw-r--r--SD-VBS/benchmarks/localization/data/test/expected_C.txt3
-rw-r--r--SD-VBS/benchmarks/localization/data/vga/1.txt89
-rw-r--r--SD-VBS/benchmarks/localization/data/vga/Makefile7
-rw-r--r--SD-VBS/benchmarks/localization/data/vga/expected.m3
-rw-r--r--SD-VBS/benchmarks/localization/data/vga/expected_C.txt3
-rwxr-xr-xSD-VBS/benchmarks/localization/result/log1_whist.txtbin0 -> 228 bytes-rw-r--r--SD-VBS/benchmarks/localization/src/c/eul2quat.c50
-rw-r--r--SD-VBS/benchmarks/localization/src/c/generateSample.c88
-rw-r--r--SD-VBS/benchmarks/localization/src/c/get3DGaussianProb.c49
-rw-r--r--SD-VBS/benchmarks/localization/src/c/input.txt8
-rw-r--r--SD-VBS/benchmarks/localization/src/c/localization.h24
-rw-r--r--SD-VBS/benchmarks/localization/src/c/mcl.c34
-rw-r--r--SD-VBS/benchmarks/localization/src/c/quat2eul.c47
-rw-r--r--SD-VBS/benchmarks/localization/src/c/quatConj.c32
-rw-r--r--SD-VBS/benchmarks/localization/src/c/quatMul.c55
-rw-r--r--SD-VBS/benchmarks/localization/src/c/quatRot.c47
-rw-r--r--SD-VBS/benchmarks/localization/src/c/readSensorData.c63
-rw-r--r--SD-VBS/benchmarks/localization/src/c/script_localization.c534
-rw-r--r--SD-VBS/benchmarks/localization/src/c/weightedSample.c37
-rwxr-xr-xSD-VBS/benchmarks/mser/.mser.mex.c.swpbin0 -> 16384 bytes-rw-r--r--SD-VBS/benchmarks/mser/Makefile3
-rw-r--r--SD-VBS/benchmarks/mser/data/Makefile3
-rw-r--r--SD-VBS/benchmarks/mser/data/cif/1.bmpbin0 -> 278838 bytes-rw-r--r--SD-VBS/benchmarks/mser/data/cif/Makefile6
-rwxr-xr-xSD-VBS/benchmarks/mser/data/cif/VBS_Ver1bin0 -> 79632 bytes-rw-r--r--SD-VBS/benchmarks/mser/data/cif/expected.m162
-rw-r--r--SD-VBS/benchmarks/mser/data/cif/expected_C.txt1
-rw-r--r--SD-VBS/benchmarks/mser/data/fullhd/1.bmpbin0 -> 6220854 bytes-rw-r--r--SD-VBS/benchmarks/mser/data/fullhd/Makefile6
-rw-r--r--SD-VBS/benchmarks/mser/data/fullhd/expected_C.txt1
-rw-r--r--SD-VBS/benchmarks/mser/data/qcif/1.bmpbin0 -> 69750 bytes-rw-r--r--SD-VBS/benchmarks/mser/data/qcif/Makefile6
-rwxr-xr-xSD-VBS/benchmarks/mser/data/qcif/VBS_Ver1bin0 -> 79672 bytes-rw-r--r--SD-VBS/benchmarks/mser/data/qcif/expected.m68
-rw-r--r--SD-VBS/benchmarks/mser/data/qcif/expected_C.txt1