generate_raw_data_bs_const_db.sh 402 B

123456789101112131415161718
  1. #!/bin/bash
  2. # Usage: ./generate_raw_data_bs_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 num in 4 8 16 32 64; do
  11. ops=$((num * 20))
  12. now=`date`; echo "$now: Running ${num} searches on DB of size 2^20 ..."
  13. Docker/run-experiment 20 ${ops} >> repro/data/log_20_${num}_bs.out
  14. done
  15. done