forked from sebawild/nearly-optimal-mergesort-code
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpaper-experiments.sh
More file actions
executable file
·23 lines (16 loc) · 905 Bytes
/
Copy pathpaper-experiments.sh
File metadata and controls
executable file
·23 lines (16 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
lscpu
./cpu_fixed.sh
echo "JAVA:"
java -version
PREFIX="taskset -c 0 java -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -XX:+PrintCompilation -jar out/edu-sorting.jar "
SEED=248442268
echo Running study 1 - Random Permutations
$PREFIX 1001 10_000,100_000,1_000_000 $SEED rp times-rp-small > times-rp-small.out
$PREFIX 9001 10_000 $SEED rp times-rp-10k > times-rp-10k.out
$PREFIX 201 10_000_000 $SEED rp times-rp-10m > times-rp-10m.out
$PREFIX 21 100_000_000 $SEED rp times-rp-100m > times-rp-100m.out
echo Running study 2 - sqrt-n runs
$PREFIX 201 10_000_000 $SEED runs3000 times-runs3k-10m > times-runs3k-10m.out
echo Running study 3 - timdrag input
$PREFIX 201 16_777_216 $SEED timdrag32 times-timdrag32-16m > times-timdrag32-16m.out