generate_raw_data_const_db.sh 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. cd ..
  2. nitrs=10
  3. for itr in $(seq 1 $nitrs); do
  4. echo "heapsize: 4\nis_optimized: 0\n" > "repro/data/log_heap_extract_basic_pre_20_4_itr_$itr"
  5. ./run-experiment -p m:316 a:80 s:76 r20:456 c:160 p:128 >> "repro/data/log_heap_extract_basic_pre_20_4_itr_$itr"
  6. echo "preprocessing_heap_16 (basic preproc)"
  7. echo "heapsize: 4\nis_optimized: 0\n" > "repro/data/log_heap_extract_basic_pre_20_4_itr_$itr"
  8. ./run-experiment -t 16 heap 20 20 0 4 0 >> "repro/data/log_heap_extract_basic_online_20_4_itr_$itr"
  9. echo "preprocessing_heap_16 (basic online)"
  10. echo "heapsize: 4\nis_optimized: 0\n" > "repro/data/log_heap_extract_basic_pre_20_4_itr_$itr"
  11. ./run-experiment -p m:316 a:80 s:76 i19.3:4 c:160 p:128 >> "repro/data/log_heap_extract_opt_pre_20_4_itr_$itr"
  12. echo "preprocessing_heap_16 (opt preproc)"
  13. echo "heapsize: 4\nis_optimized: 0\n" > "repro/data/log_heap_extract_basic_pre_20_4_itr_$itr"
  14. ./run-experiment -t 16 heap 20 20 0 4 1 >> "repro/data/log_heap_extract_opt_online_20_4_itr_$itr"
  15. echo "preprocessing_heap_16 (opt online)":
  16. ./run-experiment -p m:632 a:160 s:152 r20:912 c:320 p:128 >> "repro/data/log_heap_extract_basic_pre_20_8_itr_$itr"
  17. echo "preprocessing_heap_16 (basic preproc)"
  18. ./run-experiment -t 16 heap 20 20 0 8 0 >> "repro/data/log_heap_extract_basic_online_20_8_itr_$itr"
  19. echo "preprocessing_heap_16 (basic online)"
  20. ./run-experiment -p m:632 a:160 s:152 i19.3:8 c:320 p:128 >> "repro/data/log_heap_extract_opt_pre_20_8_itr_$itr"
  21. echo "preprocessing_heap_16 (opt preproc)"
  22. ./run-experiment -t 16 heap 20 20 0 8 1 >> "repro/data/log_heap_extract_opt_online_20_8_itr_$itr"
  23. echo "preprocessing_heap_16 (opt online)":
  24. ./run-experiment -p m:1264 a:320 s:304 r20:1824 c:640 p:128 >> "repro/data/log_heap_extract_basic_pre_20_16_itr_$itr"
  25. echo "preprocessing_heap_16 (basic preproc)"
  26. ./run-experiment -t 16 heap 20 20 0 16 0 >> "repro/data/log_heap_extract_basic_online_20_16_itr_$itr"
  27. echo "preprocessing_heap_16 (basic online)"
  28. ./run-experiment -p m:1264 a:320 s:304 i19.3:16 c:640 p:128 >> "repro/data/log_heap_extract_opt_pre_20_16_itr_$itr"
  29. echo "preprocessing_heap_16 (opt preproc)"
  30. ./run-experiment -t 16 heap 20 20 0 16 1 >> "repro/data/log_heap_extract_opt_online_20_16_itr_$itr"
  31. echo "preprocessing_heap_16 (opt online)":
  32. ./run-experiment -p m:2528 a:640 s:608 r20:3648 c:1280 p:128 >> "repro/data/log_heap_extract_basic_pre_20_32_itr_$itr"
  33. echo "preprocessing_heap_32 (basic preproc)"
  34. ./run-experiment -t 16 heap 20 20 0 32 0 >> "repro/data/log_heap_extract_basic_online_20_32_itr_$itr"
  35. echo "preprocessing_heap_32 (basic online)"
  36. ./run-experiment -p m:2528 a:640 s:608 i19.3:32 c:1280 p:128 >> "repro/data/log_heap_extract_opt_pre_20_32_itr_$itr"
  37. echo "preprocessing_heap_32 (opt preproc)"
  38. ./run-experiment -t 16 heap 20 20 0 32 1 >> "repro/data/log_heap_extract_opt_online_20_32_itr_$itr"
  39. echo "preprocessing_heap_32 (opt online)":
  40. done
  41. echo "Running the Heap Extract Experiments (Basic)"
  42. for itr in $(seq 1 $nitrs); do
  43. echo $itr
  44. echo "heapsize: 16\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_16_itr_$itr"
  45. ./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"
  46. echo "preprocessing_heap_16 (basic preproc) - iteration $itr"
  47. echo "heapsize: 16\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_16_itr_$itr"
  48. ./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"
  49. echo "preprocessing_heap_16 (basic online) - iteration $itr"
  50. done
  51. nitrs=10
  52. for itr in $(seq 1 $nitrs); do
  53. echo "heapsize: 18\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_18_itr_$itr"
  54. ./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"
  55. echo "preprocessing_heap_18 (basic online)"
  56. echo "heapsize: 18\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_18_itr_$itr"
  57. ./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"
  58. echo "preprocessing_heap_18 (basic online)"
  59. done
  60. nitrs=10
  61. for itr in $(seq 1 $nitrs); do
  62. echo "heapsize: 20\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_20_itr_$itr"
  63. ./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"
  64. echo "preprocessing_heap_20 (basic preproc)"
  65. echo "heapsize: 20\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_20_itr_$itr"
  66. ./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"
  67. echo "preprocessing_heap_20 (basic online)"
  68. done
  69. nitrs=10
  70. for itr in $(seq 1 $nitrs); do
  71. echo "heapsize: 22\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_22_itr_$itr"
  72. ./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"
  73. echo "preprocessing_heap_22 (basic preproc)"
  74. echo "heapsize: 22\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_22_itr_$itr"
  75. ./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"
  76. echo "preprocessing_heap_22 (basic online)"
  77. done
  78. nitrs=10
  79. for itr in $(seq 1 $nitrs); do
  80. echo "heapsize: 24\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_24_itr_$itr"
  81. ./docker/run-experiment -p m:69 a:23 s:22 r24:132 c:46 >> "repro/data/log_basic_heap_extract_preproc_24_itr_$itr"
  82. echo "preprocessing_heap_24 (basic preproc)"
  83. echo "heapsize: 24\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_24_itr_$itr"
  84. ./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"
  85. echo "preprocessing_heap_24 (basic online)"
  86. done
  87. nitrs=5
  88. for itr in $(seq 1 $nitrs); do
  89. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_preproc_26_itr_$itr"
  90. ./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"
  91. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/logb_basic_heap_extract_preproc_26_itr_$itr"
  92. ./docker/run-experiment -p -a r26:44 p:8 >> "repro/data/logb_basic_heap_extract_prproc_26_itr_$itr"
  93. echo "preprocessing_heap_26 (basic preproc)"
  94. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/log_basic_heap_extract_online_26_itr_$itr"
  95. ./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"
  96. echo "preprocessing_heap_26 (basic online)"
  97. done
  98. echo "Running the Heap Extract Experiments (Optimized)"
  99. for itr in $(seq 1 $nitrs); do
  100. echo "heapsize: 16\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_16_itr_$itr"
  101. ./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"
  102. echo "preprocessing_heap_16 (opt preproc)"
  103. echo "heapsize: 16\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_16_itr_$itr"
  104. ./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"
  105. echo "preprocessing_heap_16 (opt online)"
  106. echo "heapsize: 18\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_18_itr_$itr"
  107. ./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"
  108. echo "preprocessing_heap_18 (opt preproc)"
  109. echo "heapsize: 18\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_18_itr_$itr"
  110. ./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"
  111. echo "preprocessing_heap_18 (opt online)"
  112. echo "heapsize: 20\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_20_itr_$itr"
  113. ./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"
  114. echo "preprocessing_heap_20 (opt preproc)"
  115. echo "heapsize: 20\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_20_itr_$itr"
  116. ./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"
  117. echo "preprocessing_heap_20 (opt online)"
  118. echo "heapsize: 22\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_22_itr_$itr"
  119. ./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"
  120. echo "preprocessing_heap_22 (opt preproc)"
  121. echo "heapsize: 22\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_22_itr_$itr"
  122. ./docker/run-experiment -t 16 heap -m 22 -d 22 -i 0 -e 1 -opt 1 -s 1 -itr itr >> "repro/data/log_opt_heap_extract_online_22_itr_$itr"
  123. echo "preprocessing_heap_22 (opt online)"
  124. echo "heapsize: 24\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_24_itr_$itr"
  125. ./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"
  126. echo "preprocessing_heap_24 (opt preproc)"
  127. echo "heapsize: 24\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_24_itr_$itr"
  128. ./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"
  129. echo "preprocessing_heap_24 (opt online)"
  130. echo "heapsize: 26\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_preproc_26_itr_$itr"
  131. ./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"
  132. echo "preprocessing_heap_26 (opt preproc)"
  133. echo "heapsize: 26\nis_optimized: 1\n" > "repro/data/log_opt_heap_extract_online_26_itr_$itr"
  134. ./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"
  135. echo "preprocessing_heap_26 (opt online)"
  136. done
  137. echo "Basic Insert Experiments\n"
  138. for itr in $(seq 1 $nitrs); do
  139. echo "heapsize: 16\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_16_itr_$itr"
  140. ./docker/run-experiment -p m:16 c:16 >> "repro/data/log_basic_heap_insert_preproc_16_itr_$itr"
  141. echo "heapsize: 16\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_16_itr_$itr"
  142. ./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"
  143. echo "heapsize: 18\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_18_itr_$itr"
  144. ./docker/run-experiment -p m:18 c:18 >> "repro/data/log_basic_heap_insert_preproc_18_itr_$itr"
  145. echo "heapsize: 18\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_18_itr_$itr"
  146. ./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"
  147. echo "heapsize: 20\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_20_itr_$itr"
  148. ./docker/run-experiment -p m:60 a:20 c:40 >> "repro/data/log_basic_heap_insert_preproc_20_itr_$itr"
  149. echo "heapsize: 20\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_20_itr_$itr"
  150. ./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"
  151. echo "heapsize: 22\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_22_itr_$itr"
  152. ./docker/run-experiment -p m:22 c:22 >> "repro/data/log_basic_heap_insert_preproc_22_itr_$itr"
  153. echo "heapsize: 22\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_22_itr_$itr"
  154. ./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"
  155. echo "heapsize: 24\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_24_itr_$itr"
  156. ./docker/run-experiment -p m:24 c:24 >> "repro/data/log_basic_heap_insert_preproc_24_itr_$itr"
  157. echo "heapsize: 24\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_24_itr_$itr"
  158. ./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"
  159. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_preproc_26_itr_$itr"
  160. ./docker/run-experiment -p m:26 c:26 >> "repro/data/log_basic_heap_insert_preproc_26_itr_$itr"
  161. echo "heapsize: 26\nis_optimized: 0\n" > "repro/data/log_basic_heap_insert_online_26_itr_$itr"
  162. ./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"
  163. done
  164. echo "Optimized Insert Experiments\n"
  165. for itr in $(seq 1 $nitrs); do
  166. echo "heapsize: 16\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_16_itr_$itr"
  167. ./docker/run-experiment -p m:36 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_16_itr_$itr"
  168. echo "heapsize: 16\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_16_itr_$itr"
  169. ./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"
  170. echo "done"
  171. echo "heapsize: 18\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_18_itr_$itr"
  172. ./docker/run-experiment -p m:40 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_18_itr_$itr"
  173. echo "heapsize: 18\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_18_itr_$itr"
  174. ./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"
  175. echo "done"
  176. echo "heapsize: 20\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_20_itr_$itr"
  177. ./docker/run-experiment -p T0 m:44 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_20_itr_$itr"
  178. echo "heapsize: 20\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_20_itr_$itr"
  179. ./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"
  180. echo "done"
  181. echo "heapsize: 22\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_22_itr_$itr"
  182. ./docker/run-experiment -p T0 m:48 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_22_itr_$itr"
  183. echo "heapsize: 22\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_22_itr_$itr"
  184. ./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"
  185. echo "done"
  186. echo "heapsize: 24\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_24_itr_$itr"
  187. ./docker/run-experiment -p T0 m:52 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_24_itr_$itr"
  188. echo "heapsize: 24\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_24_itr_$itr"
  189. ./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"
  190. echo "done"
  191. echo "heapsize: 26\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_preproc_26_itr_$itr"
  192. ./docker/run-experiment -p T0 m:56 r6:1 i4:1 c:5 >> "repro/data/log_opt_heap_insert_preproc_26_itr_$itr"
  193. echo "heapsize: 26\nis_optimized: 1\n" > "repro/data/log_opt_heap_insert_online_26_itr_$itr"
  194. ./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"
  195. echo "done"
  196. done