-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun.sh
executable file
·455 lines (376 loc) · 18.6 KB
/
run.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
#!/bin/bash
# THREADS=(1 4 8 12 16 20 24 32 36 40 48 62 72 80 90)
# VALUE_SIZES=(64 128 256 512 1024 2048 4096)
# go to root (./)
cd "$( dirname "${BASH_SOURCE[0]}" )"
outfile_dir="data"
THREADS=(1 4 8 12 16 20 24 32 36 40 48 62 72 80)
TASK_LENGTH=30 # length of each workload in second
REPEAT_NUM=3 # number of trials
# txMontage persistent lockfree hashtable that supports transactions
pm_ht_plain="txMontageLfHashTable<uint64_t>"
# Medley transient lockfree hashtable that supports transactions
dram_ht_plain=(
"MedleyLfHashTable<uint64_t>"
)
# OneFile-backed lockfree hashtable that supports transactions
of_ht_plain=(
"OneFileHashTable<uint64_t>"
"POneFileHashTable<uint64_t>"
)
# txMontage persistent lockfree skiplist that supports transactions
pm_sl_plain="txMontageFraserSkipList<uint64_t>"
# Medley transient lockfree skiplist that supports transactions
dram_sl_plain=(
"MedleyFraserSkipList<uint64_t>"
)
# OneFile-backed lockfree skiplist that supports transactions
of_sl_plain=(
"OneFileSkipList<uint64_t>"
"POneFileSkipList<uint64_t>"
)
# TDSL-backed lockfree skiplist that supports transactions
tdsl_sl_plain="TDSLSkipList<uint64_t>"
# LFTT-backed lockfree skiplist that supports transactions
lftt_sl_plain="LFTTSkipList<uint64_t>"
# Baseline test without any transaction
no_map_test_write="TxnMapChurnTest<uint64_t:None>:txn10:g0p0i50rm50:range=1000000:prefill=500000"
no_map_test_readmost="TxnMapChurnTest<uint64_t:None>:txn10:g90p0i5rm5:range=1000000:prefill=500000"
no_map_test_5050="TxnMapChurnTest<uint64_t:None>:txn10:g50p0i25rm25:range=1000000:prefill=500000"
# Transaction test for Medley/txMontage
txmon_map_test_write="TxnMapChurnTest<uint64_t:NBTC>:txn10:g0p0i50rm50:range=1000000:prefill=500000"
txmon_map_test_readmost="TxnMapChurnTest<uint64_t:NBTC>:txn10:g90p0i5rm5:range=1000000:prefill=500000"
txmon_map_test_5050="TxnMapChurnTest<uint64_t:NBTC>:txn10:g50p0i25rm25:range=1000000:prefill=500000"
# Transaction test for OneFile
of_map_test_write="TxnMapChurnTest<uint64_t:OneFile>:txn10:g0p0i50rm50:range=1000000:prefill=500000"
of_map_test_readmost="TxnMapChurnTest<uint64_t:OneFile>:txn10:g90p0i5rm5:range=1000000:prefill=500000"
of_map_test_5050="TxnMapChurnTest<uint64_t:OneFile>:txn10:g50p0i25rm25:range=1000000:prefill=500000"
# Transaction test for TDSL
tdsl_map_test_write="TxnMapChurnTest<uint64_t:TDSL>:txn10:g0p0i50rm50:range=1000000:prefill=500000"
tdsl_map_test_readmost="TxnMapChurnTest<uint64_t:TDSL>:txn10:g90p0i5rm5:range=1000000:prefill=500000"
tdsl_map_test_5050="TxnMapChurnTest<uint64_t:TDSL>:txn10:g50p0i25rm25:range=1000000:prefill=500000"
# Transaction test for LFTT
lftt_map_test_write="TxnMapChurnTest<uint64_t:LFTT>:txn10:g0p0i50rm50:range=1000000:prefill=500000"
lftt_map_test_readmost="TxnMapChurnTest<uint64_t:LFTT>:txn10:g90p0i5rm5:range=1000000:prefill=500000"
lftt_map_test_5050="TxnMapChurnTest<uint64_t:LFTT>:txn10:g50p0i25rm25:range=1000000:prefill=500000"
# TPCC test for Medley/txMontage, Onefile, and TDSL
tpcc_mon="TPCC<NBTC>"
tpcc_of="TPCC<OneFile>"
tpcc_tdsl="TPCC<TDSL>"
delete_heap_file(){
# rm -rf /mnt/pmem/${USER}* /mnt/pmem/savitar.cat /mnt/pmem/psegments
# rm -f /mnt/pmem/*.log /mnt/pmem/snapshot*
rm -rf /mnt/pmem/*
sleep 1
}
ht_init(){
echo "Running hash tables, g0i50r50, g50i25r25 and g90i5r5 for $TASK_LENGTH seconds"
rm -rf $outfile_dir/hts_g0i50r50_thread.csv $outfile_dir/hts_g50i25r25_thread.csv $outfile_dir/hts_g90i5r5_thread.csv
echo "thread,ops,ds,test" > $outfile_dir/hts_g0i50r50_thread.csv
echo "thread,ops,ds,test" > $outfile_dir/hts_g50i25r25_thread.csv
echo "thread,ops,ds,test" > $outfile_dir/hts_g90i5r5_thread.csv
}
ht_execute(){
make clean;make -j
ht_init
# 1. Transient Medley
for ((i=1; i<=REPEAT_NUM; ++i))
do
for threads in "${THREADS[@]}"
do
for rideable in "${dram_ht_plain[@]}"
do
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $rideable -M $txmon_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/hts_g0i50r50_thread.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $rideable -M $txmon_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/hts_g50i25r25_thread.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $rideable -M $txmon_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/hts_g90i5r5_thread.csv
done
done
done
# 2. Persistent txMontage
for ((i=1; i<=REPEAT_NUM; ++i))
do
for threads in "${THREADS[@]}"
do
# delete_heap_file
# echo -n "g0i50r50,"
# ./bin/main -R $pm_ht_plain -M $txmon_map_test_write -t $threads -i $TASK_LENGTH -dLiveness=Blocking | tee -a $outfile_dir/hts_g0i50r50_thread.csv
# delete_heap_file
# echo -n "g50i25r25,"
# ./bin/main -R $pm_ht_plain -M $txmon_map_test_5050 -t $threads -i $TASK_LENGTH -dLiveness=Blocking | tee -a $outfile_dir/hts_g50i25r25_thread.csv
# delete_heap_file
# echo -n "g90i5r5,"
# ./bin/main -R $pm_ht_plain -M $txmon_map_test_readmost -t $threads -i $TASK_LENGTH -dLiveness=Blocking | tee -a $outfile_dir/hts_g90i5r5_thread.csv
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $pm_ht_plain -M $txmon_map_test_write -t $threads -i $TASK_LENGTH -dLiveness=Nonblocking | tee -a $outfile_dir/hts_g0i50r50_thread.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $pm_ht_plain -M $txmon_map_test_5050 -t $threads -i $TASK_LENGTH -dLiveness=Nonblocking | tee -a $outfile_dir/hts_g50i25r25_thread.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $pm_ht_plain -M $txmon_map_test_readmost -t $threads -i $TASK_LENGTH -dLiveness=Nonblocking | tee -a $outfile_dir/hts_g90i5r5_thread.csv
done
done
# 3. OneFile
for ((i=1; i<=REPEAT_NUM; ++i))
do
for threads in "${THREADS[@]}"
do
for rideable in "${of_ht_plain[@]}"
do
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $rideable -M $of_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/hts_g0i50r50_thread.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $rideable -M $of_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/hts_g50i25r25_thread.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $rideable -M $of_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/hts_g90i5r5_thread.csv
done
done
done
}
sl_init(){
echo "Running skiplists, g0i50r50, g50i25r25 and g90i5r5 for $TASK_LENGTH seconds"
rm -rf $outfile_dir/sls_g0i50r50_thread.csv $outfile_dir/sls_g50i25r25_thread.csv $outfile_dir/sls_g90i5r5_thread.csv
echo "thread,ops,ds,test" > $outfile_dir/sls_g0i50r50_thread.csv
echo "thread,ops,ds,test" > $outfile_dir/sls_g50i25r25_thread.csv
echo "thread,ops,ds,test" > $outfile_dir/sls_g90i5r5_thread.csv
}
sl_execute(){
make clean;make -j
sl_init
# 1. Transient Medley
for ((i=1; i<=REPEAT_NUM; ++i))
do
for threads in "${THREADS[@]}"
do
for rideable in "${dram_sl_plain[@]}"
do
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $rideable -M $txmon_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_g0i50r50_thread.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $rideable -M $txmon_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_g50i25r25_thread.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $rideable -M $txmon_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_g90i5r5_thread.csv
done
done
done
# 2. Persistent txMontage
for ((i=1; i<=REPEAT_NUM; ++i))
do
for threads in "${THREADS[@]}"
do
# delete_heap_file
# echo -n "g0i50r50,"
# ./bin/main -R $pm_sl_plain -M $txmon_map_test_write -t $threads -i $TASK_LENGTH -dLiveness=Blocking | tee -a $outfile_dir/sls_g0i50r50_thread.csv
# delete_heap_file
# echo -n "g50i25r25,"
# ./bin/main -R $pm_sl_plain -M $txmon_map_test_5050 -t $threads -i $TASK_LENGTH -dLiveness=Blocking | tee -a $outfile_dir/sls_g50i25r25_thread.csv
# delete_heap_file
# echo -n "g90i5r5,"
# ./bin/main -R $pm_sl_plain -M $txmon_map_test_readmost -t $threads -i $TASK_LENGTH -dLiveness=Blocking | tee -a $outfile_dir/sls_g90i5r5_thread.csv
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $pm_sl_plain -M $txmon_map_test_write -t $threads -i $TASK_LENGTH -dLiveness=Nonblocking | tee -a $outfile_dir/sls_g0i50r50_thread.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $pm_sl_plain -M $txmon_map_test_5050 -t $threads -i $TASK_LENGTH -dLiveness=Nonblocking | tee -a $outfile_dir/sls_g50i25r25_thread.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $pm_sl_plain -M $txmon_map_test_readmost -t $threads -i $TASK_LENGTH -dLiveness=Nonblocking | tee -a $outfile_dir/sls_g90i5r5_thread.csv
done
done
# 3. OneFile
for ((i=1; i<=REPEAT_NUM; ++i))
do
for threads in "${THREADS[@]}"
do
for rideable in "${of_sl_plain[@]}"
do
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $rideable -M $of_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_g0i50r50_thread.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $rideable -M $of_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_g50i25r25_thread.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $rideable -M $of_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_g90i5r5_thread.csv
done
done
done
# 4. TDSL
for ((i=1; i<=REPEAT_NUM; ++i))
do
for threads in "${THREADS[@]}"
do
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $tdsl_sl_plain -M $tdsl_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_g0i50r50_thread.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $tdsl_sl_plain -M $tdsl_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_g50i25r25_thread.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $tdsl_sl_plain -M $tdsl_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_g90i5r5_thread.csv
done
done
# 5. LFTT
### Integrating LFTT into our testing framework results in slow
### performance. We can't figure out why and which side the bug is
### on, so we instead run it with its native testing framework for fairness.
ext/lftt/txn_run.sh
}
tpcc_init(){
echo "Running tpcc on hash tables for $TASK_LENGTH seconds"
rm -rf $outfile_dir/tpcc.csv
echo "thread,ops,ds,test" > $outfile_dir/tpcc.csv
}
tpcc_execute(){
tpcc_init
for ((i=1; i<=REPEAT_NUM; ++i))
do
make clean;make medley_tpcc -j
for threads in "${THREADS[@]}"
do
delete_heap_file
./bin/main -R ${dram_sl_plain[0]} -M $tpcc_mon -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/tpcc.csv
done
make clean;make txmon_tpcc -j
for threads in "${THREADS[@]}"
do
delete_heap_file
./bin/main -R $pm_sl_plain -M $tpcc_mon -t $threads -dLiveness=Nonblocking -i $TASK_LENGTH | tee -a $outfile_dir/tpcc.csv
done
make clean;make of_tpcc -j
for threads in "${THREADS[@]}"
do
delete_heap_file
./bin/main -R ${of_sl_plain[0]} -M $tpcc_of -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/tpcc.csv
done
### Too slow to finish, skipping
# make clean;make pof_tpcc -j
# for threads in "${THREADS[@]}"
# do
# delete_heap_file
# ./bin/main -R ${of_sl_plain[1]} -M $tpcc_of -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/tpcc.csv
# done
make clean;make tdsl_tpcc -j
for threads in "${THREADS[@]}"
do
delete_heap_file
./bin/main -R $tdsl_sl_plain -M $tpcc_tdsl -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/tpcc.csv
done
done
}
sls_latency_init(){
echo "Running latency on skiplist for $TASK_LENGTH seconds"
rm -rf $outfile_dir/sls_latency.csv
echo "thread,ops,ds,test" > $outfile_dir/sls_latency.csv
}
sls_latency_execute(){
sls_latency_init
threads=40
make clean;make -j
for ((i=1; i<=REPEAT_NUM; ++i))
do
# Original DRAM
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R "FraserSkipList<uint64_t>" -M $no_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R "FraserSkipList<uint64_t>" -M $no_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R "FraserSkipList<uint64_t>" -M $no_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
# Original NVM
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R "NVMFraserSkipList<uint64_t>" -M $no_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R "NVMFraserSkipList<uint64_t>" -M $no_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R "NVMFraserSkipList<uint64_t>" -M $no_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
# Medley no txn
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R ${dram_sl_plain[0]} -M $no_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R ${dram_sl_plain[0]} -M $no_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R ${dram_sl_plain[0]} -M $no_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
# Montage no txn no persist
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $pm_sl_plain -M $no_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $pm_sl_plain -M $no_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $pm_sl_plain -M $no_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
# Montage no txn persist
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $pm_sl_plain -M $no_map_test_write -t $threads -dLiveness=Nonblocking -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $pm_sl_plain -M $no_map_test_5050 -t $threads -dLiveness=Nonblocking -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $pm_sl_plain -M $no_map_test_readmost -t $threads -dLiveness=Nonblocking -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
# Medley txn
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R ${dram_sl_plain[0]} -M $txmon_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R ${dram_sl_plain[0]} -M $txmon_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R ${dram_sl_plain[0]} -M $txmon_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
# Montage txn no persist
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $pm_sl_plain -M $txmon_map_test_write -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $pm_sl_plain -M $txmon_map_test_5050 -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $pm_sl_plain -M $txmon_map_test_readmost -t $threads -dPersistStrat=No -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
# Montage txn persist
delete_heap_file
echo -n "g0i50r50,"
./bin/main -R $pm_sl_plain -M $txmon_map_test_write -t $threads -dLiveness=Nonblocking -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g50i25r25,"
./bin/main -R $pm_sl_plain -M $txmon_map_test_5050 -t $threads -dLiveness=Nonblocking -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
delete_heap_file
echo -n "g90i5r5,"
./bin/main -R $pm_sl_plain -M $txmon_map_test_readmost -t $threads -dLiveness=Nonblocking -i $TASK_LENGTH | tee -a $outfile_dir/sls_latency.csv
done
}
########################
### Main ###
########################
ht_execute
sl_execute
tpcc_execute
sls_latency_execute