|
@@ -36,6 +36,15 @@ CORESLIST="4 8 16 32"
|
|
|
# Hopefully you don't have to touch anything below here when
|
|
|
# customizing.
|
|
|
|
|
|
+# If the first argument is "-n", don't actually run new experiments;
|
|
|
+# just output the logged results
|
|
|
+if [ "$1" = "-n" ]; then
|
|
|
+ shift
|
|
|
+ repro_scaling="echo"
|
|
|
+else
|
|
|
+ repro_scaling="./repro scaling"
|
|
|
+fi
|
|
|
+
|
|
|
# The number of operations to do
|
|
|
numops=128
|
|
|
if [ "$1" != "" ]; then
|
|
@@ -67,7 +76,7 @@ for c in $CORESLIST; do
|
|
|
echo Running Duoram repro
|
|
|
echo
|
|
|
( cd ../Docker && echo "Starting Duoram dockers" && echo && \
|
|
|
- ./start-docker && ./repro scaling $numops && \
|
|
|
+ ./start-docker && $repro_scaling $numops && \
|
|
|
cat read_30ms_100mbit_${numops}_*.out.${c}core | \
|
|
|
docker exec -w /root/duoram/Docker -i duoram_p0 ./parse_logs | \
|
|
|
egrep 'DuoramOnln read .*s$' | sed -e "s/30ms/${c} 30ms/" | \
|
|
@@ -83,7 +92,7 @@ for c in $CORESLIST; do
|
|
|
echo Running Floram repro
|
|
|
echo
|
|
|
( cd floram-docker && echo "Starting Floram dockers" && echo && \
|
|
|
- ./start-docker && ./repro scaling $numops && \
|
|
|
+ ./start-docker && $repro_scaling $numops && \
|
|
|
cat read_30ms_100mbit_${numops}.out.${c}core | \
|
|
|
docker exec -w /root -i floram_p0 ./parse_logs | \
|
|
|
egrep ' read .*s$' | sed -e "s/30ms/${c} 30ms/" | \
|