-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_all.sh
executable file
·133 lines (87 loc) · 8.76 KB
/
run_all.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
export RUSTFLAGS="-C target-cpu=native"
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst
echo "############################################ N = 0"
######## N = 0
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 512 -o mainnet_512b.bin -n 0
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_512b.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 1024 -o mainnet_1k.bin -n 0
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_1k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 2048 -o mainnet_2k.bin -n 0
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_2k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 4096 -o mainnet_4k.bin -n 0
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_4k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 8192 -o mainnet_8k.bin -n 0
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_8k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 16384 -o mainnet_16k.bin -n 0
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_16k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 32768 -o mainnet_32k.bin -n 0
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_32k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 65536 -o mainnet_64k.bin -n 0
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_64k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 131072 -o mainnet_128k.bin -n 0
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_128k.bin
######## N = 1
echo "############################################ N = 1"
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 512 -o mainnet_512b.bin -n 1
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_512b.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 1024 -o mainnet_1k.bin -n 1
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_1k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 2048 -o mainnet_2k.bin -n 1
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_2k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 4096 -o mainnet_4k.bin -n 1
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_4k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 8192 -o mainnet_8k.bin -n 1
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_8k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 16384 -o mainnet_16k.bin -n 1
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_16k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 32768 -o mainnet_32k.bin -n 1
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_32k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 65536 -o mainnet_64k.bin -n 1
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_64k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 131072 -o mainnet_128k.bin -n 1
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_128k.bin
echo "############################################ N = 2"
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 512 -o mainnet_512b.bin -n 2
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_512b.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 1024 -o mainnet_1k.bin -n 2
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_1k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 2048 -o mainnet_2k.bin -n 2
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_2k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 4096 -o mainnet_4k.bin -n 2
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_4k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 8192 -o mainnet_8k.bin -n 2
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_8k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 16384 -o mainnet_16k.bin -n 2
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_16k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 32768 -o mainnet_32k.bin -n 2
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_32k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 65536 -o mainnet_64k.bin -n 2
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_64k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 131072 -o mainnet_128k.bin -n 2
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_128k.bin
echo "############################################ N = 3"
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 512 -o mainnet_512b.bin -n 3
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_512b.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 1024 -o mainnet_1k.bin -n 3
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_1k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 2048 -o mainnet_2k.bin -n 3
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_2k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 4096 -o mainnet_4k.bin -n 3
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_4k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 8192 -o mainnet_8k.bin -n 3
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_8k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 16384 -o mainnet_16k.bin -n 3
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_16k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 32768 -o mainnet_32k.bin -n 3
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_32k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 65536 -o mainnet_64k.bin -n 3
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_64k.bin
cargo run --release --bin solana-accountsdb-dictionary-creator -- -a mainnet.tar.zst -d 131072 -o mainnet_128k.bin -n 3
cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -d mainnet_128k.bin
###### without dictionary
# cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -m 10000000
# cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -s 1
# cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -s 3
# cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -s 8
# cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -s 10
# cargo run --release --bin solana-accountsdb-dictionary-tester -- -a mainnet.tar.zst -s 100