forked from landrumb/big-ann-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
thread_scaling.sh
57 lines (47 loc) · 3.85 KB
/
thread_scaling.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
#Comment out any thread counts that your machine does not have
# builds on 1 thread
python3.10 run.py --algorithm ParDiskANN --dataset msspacev-1M --definitions thread_1.yaml --rebuild
python3.10 run.py --algorithm ParHCNNG --dataset msspacev-1M --definitions thread_1.yaml --rebuild
python3.10 run.py --algorithm ParPyNNDescent --dataset msspacev-1M --definitions thread_1.yaml --rebuild
python3.10 run.py --algorithm ParHNSW --dataset msspacev-1M --definitions thread_1.yaml --rebuild
# builds on 2 threads
python3.10 run.py --algorithm ParDiskANN --dataset msspacev-1M --definitions thread_2.yaml --rebuild
python3.10 run.py --algorithm ParHCNNG --dataset msspacev-1M --definitions thread_2.yaml --rebuild
python3.10 run.py --algorithm ParPyNNDescent --dataset msspacev-1M --definitions thread_2.yaml --rebuild
python3.10 run.py --algorithm ParHNSW --dataset msspacev-1M --definitions thread_2.yaml --rebuild
# builds on 8 threads
python3.10 run.py --algorithm ParDiskANN --dataset msspacev-1M --definitions thread_8.yaml --rebuild
python3.10 run.py --algorithm ParHCNNG --dataset msspacev-1M --definitions thread_8.yaml --rebuild
python3.10 run.py --algorithm ParPyNNDescent --dataset msspacev-1M --definitions thread_8.yaml --rebuild
python3.10 run.py --algorithm ParHNSW --dataset msspacev-1M --definitions thread_8.yaml --rebuild
# builds on 16 threads
python3.10 run.py --algorithm ParDiskANN --dataset msspacev-1M --definitions thread_16.yaml --rebuild
python3.10 run.py --algorithm ParHCNNG --dataset msspacev-1M --definitions thread_16.yaml --rebuild
python3.10 run.py --algorithm ParPyNNDescent --dataset msspacev-1M --definitions thread_16.yaml --rebuild
python3.10 run.py --algorithm ParHNSW --dataset msspacev-1M --definitions thread_16.yaml --rebuild
# builds on 24 threads
python3.10 run.py --algorithm ParDiskANN --dataset msspacev-1M --definitions thread_24.yaml --rebuild
python3.10 run.py --algorithm ParHCNNG --dataset msspacev-1M --definitions thread_24.yaml --rebuild
python3.10 run.py --algorithm ParPyNNDescent --dataset msspacev-1M --definitions thread_24.yaml --rebuild
python3.10 run.py --algorithm ParHNSW --dataset msspacev-1M --definitions thread_24.yaml --rebuild
# builds on 32 threads
python3.10 run.py --algorithm ParDiskANN --dataset msspacev-1M --definitions thread_32.yaml --rebuild
python3.10 run.py --algorithm ParHCNNG --dataset msspacev-1M --definitions thread_32.yaml --rebuild
python3.10 run.py --algorithm ParPyNNDescent --dataset msspacev-1M --definitions thread_32.yaml --rebuild
python3.10 run.py --algorithm ParHNSW --dataset msspacev-1M --definitions thread_32.yaml --rebuild
# builds on 48 threads
python3.10 run.py --algorithm ParDiskANN --dataset msspacev-1M --definitions thread_48.yaml --rebuild
python3.10 run.py --algorithm ParHCNNG --dataset msspacev-1M --definitions thread_48.yaml --rebuild
python3.10 run.py --algorithm ParPyNNDescent --dataset msspacev-1M --definitions thread_48.yaml --rebuild
python3.10 run.py --algorithm ParHNSW --dataset msspacev-1M --definitions thread_48.yaml --rebuild
# builds on 64 threads
python3.10 run.py --algorithm ParDiskANN --dataset msspacev-1M --definitions thread_64.yaml --rebuild
python3.10 run.py --algorithm ParHCNNG --dataset msspacev-1M --definitions thread_64.yaml --rebuild
python3.10 run.py --algorithm ParPyNNDescent --dataset msspacev-1M --definitions thread_64.yaml --rebuild
python3.10 run.py --algorithm ParHNSW --dataset msspacev-1M --definitions thread_64.yaml --rebuild
# builds on 96 threads
python3.10 run.py --algorithm ParDiskANN --dataset msspacev-1M --definitions thread_96.yaml --rebuild
python3.10 run.py --algorithm ParHCNNG --dataset msspacev-1M --definitions thread_96.yaml --rebuild
python3.10 run.py --algorithm ParPyNNDescent --dataset msspacev-1M --definitions thread_96.yaml --rebuild
python3.10 run.py --algorithm ParHNSW --dataset msspacev-1M --definitions thread_96.yaml --rebuild