Browse Source

Optionally run and show the tests needed for the graphs that only appear in the extended version of the paper

Ian Goldberg 1 year ago
parent
commit
12b9441c23
1 changed files with 60 additions and 3 deletions
  1. 60 3
      repro

+ 60 - 3
repro

@@ -100,7 +100,7 @@ echo "$now: Starting experiments"
 
 if [ "$whichexps" = "small" -o "$whichexps" = "all" ]; then
     echo "Running small experiments..."
-    # Figure 7(a), 8(c)
+    # Figures 7(a), 8(c)
     run readwrite 16 30ms 100mbit ${numops}
     run readwrite 18 30ms 100mbit ${numops}
     run readwrite 20 30ms 100mbit ${numops}
@@ -136,13 +136,13 @@ if [ "$whichexps" = "small" -o "$whichexps" = "all" ]; then
     run write 22 1us 100gbit ${numops}
     run write 24 1us 100gbit ${numops}
     run write 26 1us 100gbit ${numops}
-    # Figure 9(a)
+    # Figures 9(a), 11(a)
     run read 18 30ms 100mbit ${numops}
     run read 22 30ms 100mbit ${numops}
     run read 24 30ms 100mbit ${numops}
 fi
 if [ "$whichexps" = "small" -o "$whichexps" = "scaling" -o "$whichexps" = "all" ]; then
-    # Figures 9(a), 10
+    # Figures 9(a), 10, 11(a)
     run read 16 30ms 100mbit ${numops}
     run read 20 30ms 100mbit ${numops}
     run read 26 30ms 100mbit ${numops}
@@ -158,6 +158,39 @@ if [ "$whichexps" = "large" -o "$whichexps" = "all" ]; then
     run read 30 1us 100gbit ${numops}
     run read 32 1us 100gbit ${numops}
 fi
+if [ "$whichexps" = "extended" ]; then
+    # Do the experiments for the plots that appear only in the extended version
+    # of the paper
+    # Figure 11(b)
+    run read 20 30ms 10mbit ${numops}
+    run read 20 30ms 30mbit ${numops}
+    run read 20 30ms 50mbit ${numops}
+    run read 20 30ms 70mbit ${numops}
+    run read 20 30ms 90mbit ${numops}
+    run read 20 30ms 110mbit ${numops}
+    # Figure 11(c)
+    run read 20 10ms 100mbit ${numops}
+    run read 20 50ms 100mbit ${numops}
+    run read 20 70ms 100mbit ${numops}
+    # Figure 12(a)
+    run write 16 30ms 100mbit ${numops}
+    run write 18 30ms 100mbit ${numops}
+    run write 20 30ms 100mbit ${numops}
+    run write 22 30ms 100mbit ${numops}
+    run write 24 30ms 100mbit ${numops}
+    run write 26 30ms 100mbit ${numops}
+    # Figure 12(b)
+    run write 20 30ms 10mbit ${numops}
+    run write 20 30ms 30mbit ${numops}
+    run write 20 30ms 50mbit ${numops}
+    run write 20 30ms 70mbit ${numops}
+    run write 20 30ms 90mbit ${numops}
+    run write 20 30ms 110mbit ${numops}
+    # Figure 12(c)
+    run write 20 10ms 100mbit ${numops}
+    run write 20 50ms 100mbit ${numops}
+    run write 20 70ms 100mbit ${numops}
+fi
 
 now=`date`
 echo "$now: Experiments complete"
@@ -196,6 +229,30 @@ echo
 echo "# Figure 9(c)"
 egrep 'Floram read .* 1us 100gbit .* KiB$' floram_${numops}.dat | sort -k3 -n
 echo
+
+if [ "$DUORAM_EXTENDED_PLOTS" = "1" ]; then
+    # Also show the plots for the extended version (Figures 11, 12)
+    echo "# Figure 11(a)"
+    egrep 'Floram read .* 30ms 100mbit .* s$' floram_${numops}.dat | sort -k3 -n
+    echo
+    echo "# Figure 11(b)"
+    egrep 'Floram read 20 30ms .* s$' floram_${numops}.dat | sort -k5 -n
+    echo
+    echo "# Figure 11(c)"
+    egrep 'Floram read 20 .* 100mbit .* s$' floram_${numops}.dat | sort -k4 -n
+    echo
+    echo "# Figure 12(a)"
+    egrep 'Floram write .* 30ms 100mbit .* s$' floram_${numops}.dat | sort -k3 -n
+    echo
+    echo "# Figure 12(b)"
+    egrep 'Floram write 20 30ms .* s$' floram_${numops}.dat | sort -k5 -n
+    echo
+    echo "# Figure 12(c)"
+    egrep 'Floram write 20 .* 100mbit .* s$' floram_${numops}.dat | sort -k4 -n
+    echo
+fi
+
 echo "# End figures"
+echo
 
 fi