Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
i7
peregrine
Commits
23c15ac1
Commit
23c15ac1
authored
Jan 19, 2015
by
Philipp Meyer
Browse files
Ran benchmarks on scalable examples
parent
ffadb1c5
Changes
9
Hide whitespace changes
Inline
Side-by-side
benchmarks/scalable/Dijkstra/benchmark.stats
0 → 100644
View file @
23c15ac1
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
benchmarks/scalable/Lamport/benchmark.stats
0 → 100644
View file @
23c15ac1
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
benchmarks/scalable/LeaderElectionCR79/benchmark.stats
0 → 100644
View file @
23c15ac1
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
benchmarks/scalable/LeaderElectionDKR82/benchmark.stats
0 → 100644
View file @
23c15ac1
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
benchmarks/scalable/Peterson/benchmark.stats
0 → 100644
View file @
23c15ac1
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
benchmarks/scalable/Snapshot/benchmark.stats
0 → 100644
View file @
23c15ac1
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
benchmarks/scalable/Szymanski/benchmark.stats
0 → 100644
View file @
23c15ac1
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
benchmarks/scalable/run_benchmarks.sh
View file @
23c15ac1
#!/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
benchmarks/scalable/stats.r
View file @
23c15ac1
...
...
@@ -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
=
"/"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment