Sfoglia il codice sorgente

Add examples for -n and -N

Vecna 4 mesi fa
parent
commit
5956ffc502
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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.
     -s                          (Experiment 2) Run ./scripts/belarus.sh sequentially, instead of in parallel.
     --fast                      (Experiment 2) Start with pre-processed data.
     --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.
 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.)
 (`-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.**
 **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.
 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:
 These scripts perform benchmarks for:
 1. the development branch of Lox from which we forked (Table 2, in Section 6)
 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)
 2. our modified code that adds reporting protocols (Table 3, in Section 6)