generate_raw_data_bs_const_db.sh 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. echo "Running the Binary Experiments (Basic)"
  2. cd ..
  3. nitrs=20
  4. for itr in $(seq 1 $nitrs); do
  5. echo $itr
  6. echo "bssize: 16\nis_optimized: 0\n" > "repro/data/log_basic_bs_preproc_16_itr_$itr"
  7. ./docker/run-experiment -p m:17 r17:17 c:17 p:64 >> "repro/data/log_basic_bs_preproc_16_itr_$itr"
  8. echo "preprocessing_bs_16 (basic preproc) - iteration $itr"
  9. echo "bssize: 16\nis_optimized: 0\n" > "repro/data/log_basic_bs_online_16_itr_$itr"
  10. ./docker/run-experiment -t 64 bbsearch 16 >> "repro/data/log_basic_bs_online_16_itr_$itr"
  11. echo "preprocessing_bs_16 (basic online) - iteration $itr"
  12. done
  13. nitrs=20
  14. for itr in $(seq 1 $nitrs); do
  15. echo "bssize: 18\nis_optimized: 0\n" > "repro/data/log_basic_bs_preproc_18_itr_$itr"
  16. ./docker/run-experiment -p m:19 r19:19 c:19 p:64 >> "repro/data/log_basic_bs_preproc_18_itr_$itr"
  17. echo "preprocessing_bs_18 (basic online)"
  18. echo "bssize: 18\nis_optimized: 0\n" > "repro/data/log_basic_bs_online_18_itr_$itr"
  19. ./docker/run-experiment -t 64 bbsearch 16 >> "repro/data/log_basic_bs_online_18_itr_$itr"
  20. echo "preprocessing_bs_18 (basic online)"
  21. done
  22. nitrs=20
  23. for itr in $(seq 1 $nitrs); do
  24. echo "bssize: 20\nis_optimized: 0\n" > "repro/data/log_basic_bs_preproc_20_itr_$itr"
  25. ./docker/run-experiment -p m:21 r21:21 c:21 p:64 >> "repro/data/log_basic_bs_preproc_20_itr_$itr"
  26. echo "preprocessing_bs_20 (basic preproc)"
  27. echo "bssize: 20\nis_optimized: 0\n" > "repro/data/log_basic_bs_online_20_itr_$itr"
  28. ./docker/run-experiment -t 64 bbsearch 16 >> "repro/data/log_basic_bs_online_20_itr_$itr"
  29. echo "preprocessing_bs_20 (basic online)"
  30. done
  31. nitrs=10
  32. for itr in $(seq 1 $nitrs); do
  33. echo "bssize: 22\nis_optimized: 0\n" > "repro/data/log_basic_bs_preproc_22_itr_$itr"
  34. ./docker/run-experiment -p m:23 r23:23 c:23 p:64 >> "repro/data/log_basic_bs_preproc_22_itr_$itr"
  35. echo "preprocessing_bs_22 (basic preproc)"
  36. echo "bssize: 22\nis_optimized: 0\n" > "repro/data/log_basic_bs_online_22_itr_$itr"
  37. ./docker/run-experiment -t 64 bbsearch 16 >> "repro/data/log_basic_bs_online_22_itr_$itr"
  38. echo "preprocessing_bs_22 (basic online)"
  39. done
  40. nitrs=10
  41. for itr in $(seq 1 $nitrs); do
  42. echo "bssize: 24\nis_optimized: 0\n" > "repro/data/log_basic_bs_preproc_24_itr_$itr"
  43. ./docker/run-experiment -p m:25 r25:25 c:25 p:64 >> "repro/data/log_basic_bs_preproc_24_itr_$itr"
  44. echo "preprocessing_bs_24 (basic preproc)"
  45. echo "bssize: 24\nis_optimized: 0\n" > "repro/data/log_basic_bs_online_24_itr_$itr"
  46. ./docker/run-experiment -t 64 bbsearch 16 >> "repro/data/log_basic_bs_online_24_itr_$itr"
  47. echo "preprocessing_bs_24 (basic online)"
  48. done
  49. nitrs=5
  50. for itr in $(seq 1 $nitrs); do
  51. echo "bssize: 26\nis_optimized: 0\n" > "repro/data/log_basic_bs_preproc_26_itr_$itr"
  52. ./docker/run-experiment -p m:27 r27:27 c:27 p:64 >> "repro/data/log_basic_bs_preproc_26_itr_$itr"
  53. echo "bssize: 26\nis_optimized: 0\n" > "repro/data/log_basic_bs_online_26_itr_$itr"
  54. ./docker/run-experiment -t 64 bbsearch 16 >> "repro/data/log_basic_bs_online_26_itr_$itr"
  55. echo "preprocessing_bs_26 (basic online)"
  56. done
  57. echo "Running the Binary Search Experiments (Optimized)"
  58. nitrs=10
  59. for itr in $(seq 1 $nitrs); do
  60. echo "bssize: 16\nis_optimized: 1\n" > "repro/data/log_opt_bs_preproc_16_itr_$itr"
  61. ./docker/run-experiment -p i16:1 c:17 p:64 >> "repro/data/log_opt_bs_preproc_16_itr_$itr"
  62. echo "preprocessing_bs_16 (opt preproc)"
  63. echo "bssize: 16\nis_optimized: 1\n" > "repro/data/log_opt_bs_online_16_itr_$itr"
  64. ./docker/run-experiment -t 64 bsearch 16 >> "repro/data/log_opt_bs_online_16_itr_$itr"
  65. echo "preprocessing_bs_16 (opt online)"
  66. echo "bssize: 18\nis_optimized: 1\n" > "repro/data/log_opt_bs_preproc_18_itr_$itr"
  67. ./docker/run-experiment -p i18:1 c:19 p:64 >> "repro/data/log_opt_bs_preproc_18_itr_$itr"
  68. echo "preprocessing_bs_18 (opt preproc)"
  69. echo "bssize: 18\nis_optimized: 1\n" > "repro/data/log_opt_bs_online_18_itr_$itr"
  70. ./docker/run-experiment -t 64 bsearch 18 >> "repro/data/log_opt_bs_online_18_itr_$itr"
  71. echo "preprocessing_bs_18 (opt online)"
  72. echo "bssize: 20\nis_optimized: 1\n" > "repro/data/log_opt_bs_preproc_20_itr_$itr"
  73. ./docker/run-experiment -p i20:1 c:21 p:64 >> "repro/data/log_opt_bs_preproc_20_itr_$itr"
  74. echo "preprocessing_bs_20 (opt preproc)"
  75. echo "bssize: 20\nis_optimized: 1\n" > "repro/data/log_opt_bs_online_20_itr_$itr"
  76. ./docker/run-experiment -t 64 bsearch 20 >> "repro/data/log_opt_bs_online_20_itr_$itr"
  77. echo "preprocessing_bs_20 (opt online)"
  78. echo "bssize: 22\nis_optimized: 1\n" > "repro/data/log_opt_bs_preproc_22_itr_$itr"
  79. ./docker/run-experiment -p i22:1 c:23 p:64 >> "repro/data/log_opt_bs_preproc_22_itr_$itr"
  80. echo "preprocessing_bs_22 (opt preproc)"
  81. echo "bssize: 22\nis_optimized: 1\n" > "repro/data/log_opt_bs_online_22_itr_$itr"
  82. ./docker/run-experiment -t 64 bsearch 22 >> "repro/data/log_opt_bs_online_22_itr_$itr"
  83. echo "preprocessing_bs_22 (opt online)"
  84. echo "bssize: 24\nis_optimized: 1\n" > "repro/data/log_opt_bs_preproc_24_itr_$itr"
  85. ./docker/run-experiment -p i24:1 c:25 p:64 >> "repro/data/log_opt_bs_preproc_24_itr_$itr"
  86. echo "preprocessing_bs_24 (opt preproc)"
  87. echo "bssize: 24\nis_optimized: 1\n" > "repro/data/log_opt_bs_online_24_itr_$itr"
  88. ./docker/run-experiment -t 64 bsearch 24 >> "repro/data/log_opt_bs_online_24_itr_$itr"
  89. echo "preprocessing_bs_24 (opt online)"
  90. echo "bssize: 26\nis_optimized: 1\n" > "repro/data/log_opt_bs_preproc_26_itr_$itr"
  91. ./docker/run-experiment -p i26:1 c:27 p:64 >> "repro/data/log_opt_bs_preproc_26_itr_$itr"
  92. echo "preprocessing_bs_26 (opt preproc)"
  93. echo "bssize: 26\nis_optimized: 1\n" > "repro/data/log_opt_bs_online_26_itr_$itr"
  94. ./docker/run-experiment -t 64 bsearch 26 >> "repro/data/log_opt_bs_online_26_itr_$itr"
  95. echo "preprocessing_bs_26 (opt online)"
  96. done