Przeglądaj źródła

Add examples for -n and -N

Vecna 4 miesięcy temu
rodzic
commit
5956ffc502
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -176,6 +176,7 @@ Our entire artifact can be run with the `./run.sh` script, which accepts the fol
     -s                          (Experiment 2) Run ./scripts/belarus.sh sequentially, instead of in parallel.
     --fast                      (Experiment 2) Start with pre-processed data.
 
+See Experiment 1 for examples of using the `-n` and `-N` options.
 This process should take around 1–2 hours and requires 20 GB of free disk space.
 (`-s` or `--fast` will change the time and disk space requirements. See Experiment 2 for details.)
 
@@ -195,6 +196,11 @@ If these are not the ones you want to use, you can also specify `-N PERFORMANCE_
 **If you use `-N` to indicate a range, please also specify `-n` to indicate the number of values in that range.**
 The script does not compute this for you.
 
+Examples:
+    -n 16               Use threads 0-15
+    -n 7 -N 2-8         Use threads 2-8
+    -n 4 -N 0-1,6,9     Use threads 0,1,6,9
+
 These scripts perform benchmarks for:
 1. the development branch of Lox from which we forked (Table 2, in Section 6)
 2. our modified code that adds reporting protocols (Table 3, in Section 6)