-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexperiments.sh
executable file
·43 lines (37 loc) · 2.45 KB
/
experiments.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
#!/bin/bash
# Real world workload, collateral locked for one week, simulating two weeks warmup and four weeks detailed
for b in {1000..5000..1000}
do
rm -f simulation.log
~/pypy3.9-v7.3.9-linux64/bin/pypy3 ./simulator.py --ars-file input/ars_20220804.csv.bz2 --data-requests-file input/data_requests_202206.csv.bz2,input/data_requests_202207.csv.bz2 --collateral-locked 13440 --warmup-epochs 26880 --simulation-epochs 53760 --balance ${b}
done
# Real world workload, collateral locked for one week, simulating two weeks warmup and four weeks detailed
for b in {1000..5000..1000}
do
rm -f simulation.log
~/pypy3.9-v7.3.9-linux64/bin/pypy3 ./simulator.py --ars-file input/ars_20220804.csv.bz2 --data-requests-file input/data_requests_202206.csv.bz2,input/data_requests_202207.csv.bz2 --collateral-locked 26880 --warmup-epochs 26880 --simulation-epochs 53760 --balance ${b}
done
# Synthetic workload with 2 data requests per second, collateral locked for one week, simulating two weeks warmup and four weeks detailed
for b in {1000..5000..1000}
do
rm -f simulation.log
~/pypy3.9-v7.3.9-linux64/bin/pypy3 ./simulator.py --ars-file input/ars_20220804.csv.bz2 --avg-data-requests 2 --collateral-locked 13440 --warmup-epochs 26880 --simulation-epochs 53760 --balance ${b}
done
# Synthetic workload with 2 data requests per second, collateral locked for two weeks, simulating two weeks warmup and four weeks detailed
for b in {1000..8000..1000}
do
rm -f simulation.log
~/pypy3.9-v7.3.9-linux64/bin/pypy3 ./simulator.py --ars-file input/ars_20220804.csv.bz2 --avg-data-requests 2 --collateral-locked 26880 --warmup-epochs 26880 --simulation-epochs 53760 --balance ${b}
done
# Synthetic workload with 4 data requests per second, collateral locked for one week, simulating two weeks warmup and four weeks detailed
for b in {1000..5000..1000}
do
rm -f simulation.log
~/pypy3.9-v7.3.9-linux64/bin/pypy3 ./simulator.py --ars-file input/ars_20220804.csv.bz2 --avg-data-requests 4 --collateral-locked 13440 --warmup-epochs 26880 --simulation-epochs 53760 --balance ${b}
done
# Synthetic workload with 4 data requests per second, collateral locked for two weeks, simulating two weeks warmup and four weeks detailed
for b in {1000..8000..1000}
do
rm -f simulation.log
~/pypy3.9-v7.3.9-linux64/bin/pypy3 ./simulator.py --ars-file input/ars_20220804.csv.bz2 --avg-data-requests 4 --collateral-locked 26880 --warmup-epochs 26880 --simulation-epochs 53760 --balance ${b}
done