generate_raw_data_reads_const_db.sh 390 B

123456789101112131415161718
  1. #!/bin/bash
  2. # Usage: ./generate_raw_data_reads_const_db.sh [niters]
  3. nitrs=1
  4. if [ "$1" != "" ]; then
  5. nitrs="$1"
  6. fi
  7. cd ..
  8. mkdir -p repro/data
  9. for itr in $(seq 1 $nitrs); do
  10. for n in 16 32 64 128 256 512 1024 2048; do
  11. now=`date`; echo "$now: Running ${n} reads on DB of size 2^20 ..."
  12. Docker/run-experiment 20 ${n} >> repro/data/log_20_${n}_reads.out
  13. done
  14. done