diff --git a/bin/2012-msept/run-benchmark-cycle-async.sh b/bin/2012-msept/run-benchmark-cycle-async.sh index 2f3117615612764bb925432b1c12556e435a2a74..03f3445d01ea429ebd652eda596ef9d9bbbe7f6c 100644 --- a/bin/2012-msept/run-benchmark-cycle-async.sh +++ b/bin/2012-msept/run-benchmark-cycle-async.sh @@ -46,7 +46,7 @@ echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt -echo "MAXRECURSIONDEPTH=${MAXRECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt +echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt sync ## Execute Benchmark @@ -54,8 +54,8 @@ sync for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo "## Starting iteration ${i}/${NUM_LOOPS}" - for ((j=1;j<=${MAXRECURSIONDEPTH};j+=1)); do - echo "# Starting recursion ${i}.${j}/${MAXRECURSIONDEPTH}" + for ((j=1;j<=${RECURSION_DEPTH};j+=1)); do + echo "# Starting recursion ${i}.${j}/${RECURSION_DEPTH}" # 1 No instrumentation echo " # ${i}.1 No instrumentation" diff --git a/bin/2012-msept/run-benchmark-cycle-sync.sh b/bin/2012-msept/run-benchmark-cycle-sync.sh index b99d846d86740c37a18c537eb6cfb8df93c2e0dc..73ff7718d9b889497d38656e34a8187c1ecc557f 100644 --- a/bin/2012-msept/run-benchmark-cycle-sync.sh +++ b/bin/2012-msept/run-benchmark-cycle-sync.sh @@ -46,7 +46,7 @@ echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt -echo "MAXRECURSIONDEPTH=${MAXRECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt +echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt sync ## Execute Benchmark @@ -54,8 +54,8 @@ sync for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo "## Starting iteration ${i}/${NUM_LOOPS}" - for ((j=1;j<=${MAXRECURSIONDEPTH};j+=1)); do - echo "# Starting recursion ${i}.${j}/${MAXRECURSIONDEPTH}" + for ((j=1;j<=${RECURSION_DEPTH};j+=1)); do + echo "# Starting recursion ${i}.${j}/${RECURSION_DEPTH}" # # 1 No instrumentation # echo " # ${i}.1 No instrumentation" diff --git a/bin/2012-msept/run-benchmark-recursive-jmx.sh b/bin/2012-msept/run-benchmark-recursive-jmx.sh index fe308064a902f29950abb7223be0d0888adaac46..e3c3b0d40740d1bb7b9f3fab9635c1200148c35b 100644 --- a/bin/2012-msept/run-benchmark-recursive-jmx.sh +++ b/bin/2012-msept/run-benchmark-recursive-jmx.sh @@ -11,11 +11,11 @@ BASE_DIR= SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 -MAXRECURSIONDEPTH=10 ## 10 +RECURSION_DEPTH=10 ## 10 TOTALCALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 2 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 2 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 2 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 2 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Experiment will take circa ${TIME} seconds." # determine correct classpath separator @@ -61,7 +61,7 @@ echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt -echo "MAXRECURSIONDEPTH=${MAXRECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt +echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt sync ## Execute Benchmark @@ -69,8 +69,8 @@ sync for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo "## Starting iteration ${i}/${NUM_LOOPS}" - for ((j=1;j<=${MAXRECURSIONDEPTH};j+=1)); do - echo "# Starting recursion ${i}.${j}/${MAXRECURSIONDEPTH}" + for ((j=1;j<=${RECURSION_DEPTH};j+=1)); do + echo "# Starting recursion ${i}.${j}/${RECURSION_DEPTH}" # 1 No logging echo " # ${i}.1 No logging (null writer)" diff --git a/bin/2012-msept/run-benchmark-recursive-linear.sh b/bin/2012-msept/run-benchmark-recursive-linear.sh index cf89a5d0a4968bdf74eeaad57471c6f259f3525c..a7f4b3d575edc6ef2267625103a624270ef0ef5e 100644 --- a/bin/2012-msept/run-benchmark-recursive-linear.sh +++ b/bin/2012-msept/run-benchmark-recursive-linear.sh @@ -11,11 +11,11 @@ BASE_DIR= SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 -MAXRECURSIONDEPTH=10 ## 10 +RECURSION_DEPTH=10 ## 10 TOTALCALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Experiment will take circa ${TIME} seconds." # determine correct classpath separator @@ -62,7 +62,7 @@ echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt -echo "MAXRECURSIONDEPTH=${MAXRECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt +echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt sync ## Execute Benchmark @@ -70,9 +70,9 @@ sync for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo "## Starting iteration ${i}/${NUM_LOOPS}" - for ((j=1;j<=${MAXRECURSIONDEPTH};j+=1)); do + for ((j=1;j<=${RECURSION_DEPTH};j+=1)); do RECDEPTH=$[2**($j-1)] - echo "# Starting recursion ${i}.${j}/${MAXRECURSIONDEPTH}" + echo "# Starting recursion ${i}.${j}/${RECURSION_DEPTH}" # 1 No instrumentation echo " # ${i}.1 No instrumentation" diff --git a/bin/2012-msept/run-benchmark-recursive.sh b/bin/2012-msept/run-benchmark-recursive.sh index 288f38905354d5444cf8bfb4c385fc0251f1f9d7..8073e985a49efedb2517797d1ffe7acbe4c1a557 100644 --- a/bin/2012-msept/run-benchmark-recursive.sh +++ b/bin/2012-msept/run-benchmark-recursive.sh @@ -11,11 +11,11 @@ BASE_DIR= SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 -MAXRECURSIONDEPTH=10 ## 10 +RECURSION_DEPTH=10 ## 10 TOTALCALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Experiment will take circa ${TIME} seconds." # determine correct classpath separator @@ -62,7 +62,7 @@ echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt -echo "MAXRECURSIONDEPTH=${MAXRECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt +echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt sync ## Execute Benchmark @@ -70,8 +70,8 @@ sync for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo "## Starting iteration ${i}/${NUM_LOOPS}" - for ((j=1;j<=${MAXRECURSIONDEPTH};j+=1)); do - echo "# Starting recursion ${i}.${j}/${MAXRECURSIONDEPTH}" + for ((j=1;j<=${RECURSION_DEPTH};j+=1)); do + echo "# Starting recursion ${i}.${j}/${RECURSION_DEPTH}" # 1 No instrumentation echo " # ${i}.1 No instrumentation" diff --git a/bin/2012-msept/run-cycle-experiment-singlethreaded.sh b/bin/2012-msept/run-cycle-experiment-singlethreaded.sh index 44e7c45c0053edd58ae4b1065b09e89bb4de3b65..1f29e29a8b7501954f96156f79afe9236c6686b5 100644 --- a/bin/2012-msept/run-cycle-experiment-singlethreaded.sh +++ b/bin/2012-msept/run-cycle-experiment-singlethreaded.sh @@ -5,11 +5,11 @@ SUDOCMD="pfexec" SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 -MAXRECURSIONDEPTH=1 ## 10 +RECURSION_DEPTH=1 ## 10 TOTALCALLS=2000000 ## 200000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Each experiment will take circa ${TIME} seconds." diff --git a/bin/2012-msept/run-cycle.sh b/bin/2012-msept/run-cycle.sh index 6b05cdef94af6eb7a431ad3d2c6acf3517760521..85cf8525132f18fc128ccff61c5da941aad4c510 100644 --- a/bin/2012-msept/run-cycle.sh +++ b/bin/2012-msept/run-cycle.sh @@ -4,11 +4,11 @@ SUDOCMD="pfexec" SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 -MAXRECURSIONDEPTH=1 ## 10 +RECURSION_DEPTH=1 ## 10 TOTALCALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Each experiment will take circa ${TIME} seconds." ${SUDOCMD} psrset -c -F 0 1 2 3 # one chip no hyperthreading