generate_raw_data.sh 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. # This generates the raw data for all all the small (n <= 2^26) heap experiments
  2. echo "Running the Heap Extract Experiments (Basic)"
  3. cd ..
  4. nitrs=1
  5. for itr in $(seq 1 $nitrs); do
  6. echo "heapsize: 16\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_16_itr_$itr"
  7. ./docker/run-experiment -p m:63 a:16 s:15 r16:90 c:32 p:128 >> "repro/data/log_basic_heap_extract_preproc_16_itr_$itr"
  8. echo "(basic preproc heap size 16), iteration $itr done"
  9. echo "heapsize: 16\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_16_itr_$itr"
  10. ./docker/run-experiment heap -m 16 -d 16 -i 0 -e 1 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_extract_online_16_itr_$itr"
  11. echo "(basic online heap size 16), teration $itr done"
  12. done
  13. nitrs=1
  14. for itr in $(seq 1 $nitrs); do
  15. echo "heapsize: 18\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_18_itr_$itr"
  16. ./docker/run-experiment -p m:71 a:18 s:17 r18:102 c:36 p:128 >> "repro/data/log_basic_heap_extract_preproc_18_itr_$itr"
  17. echo "(basic preproc heapsize 18), iteration $itr done"
  18. echo "heapsize: 18\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_18_itr_$itr"
  19. ./docker/run-experiment heap -m 18 -d 18 -i 0 -e 1 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_extract_online_18_itr_$itr"
  20. echo "(basic online heapsize 18), iteration $itr done"
  21. done
  22. nitrs=1
  23. for itr in $(seq 1 $nitrs); do
  24. echo "heapsize: 20\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_20_itr_$itr"
  25. ./docker/run-experiment -p m:80 a:20 s:19 r20:114 c:40 p:128 >> "repro/data/log_basic_heap_extract_preproc_20_itr_$itr"
  26. echo "(basic preproc heapsize 20), iteration $itr done"
  27. echo "heapsize: 20\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_20_itr_$itr"
  28. ./docker/run-experiment -t 8 heap -m 20 -d 20 -i 0 -e 1 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_extract_online_20_itr_$itr"
  29. echo "(basic online heapsize 20), iteration $itr done"
  30. done
  31. nitrs=1
  32. for itr in $(seq 1 $nitrs); do
  33. echo "heapsize: 22\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_22_itr_$itr"
  34. ./docker/run-experiment -p m:87 a:22 s:21 r22:126 c:44 p:128 >> "repro/data/log_basic_heap_extract_preproc_22_itr_$itr"
  35. echo "(basic preproc heapsize 22), iteration $itr done"
  36. echo "heapsize: 22\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_22_itr_$itr"
  37. ./docker/run-experiment -t 8 heap -m 22 -d 22 -i 0 -e 1 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_extract_online_22_itr_$itr"
  38. echo "(basic online heapsize 22), iteration $itr done"
  39. done
  40. nitrs=1
  41. for itr in $(seq 1 $nitrs); do
  42. echo "heapsize: 24\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_24_itr_$itr"
  43. ./docker/run-experiment -p m:69 a:23 s:22 r24:132 c:46 >> "repro/data/log_basic_heap_extract_preproc_24_itr_$itr"
  44. echo "(basic preproc heapsize 24), iteration $itr done"
  45. echo "heapsize: 24\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_24_itr_$itr"
  46. ./docker/run-experiment -t 8 heap -m 24 -d 24 -i 0 -e 1 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_extract_online_24_itr_$itr"
  47. echo "(basic preproc heapsize 24), iteration $itr done"
  48. done
  49. nitrs=0
  50. for itr in $(seq 1 $nitrs); do
  51. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_26_itr_$itr"
  52. ./docker/run-experiment -p m:75 a:25 s:24 r26:100 c:50 p:8 >> "repro/data/log_basic_heap_extract_preproc_26_itr_$itr"
  53. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/logb_basic_heap_extract_preproc_26_itr_$itr"
  54. ./docker/run-experiment -p -a r26:44 p:8 >> "repro/data/logb_basic_heap_extract_prproc_26_itr_$itr"
  55. echo "preprocessing_heap_26 (basic preproc)"
  56. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_26_itr_$itr"
  57. ./docker/run-experiment -t 8 heap -m 26 -d 26 -i 0 -e 1 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_extract_online_26_itr_$itr"
  58. echo "preprocessing_heap_26 (basic online)"
  59. done
  60. echo "Running the Heap Extract Experiments (Optimized)"
  61. nitrs=1
  62. for itr in $(seq 1 $nitrs); do
  63. echo "heapsize: 16\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_16_itr_$itr"
  64. ./docker/run-experiment -p m:63 a:16 s:15 i15.3:1 c:32 p:128 >> "repro/data/log_opt_heap_extract_preproc_16_itr_$itr"
  65. echo "(optimized preproc heapsize 16), iteration $itr done"
  66. echo "heapsize: 16\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_16_itr_$itr"
  67. ./docker/run-experiment heap -m 16 -d 16 -i 0 -e 1 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_extract_online_16_itr_$itr"
  68. echo "(optimized online heapsize 16), iteration $itr done"
  69. done
  70. nitrs=1
  71. for itr in $(seq 1 $nitrs); do
  72. echo "heapsize: 18\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_18_itr_$itr"
  73. ./docker/run-experiment -p m:71 a:18 s:17 i17.3:1 c:36 p:128 >> "repro/data/log_opt_heap_extract_preproc_18_itr_$itr"
  74. echo "(optimized preproc heapsize 18), iteration $itr done"
  75. echo "heapsize: 18\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_18_itr_$itr"
  76. ./docker/run-experiment heap -m 18 -d 18 -i 0 -e 1 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_extract_online_18_itr_$itr"
  77. echo "(optimized online heapsize 18), iteration $itr done"
  78. done
  79. nitrs=1
  80. for itr in $(seq 1 $nitrs); do
  81. echo "heapsize: 20\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_20_itr_$itr"
  82. ./docker/run-experiment -p m:80 a:20 s:19 i19.3:1 c:40 p:128 >> "repro/data/log_opt_heap_extract_preproc_20_itr_$itr"
  83. echo "(optimized preproc heapsize 20), iteration $itr done"
  84. echo "heapsize: 20\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_20_itr_$itr"
  85. ./docker/run-experiment heap -m 20 -d 20 -i 0 -e 1 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_extract_online_20_itr_$itr"
  86. echo "(optimized online heapsize 20), iteration $itr done"
  87. done
  88. nitrs=1
  89. for itr in $(seq 1 $nitrs); do
  90. echo "heapsize: 22\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_22_itr_$itr"
  91. ./docker/run-experiment -p m:87 a:22 s:21 i21.3:1 c:44 p:128 >> "repro/data/log_opt_heap_extract_preproc_22_itr_$itr"
  92. echo "(optimized preproc heapsize 22), iteration $itr done"
  93. echo "heapsize: 22\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_22_itr_$itr"
  94. ./docker/run-experiment -t 16 heap -m 22 -d 22 -i 0 -e 1 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_extract_online_22_itr_$itr"
  95. echo "(optimized online heapsize 22), iteration $itr done"
  96. done
  97. nitrs=1
  98. for itr in $(seq 1 $nitrs); do
  99. echo "heapsize: 24\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_24_itr_$itr"
  100. ./docker/run-experiment -p m:95 a:24 s:23 i23.3:1 c:48 p:128 >> "repro/data/log_opt_heap_extract_preproc_24_itr_$itr"
  101. echo "(optimized preproc heapsize 24), iteration $itr done"
  102. echo "heapsize: 24\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_24_itr_$itr"
  103. ./docker/run-experiment -t 32 heap -m 24 -d 24 -i 0 -e 1 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_extract_online_24_itr_$itr"
  104. echo "(optimized online heapsize 24), iteration $itr done"
  105. done
  106. nitrs=1
  107. for itr in $(seq 1 $nitrs); do
  108. echo "heapsize: 26\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_26_itr_$itr"
  109. ./docker/run-experiment -p m:103 a:26 s:25 i25.3:1 c:52 p:128 >> "repro/data/log_opt_heap_extract_preproc_26_itr_$itr"
  110. echo "(optimized preproc heapsize 26), iteration $itr done"
  111. echo "heapsize: 26\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_26_itr_$itr"
  112. ./docker/run-experiment -t 64 heap -m 26 -d 26 -i 0 -e 1 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_extract_online_26_itr_$itr"
  113. echo "(optimized online heapsize 26), iteration $itr done"
  114. done
  115. echo "\n\n\n ============================================ [Heap Extract Experiments Complete] ===================================================== \n\n\n"
  116. nitrs=0
  117. echo "Basic Insert Experiments\n"
  118. for itr in $(seq 1 $nitrs); do
  119. echo "heapsize: 16\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_16_itr_$itr"
  120. ./docker/run-experiment -p m:16 c:16 >> "repro/data/log_basic_heap_insert_preproc_16_itr_$itr"
  121. echo "heapsize: 16\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_16_itr_$itr"
  122. ./docker/run-experiment -t 64 heap -m 17 -d 16 -i 1 -e 0 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_insert_online_16_itr_$itr"
  123. echo "heapsize: 18\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_18_itr_$itr"
  124. ./docker/run-experiment -p m:18 c:18 >> "repro/data/log_basic_heap_insert_preproc_18_itr_$itr"
  125. echo "heapsize: 18\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_18_itr_$itr"
  126. ./docker/run-experiment -t 64 heap -m 19 -d 18 -i 1 -e 0 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_insert_online_18_itr_$itr"
  127. echo "heapsize: 20\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_20_itr_$itr"
  128. ./docker/run-experiment -p m:60 a:20 c:40 >> "repro/data/log_basic_heap_insert_preproc_20_itr_$itr"
  129. echo "heapsize: 20\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_20_itr_$itr"
  130. ./docker/run-experiment heap -m 21 -d 20 -i 1 -e 0 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_insert_online_20_itr_$itr"
  131. echo "heapsize: 22\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_22_itr_$itr"
  132. ./docker/run-experiment -p m:22 c:22 >> "repro/data/log_basic_heap_insert_preproc_22_itr_$itr"
  133. echo "heapsize: 22\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_22_itr_$itr"
  134. ./docker/run-experiment heap -m 23 -d 22 -i 1 -e 0 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_insert_online_22_itr_$itr"
  135. echo "heapsize: 24\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_24_itr_$itr"
  136. ./docker/run-experiment -p m:24 c:24 >> "repro/data/log_basic_heap_insert_preproc_24_itr_$itr"
  137. echo "heapsize: 24\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_24_itr_$itr"
  138. ./docker/run-experiment heap -m 25 -d 24 -i 1 -e 0 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_insert_online_24_itr_$itr"
  139. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_26_itr_$itr"
  140. ./docker/run-experiment -p m:26 c:26 >> "repro/data/log_basic_heap_insert_preproc_26_itr_$itr"
  141. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_26_itr_$itr"
  142. ./docker/run-experiment heap -m 27 -d 26 -i 1 -e 0 -opt 0 -s 0 -itr itr >> "repro/data/log_basic_heap_insert_online_26_itr_$itr"
  143. done
  144. echo "Optimized Insert Experiments\n"
  145. for itr in $(seq 1 $nitrs); do
  146. echo "heapsize: 16\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_16_itr_$itr"
  147. ./docker/run-experiment -p m:36 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_16_itr_$itr"
  148. echo "heapsize: 16\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_16_itr_$itr"
  149. ./docker/run-experiment -t 64 heap -m 17 -d 16 -i 1 -e 0 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_insert_online_16_itr_$itr"
  150. echo "done"
  151. echo "heapsize: 18\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_18_itr_$itr"
  152. ./docker/run-experiment -p m:40 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_18_itr_$itr"
  153. echo "heapsize: 18\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_18_itr_$itr"
  154. ./docker/run-experiment -t 64 heap -m 19 -d 18 -i 1 -e 0 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_insert_online_18_itr_$itr"
  155. echo "done"
  156. echo "heapsize: 20\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_20_itr_$itr"
  157. ./docker/run-experiment -p T0 m:44 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_20_itr_$itr"
  158. echo "heapsize: 20\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_20_itr_$itr"
  159. ./docker/run-experiment heap -m 21 -d 20 -i 1 -e 0 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_insert_online_20_itr_$itr"
  160. echo "done"
  161. echo "heapsize: 22\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_22_itr_$itr"
  162. ./docker/run-experiment -p T0 m:48 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_22_itr_$itr"
  163. echo "heapsize: 22\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_22_itr_$itr"
  164. ./docker/run-experiment heap -m 23 -d 22 -i 1 -e 0 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_insert_online_22_itr_$itr"
  165. echo "done"
  166. echo "heapsize: 24\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_24_itr_$itr"
  167. ./docker/run-experiment -p T0 m:52 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_24_itr_$itr"
  168. echo "heapsize: 24\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_24_itr_$itr"
  169. ./docker/run-experiment heap -m 25 -d 24 -i 1 -e 0 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_insert_online_24_itr_$itr"
  170. echo "done"
  171. echo "heapsize: 26\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_26_itr_$itr"
  172. ./docker/run-experiment -p T0 m:56 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_26_itr_$itr"
  173. echo "heapsize: 26\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_26_itr_$itr"
  174. ./docker/run-experiment heap -m 27 -d 26 -i 1 -e 0 -opt 1 -s 0 -itr itr >> "repro/data/log_opt_heap_insert_online_26_itr_$itr"
  175. echo "done"
  176. done