Notice to GitKraken users: A vulnerability has been found in the SSH key generation of GitKraken versions 7.6.0 to 8.0.0 (https://www.gitkraken.com/blog/weak-ssh-key-fix). If you use GitKraken and have generated a SSH key using one of these versions, please remove it both from your local workstation and from your LRZ GitLab profile.

21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 23c15ac1 authored by Philipp Meyer's avatar Philipp Meyer
Browse files

Ran benchmarks on scalable examples

parent ffadb1c5
n ps ts user system memory
2 49 68 0.31 0.02 16720 Command exited with non-zero status 2
3 79 126 1.10 0.05 31580 Command exited with non-zero status 2
4 113 200 4.51 0.18 55636 Command exited with non-zero status 2
5 151 290 14.10 0.30 121508 Command exited with non-zero status 2
n ps ts user system memory
2 19 18 0.04 0.00 14376
3 36 39 0.18 0.01 15036
4 58 68 0.55 0.03 17684
5 85 105 2.13 0.08 25900
n ps ts user system memory
2 9 9 0.00 0.00 13256
3 19 19 0.00 0.00 13400
4 33 33 0.00 0.00 13492
5 51 51 0.00 0.00 13464
n ps ts user system memory
2 34 56 0.36 0.02 15228
3 63 201 2.13 0.12 20460
4 100 540 16.63 0.84 42108
5 145 1205 76.42 3.01 82468
n ps ts user system memory
2 35 38 0.16 0.01 14964
3 107 177 1.89 0.08 25608
4 247 548 22.64 0.76 130244
5 479 1325 690.97 9.51 579444
n ps ts user system memory
2 12 11 0.03 0.00 14332
3 18 16 0.06 0.00 14328
4 24 21 0.10 0.00 14468
5 30 26 0.13 0.00 14268
n ps ts user system memory
2 48 72 1.67 0.14 15228
3 84 168 4.21 0.19 33900 Command exited with non-zero status 2
4 128 304 28.43 0.60 83348 Command exited with non-zero status 2
5 180 480 64.45 1.46 126640 Command exited with non-zero status 2
#!/usr/bin/bash
#folder="LeaderElectionDKR82"
folder="LeaderElectionCR79"
#folder="Snapshot"
suffix="-ord"
#suffix="-comm"
n=100
m=3
bf="${folder}/benchmark${suffix}.out"
benchmarks=( "Lamport" "Dijkstra" "Peterson" "Szymanski" "LeaderElectionDKR82" "LeaderElectionCR79" "Snapshot" )
suffix=""
n=6
m=1
echo "n user system memory" >$bf
for benchmark in ${benchmarks[@]}; do
echo "Runnng benchmark $benchmark"
for i in $(seq 10 10 100); do
net="${folder}/n${i}${suffix}.pnet"
echo "Testing net $net"
for j in $(seq 1 $m); do
echo -n "$i " >>$bf
/usr/bin/time -f "%U %S %M" -a -o $bf ../../slapnet $net > "${net}.out"
bf="${benchmark}/benchmark${suffix}.out"
echo "n user system memory" >$bf
for i in $(seq 2 $n); do
net="${benchmark}/n${i}${suffix}.pnet"
echo "Testing net $net"
for j in $(seq 1 $m); do
echo -n "$i " >>$bf
/usr/bin/time -f "%U %S %M" -a -o $bf ../../slapnet $net -vv > "${net}.out"
done
done
echo
done
......@@ -3,9 +3,7 @@
library("data.table")
library("Hmisc")
#folders <- c("LeaderElectionCR79", "LeaderElectionDKR82")
#folders <- c("LeaderElectionCR79")
folders <- c("Snapshot")
folders, <-, c("Lamport", "Dijkstra", "Peterson", "Szymanski", "LeaderElectionDKR82", "LeaderElectionCR79", "Snapshot")
for (folder in folders) {
infile <- paste(folder, "benchmark.out", sep="/")
......
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