Browse Source

Check whether we have enough RAM to run the 2^28 and 2^30 experiments

Ian Goldberg 4 months ago
parent
commit
12b59956a3
1 changed files with 12 additions and 7 deletions
  1. 12 7
      Docker/repro

+ 12 - 7
Docker/repro

@@ -34,12 +34,10 @@ elif [ "$PRAC_MAXGB" != "" ]; then
 fi
 
 # Allow running only subsets of the experiment suite.  Valid values are
-# "test", "small", "large", "scaling", "all", "none".  ("none" is useful
-# if you just want to re-parse the output of existing logs.  "scaling"
-# is the subset of "small" that generates the data points for Figure 10;
-# see the README for that one, since you need a machine with at least 64
-# cores to generate it.)  You can also say "single" followed by all the
-# arguments to "run" (below) to run a single experiment; for example:
+# "test", "fig6", "all", "none".  ("none" is useful if you just want to
+# re-parse the output of existing logs.) You can also say "single"
+# followed by all the arguments to "run" (below) to run a single
+# experiment; for example:
 # ./repro single readwrite 20 1us 100gbit 128
 if [ "$1" = "" ]; then
     whichexps="test"
@@ -156,8 +154,15 @@ if [ "$whichexps" = "fig6" -o "$whichexps" = "all" ]; then
         for nops in 16 32 64 128 256 512 1024 2048; do
             run 20 30ms 100mbit $nops
         done
+        if [ "$maxgb" -gt 164 ]; then
+            large_exps="28 30"
+        elif [ "$maxgb" -gt 41 ]; then
+            large_exps="28"
+        else
+            large_exps=""
+        fi
         # Figures 6(b), 6(c)
-        for size in 16 18 20 22 24 26 28 30; do
+        for size in 16 18 20 22 24 26 ${large_exps}; do
             run $size 30ms 100mbit 10
         done
     done