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
7f44936b19
3 changed files with 78 additions and 0 deletions
  1. 60 0
      Docker/repro
  2. 9 0
      repro/peek-results
  3. 9 0
      repro/repro-all-dockers

+ 60 - 0
Docker/repro

@@ -288,6 +288,66 @@ egrep '3PDuoramTotl read .* 1us 100gbit .* KiB$' duoram_${numops}.dat | sort -k3
 echo
 egrep '3PDuoramOnln read .* 1us 100gbit .* KiB$' duoram_${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 '2PDuoramTotl read .* 30ms 100mbit .* s$' duoram_${numops}.dat | sort -k3 -n
+    echo
+    egrep '2PDuoramOnln read .* 30ms 100mbit .* s$' duoram_${numops}.dat | sort -k3 -n
+    echo
+    egrep '3PDuoramTotl read .* 30ms 100mbit .* s$' duoram_${numops}.dat | sort -k3 -n
+    echo
+    egrep '3PDuoramOnln read .* 30ms 100mbit .* s$' duoram_${numops}.dat | sort -k3 -n
+    echo
+    echo "# Figure 11(b)"
+    egrep '2PDuoramTotl read 20 30ms .* s$' duoram_${numops}.dat | sort -k5 -n
+    echo
+    egrep '2PDuoramOnln read 20 30ms .* s$' duoram_${numops}.dat | sort -k5 -n
+    echo
+    egrep '3PDuoramTotl read 20 30ms .* s$' duoram_${numops}.dat | sort -k5 -n
+    echo
+    egrep '3PDuoramOnln read 20 30ms .* s$' duoram_${numops}.dat | sort -k5 -n
+    echo
+    echo "# Figure 11(c)"
+    egrep '2PDuoramTotl read 20 .* 100mbit .* s$' duoram_${numops}.dat | sort -k4 -n
+    echo
+    egrep '2PDuoramOnln read 20 .* 100mbit .* s$' duoram_${numops}.dat | sort -k4 -n
+    echo
+    egrep '3PDuoramTotl read 20 .* 100mbit .* s$' duoram_${numops}.dat | sort -k4 -n
+    echo
+    egrep '3PDuoramOnln read 20 .* 100mbit .* s$' duoram_${numops}.dat | sort -k4 -n
+    echo
+    echo
+    echo "# Figure 12(a)"
+    egrep '2PDuoramTotl write .* 30ms 100mbit .* s$' duoram_${numops}.dat | sort -k3 -n
+    echo
+    egrep '2PDuoramOnln write .* 30ms 100mbit .* s$' duoram_${numops}.dat | sort -k3 -n
+    echo
+    egrep '3PDuoramTotl write .* 30ms 100mbit .* s$' duoram_${numops}.dat | sort -k3 -n
+    echo
+    egrep '3PDuoramOnln write .* 30ms 100mbit .* s$' duoram_${numops}.dat | sort -k3 -n
+    echo
+    echo "# Figure 12(b)"
+    egrep '2PDuoramTotl write 20 30ms .* s$' duoram_${numops}.dat | sort -k5 -n
+    echo
+    egrep '2PDuoramOnln write 20 30ms .* s$' duoram_${numops}.dat | sort -k5 -n
+    echo
+    egrep '3PDuoramTotl write 20 30ms .* s$' duoram_${numops}.dat | sort -k5 -n
+    echo
+    egrep '3PDuoramOnln write 20 30ms .* s$' duoram_${numops}.dat | sort -k5 -n
+    echo
+    echo "# Figure 12(c)"
+    egrep '2PDuoramTotl write 20 .* 100mbit .* s$' duoram_${numops}.dat | sort -k4 -n
+    echo
+    egrep '2PDuoramOnln write 20 .* 100mbit .* s$' duoram_${numops}.dat | sort -k4 -n
+    echo
+    egrep '3PDuoramTotl write 20 .* 100mbit .* s$' duoram_${numops}.dat | sort -k4 -n
+    echo
+    egrep '3PDuoramOnln write 20 .* 100mbit .* s$' duoram_${numops}.dat | sort -k4 -n
+    echo
+fi
+
 echo "# End figures"
 echo
 

+ 9 - 0
repro/peek-results

@@ -56,3 +56,12 @@ cat $outputfile | showstanza 'Figure 8(c)'
 cat $outputfile | showstanza 'Figure 9(a)'
 cat $outputfile | showstanza 'Figure 9(b)'
 cat $outputfile | showstanza 'Figure 9(c)'
+if [ "$DUORAM_EXTENDED_PLOTS" = "1" ]; then
+    # Also show the plots for the extended version (Figures 11, 12)
+    cat $outputfile | showstanza 'Figure 11(a)'
+    cat $outputfile | showstanza 'Figure 11(b)'
+    cat $outputfile | showstanza 'Figure 11(c)'
+    cat $outputfile | showstanza 'Figure 12(a)'
+    cat $outputfile | showstanza 'Figure 12(b)'
+    cat $outputfile | showstanza 'Figure 12(c)'
+fi

+ 9 - 0
repro/repro-all-dockers

@@ -75,4 +75,13 @@ else
     cat $outputfile | showstanza 'Figure 9(a)'
     cat $outputfile | showstanza 'Figure 9(b)'
     cat $outputfile | showstanza 'Figure 9(c)'
+    if [ "$DUORAM_EXTENDED_PLOTS" = "1" ]; then
+	# Also show the plots for the extended version (Figures 11, 12)
+	cat $outputfile | showstanza 'Figure 11(a)'
+	cat $outputfile | showstanza 'Figure 11(b)'
+	cat $outputfile | showstanza 'Figure 11(c)'
+	cat $outputfile | showstanza 'Figure 12(a)'
+	cat $outputfile | showstanza 'Figure 12(b)'
+	cat $outputfile | showstanza 'Figure 12(c)'
+    fi
 fi