diff --git a/bin/2012-msept/run-benchmark-cycle-async.sh b/bin/2012-msept/run-benchmark-cycle-async.sh index 00b155c42f31e315205ff4cece8bbd9c557d3cf8..2f3117615612764bb925432b1c12556e435a2a74 100644 --- a/bin/2012-msept/run-benchmark-cycle-async.sh +++ b/bin/2012-msept/run-benchmark-cycle-async.sh @@ -41,7 +41,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -73,7 +73,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do kill %iostat [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-1.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 2 Deactivated probe echo " # ${i}.2 Deactivated probe" @@ -93,7 +93,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 3 No logging echo " # ${i}.3 No logging (null writer)" @@ -113,7 +113,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 4 Logging echo " # ${i}.4 Logging" @@ -135,7 +135,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done diff --git a/bin/2012-msept/run-benchmark-cycle-sync.sh b/bin/2012-msept/run-benchmark-cycle-sync.sh index d8e49dc1b0f610f5326315d0cf269752c48f8fd1..b99d846d86740c37a18c537eb6cfb8df93c2e0dc 100644 --- a/bin/2012-msept/run-benchmark-cycle-sync.sh +++ b/bin/2012-msept/run-benchmark-cycle-sync.sh @@ -41,7 +41,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -73,7 +73,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do # kill %iostat # [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-1.log # sync -# sleep ${SLEEPTIME} +# sleep ${SLEEP_TIME} # # # 2 Deactivated probe # echo " # ${i}.2 Deactivated probe" @@ -93,7 +93,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do # echo >>${BASE_DIR}kieker.log # echo >>${BASE_DIR}kieker.log # sync -# sleep ${SLEEPTIME} +# sleep ${SLEEP_TIME} # # # 3 No logging # echo " # ${i}.3 No logging (null writer)" @@ -113,7 +113,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do # echo >>${BASE_DIR}kieker.log # echo >>${BASE_DIR}kieker.log # sync -# sleep ${SLEEPTIME} +# sleep ${SLEEP_TIME} # 4 Logging echo " # ${i}.4 Logging" @@ -135,7 +135,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done diff --git a/bin/2012-msept/run-benchmark-recursive-jmx.sh b/bin/2012-msept/run-benchmark-recursive-jmx.sh index b6f9784575e48848949e319d7b4ddf721de9a2f9..fe308064a902f29950abb7223be0d0888adaac46 100644 --- a/bin/2012-msept/run-benchmark-recursive-jmx.sh +++ b/bin/2012-msept/run-benchmark-recursive-jmx.sh @@ -8,14 +8,14 @@ BINDJAVA="" BIN_DIR=bin/ BASE_DIR= -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 MAXRECURSIONDEPTH=10 ## 10 TOTALCALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 2 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 2 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 2 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 2 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` echo "Experiment will take circa ${TIME} seconds." # determine correct classpath separator @@ -56,7 +56,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -90,7 +90,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 2 Logging echo " # ${i}.2 Logging" @@ -111,7 +111,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done diff --git a/bin/2012-msept/run-benchmark-recursive-linear.sh b/bin/2012-msept/run-benchmark-recursive-linear.sh index 46fae737fd2e4ef3851a353efb4490ad7ffbcfa3..cf89a5d0a4968bdf74eeaad57471c6f259f3525c 100644 --- a/bin/2012-msept/run-benchmark-recursive-linear.sh +++ b/bin/2012-msept/run-benchmark-recursive-linear.sh @@ -8,14 +8,14 @@ BINDJAVA="" BIN_DIR=bin/ BASE_DIR= -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 MAXRECURSIONDEPTH=10 ## 10 TOTALCALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` echo "Experiment will take circa ${TIME} seconds." # determine correct classpath separator @@ -57,7 +57,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -90,7 +90,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do kill %iostat [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-1.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 2 Deactivated probe echo " # ${i}.2 Deactivated probe" @@ -110,7 +110,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 3 No logging echo " # ${i}.3 No logging (null writer)" @@ -130,7 +130,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 4 Logging echo " # ${i}.4 Logging" @@ -152,7 +152,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done diff --git a/bin/2012-msept/run-benchmark-recursive.sh b/bin/2012-msept/run-benchmark-recursive.sh index 2f7a1918df8d6ab41926dc53e67eb8468e45d7f6..288f38905354d5444cf8bfb4c385fc0251f1f9d7 100644 --- a/bin/2012-msept/run-benchmark-recursive.sh +++ b/bin/2012-msept/run-benchmark-recursive.sh @@ -8,14 +8,14 @@ BINDJAVA="" BIN_DIR=bin/ BASE_DIR= -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 MAXRECURSIONDEPTH=10 ## 10 TOTALCALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` echo "Experiment will take circa ${TIME} seconds." # determine correct classpath separator @@ -57,7 +57,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -89,7 +89,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do kill %iostat [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-1.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 2 Deactivated probe echo " # ${i}.2 Deactivated probe" @@ -109,7 +109,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 3 No logging echo " # ${i}.3 No logging (null writer)" @@ -129,7 +129,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # 4 Logging echo " # ${i}.4 Logging" @@ -151,7 +151,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done diff --git a/bin/2012-msept/run-cycle-experiment-singlethreaded.sh b/bin/2012-msept/run-cycle-experiment-singlethreaded.sh index 52d6d9d7911299302196e48f30a07b32fda338df..44e7c45c0053edd58ae4b1065b09e89bb4de3b65 100644 --- a/bin/2012-msept/run-cycle-experiment-singlethreaded.sh +++ b/bin/2012-msept/run-cycle-experiment-singlethreaded.sh @@ -2,14 +2,14 @@ SUDOCMD="pfexec" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 MAXRECURSIONDEPTH=1 ## 10 TOTALCALLS=2000000 ## 200000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` 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 c7f37f6b583ef452704e48e4e8a7579c8b258b8d..6b05cdef94af6eb7a431ad3d2c6acf3517760521 100644 --- a/bin/2012-msept/run-cycle.sh +++ b/bin/2012-msept/run-cycle.sh @@ -2,13 +2,13 @@ SUDOCMD="pfexec" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 MAXRECURSIONDEPTH=1 ## 10 TOTALCALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${MAXRECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${MAXRECURSIONDEPTH}` echo "Each experiment will take circa ${TIME} seconds." ${SUDOCMD} psrset -c -F 0 1 2 3 # one chip no hyperthreading diff --git a/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi-remote.sh b/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi-remote.sh index f9d3fb9c904c3d71e1eedd54dd6774b36cc0f227..36c54e0427a67488865eae201eaf242ce18b649a 100644 --- a/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi-remote.sh +++ b/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi-remote.sh @@ -9,7 +9,7 @@ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}tmp/results-benchmark-kieker-days-ffi/" REMOTERESULTS_DIR="${REMOTEBASE_DIR}tmp/results-benchmark-kieker-days-ffi/" -SLEEPTIME=1 ## 30 +SLEEP_TIME=1 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 @@ -19,7 +19,7 @@ METHODTIME=0 ## 0 #MOREPARAMS="" MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -53,7 +53,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -82,7 +82,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do kill %sar [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Deactivated Probe k=`expr ${k} + 1` @@ -102,7 +102,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "pkill -f 'java -jar'" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Collecting k=`expr ${k} + 1` @@ -122,7 +122,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "pkill -f 'java -jar'" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging k=`expr ${k} + 1` @@ -142,7 +142,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "pkill -f 'java -jar'" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reconstruction k=`expr ${k} + 1` @@ -162,7 +162,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "pkill -f 'java -jar'" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reduction k=`expr ${k} + 1` @@ -182,7 +182,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "pkill -f 'java -jar'" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done zip -jqr ${RESULTS_DIR}stat.zip ${RESULTS_DIR}stat diff --git a/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi.sh b/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi.sh index 2b9b5ad0b3315dfccedd0e56505a328901653316..8e76457fffbbba6e23982d2c559df5e73c220e55 100644 --- a/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi.sh +++ b/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi.sh @@ -6,7 +6,7 @@ R_SCRIPT_DIR=bin/icpe/r/ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}tmp/results-benchmark-kieker-days-ffi/" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 @@ -16,7 +16,7 @@ METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -47,7 +47,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -76,7 +76,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do kill %sar [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Deactivated Probe k=`expr ${k} + 1` @@ -95,7 +95,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Collecting k=`expr ${k} + 1` @@ -114,7 +114,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging k=`expr ${k} + 1` @@ -133,7 +133,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reconstruction k=`expr ${k} + 1` @@ -152,7 +152,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reduction k=`expr ${k} + 1` @@ -171,7 +171,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done zip -jqr ${RESULTS_DIR}stat.zip ${RESULTS_DIR}stat diff --git a/bin/2013-kieker-days-ffi/benchmark-kieker-days-kieker.sh b/bin/2013-kieker-days-ffi/benchmark-kieker-days-kieker.sh index a192931a2e3ed5da4ef4d15af0290d4af97e1126..280f1e7e5cee0e17a797900f27eabdefcb402bdb 100644 --- a/bin/2013-kieker-days-ffi/benchmark-kieker-days-kieker.sh +++ b/bin/2013-kieker-days-ffi/benchmark-kieker-days-kieker.sh @@ -6,7 +6,7 @@ R_SCRIPT_DIR=bin/icpe/r/ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}tmp/results-benchmark-kieker-days-kieker/" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 @@ -16,7 +16,7 @@ METHODTIME=0 ## 0 #MOREPARAMS="" MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -51,7 +51,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -87,7 +87,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Deactivated probe k=`expr ${k} + 1` @@ -110,7 +110,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # No logging k=`expr ${k} + 1` @@ -133,7 +133,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging k=`expr ${k} + 1` @@ -160,7 +160,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reconstruction k=`expr ${k} + 1` @@ -187,7 +187,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reduction k=`expr ${k} + 1` @@ -214,7 +214,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done zip -jqr ${RESULTS_DIR}stat.zip ${RESULTS_DIR}stat diff --git a/bin/2013-kieker-days/benchmark-kieker-days-ffi-remote.sh b/bin/2013-kieker-days/benchmark-kieker-days-ffi-remote.sh index 7ef0560a323be10105d5ce118799d70cc6a58a26..331c1eb4e73eb4d4c4eab3eb31bf2da2bff43c2d 100644 --- a/bin/2013-kieker-days/benchmark-kieker-days-ffi-remote.sh +++ b/bin/2013-kieker-days/benchmark-kieker-days-ffi-remote.sh @@ -9,7 +9,7 @@ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}tmp/results-benchmark-kieker-days-ffi/" REMOTERESULTS_DIR="${REMOTEBASE_DIR}tmp/results-benchmark-kieker-days-ffi/" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 @@ -19,7 +19,7 @@ METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -53,7 +53,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -81,7 +81,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do #kill %sar [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Deactivated Probe k=`expr ${k} + 1` @@ -101,7 +101,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "killall java" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Collecting k=`expr ${k} + 1` @@ -121,7 +121,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "killall java" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging k=`expr ${k} + 1` @@ -141,7 +141,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "killall java" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reconstruction k=`expr ${k} + 1` @@ -161,7 +161,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "killall java" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reduction k=`expr ${k} + 1` @@ -181,7 +181,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do ssh ${REMOTEHOST} "killall java" [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done zip -jqr ${RESULTS_DIR}stat.zip ${RESULTS_DIR}stat diff --git a/bin/2013-kieker-days/benchmark-kieker-days-ffi.sh b/bin/2013-kieker-days/benchmark-kieker-days-ffi.sh index 2b9b5ad0b3315dfccedd0e56505a328901653316..8e76457fffbbba6e23982d2c559df5e73c220e55 100644 --- a/bin/2013-kieker-days/benchmark-kieker-days-ffi.sh +++ b/bin/2013-kieker-days/benchmark-kieker-days-ffi.sh @@ -6,7 +6,7 @@ R_SCRIPT_DIR=bin/icpe/r/ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}tmp/results-benchmark-kieker-days-ffi/" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 @@ -16,7 +16,7 @@ METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -47,7 +47,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -76,7 +76,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do kill %sar [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Deactivated Probe k=`expr ${k} + 1` @@ -95,7 +95,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Collecting k=`expr ${k} + 1` @@ -114,7 +114,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging k=`expr ${k} + 1` @@ -133,7 +133,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reconstruction k=`expr ${k} + 1` @@ -152,7 +152,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reduction k=`expr ${k} + 1` @@ -171,7 +171,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do pkill -f 'java -jar' [ -f ${BASE_DIR}hotspot.log ] && mv ${BASE_DIR}hotspot.log ${RESULTS_DIR}hotspot-${i}-${j}-${k}.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done zip -jqr ${RESULTS_DIR}stat.zip ${RESULTS_DIR}stat diff --git a/bin/2013-kieker-days/benchmark-kieker-days-kieker-remote.sh b/bin/2013-kieker-days/benchmark-kieker-days-kieker-remote.sh index 3529221a56e6c0f3bfc1b1064be4dfd0166d9aeb..1d7aba1c3b743c6f78074a806051431a0752eafa 100644 --- a/bin/2013-kieker-days/benchmark-kieker-days-kieker-remote.sh +++ b/bin/2013-kieker-days/benchmark-kieker-days-kieker-remote.sh @@ -9,7 +9,7 @@ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}tmp/results-benchmark-kieker-days-kieker/" REMOTERESULTS_DIR="${REMOTEBASE_DIR}tmp/results-benchmark-kieker-days-kieker/" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 @@ -19,7 +19,7 @@ METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -57,7 +57,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -89,7 +89,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Deactivated probe k=`expr ${k} + 1` @@ -108,7 +108,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # No logging k=`expr ${k} + 1` @@ -127,7 +127,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging k=`expr ${k} + 1` @@ -151,7 +151,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reconstruction k=`expr ${k} + 1` @@ -175,7 +175,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reduction k=`expr ${k} + 1` @@ -199,7 +199,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done zip -jqr ${RESULTS_DIR}stat.zip ${RESULTS_DIR}stat diff --git a/bin/2013-kieker-days/benchmark-kieker-days-kieker.sh b/bin/2013-kieker-days/benchmark-kieker-days-kieker.sh index a192931a2e3ed5da4ef4d15af0290d4af97e1126..280f1e7e5cee0e17a797900f27eabdefcb402bdb 100644 --- a/bin/2013-kieker-days/benchmark-kieker-days-kieker.sh +++ b/bin/2013-kieker-days/benchmark-kieker-days-kieker.sh @@ -6,7 +6,7 @@ R_SCRIPT_DIR=bin/icpe/r/ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}tmp/results-benchmark-kieker-days-kieker/" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 @@ -16,7 +16,7 @@ METHODTIME=0 ## 0 #MOREPARAMS="" MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -51,7 +51,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -87,7 +87,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Deactivated probe k=`expr ${k} + 1` @@ -110,7 +110,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # No logging k=`expr ${k} + 1` @@ -133,7 +133,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging k=`expr ${k} + 1` @@ -160,7 +160,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reconstruction k=`expr ${k} + 1` @@ -187,7 +187,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Reduction k=`expr ${k} + 1` @@ -214,7 +214,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done zip -jqr ${RESULTS_DIR}stat.zip ${RESULTS_DIR}stat diff --git a/bin/2013-kieker-days/only_r.sh b/bin/2013-kieker-days/only_r.sh index 97281c77b1dba981d7ed58ae9704f573e012755f..c6146df720d364db73933d29a48bb902b067f115 100644 --- a/bin/2013-kieker-days/only_r.sh +++ b/bin/2013-kieker-days/only_r.sh @@ -6,7 +6,7 @@ R_SCRIPT_DIR=bin/r-scripts/ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}tmp/ffi-exp/" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 diff --git a/bin/2014-icpe/benchmark-disk-writer.sh b/bin/2014-icpe/benchmark-disk-writer.sh index 175fcc0e6cf5fbbd84cc7de3cd6eb9a859b03127..3db96474681d0a36c1b8f6fcbb6d649ab4fcbb33 100644 --- a/bin/2014-icpe/benchmark-disk-writer.sh +++ b/bin/2014-icpe/benchmark-disk-writer.sh @@ -6,7 +6,7 @@ R_SCRIPT_DIR=bin/icpe/r/ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}tmp/results-benchmark-disk/" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 @@ -16,7 +16,7 @@ METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEPTIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -53,7 +53,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt -echo "SLEEPTIME=${SLEEPTIME}" >>${RESULTS_DIR}configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt @@ -89,7 +89,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Deactivated probe k=`expr ${k} + 1` @@ -112,7 +112,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # No logging k=`expr ${k} + 1` @@ -135,7 +135,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging 1 k=`expr ${k} + 1` @@ -159,7 +159,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging 2 k=`expr ${k} + 1` @@ -183,7 +183,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} # Logging 3 k=`expr ${k} + 1` @@ -207,7 +207,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >>${BASE_DIR}kieker.log echo >>${BASE_DIR}kieker.log sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done zip -jqr ${RESULTS_DIR}stat.zip ${RESULTS_DIR}stat diff --git a/frameworks/SPASSmeter/benchmark-causes.sh b/frameworks/SPASSmeter/benchmark-causes.sh index 149f82abde79e2df3a72092fe045632e8684795a..462c6ce250380b9cd726dd666197afb2a95ba161 100644 --- a/frameworks/SPASSmeter/benchmark-causes.sh +++ b/frameworks/SPASSmeter/benchmark-causes.sh @@ -52,7 +52,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >> "${RESULTS_DIR}/configuration.txt" echo "" >> "${RESULTS_DIR}/configuration.txt" echo "Runtime: circa ${TIME} seconds" >> "${RESULTS_DIR}/configuration.txt" echo "" >> "${RESULTS_DIR}/configuration.txt" -echo "SLEEPTIME=${SLEEP_TIME}" >> "${RESULTS_DIR}/configuration.txt" +echo "SLEEP_TIME=${SLEEP_TIME}" >> "${RESULTS_DIR}/configuration.txt" echo "NUM_LOOPS=${NUM_LOOPS}" >> "${RESULTS_DIR}/configuration.txt" echo "TOTALCALLS=${TOTAL_CALLS}" >> "${RESULTS_DIR}/configuration.txt" echo "METHODTIME=${METHOD_TIME}" >> "${RESULTS_DIR}/configuration.txt" diff --git a/frameworks/SPASSmeter/benchmark-tcp.sh b/frameworks/SPASSmeter/benchmark-tcp.sh index 7525fa74d28d560ad1169e935a4338be2d57690e..92db530c365d40bef219aa6f9e4318b0f3071bbd 100644 --- a/frameworks/SPASSmeter/benchmark-tcp.sh +++ b/frameworks/SPASSmeter/benchmark-tcp.sh @@ -7,7 +7,7 @@ R_SCRIPT_DIR=r/ BASE_DIR=./ RESULTS_DIR="${BASE_DIR}/tmp/results-spassmeter/" -SLEEPTIME=30 ## 30 +SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 @@ -52,7 +52,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >>${RESULTS_DIR}/configuration.txt echo "" >>${RESULTS_DIR}/configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}/configuration.txt echo "" >>${RESULTS_DIR}/configuration.txt -echo "SLEEPTIME=${SLEEP_TIME}" >>${RESULTS_DIR}/configuration.txt +echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}/configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}/configuration.txt echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}/configuration.txt echo "METHOD_TIME=${METHOD_TIME}" >>${RESULTS_DIR}/configuration.txt diff --git a/frameworks/SPASSmeter/benchmark.sh b/frameworks/SPASSmeter/benchmark.sh index ca1cdcae239e9ea4f21daba0e2c2ef3093e10cc5..8bf82e5eaee740c429d1c444edbadab5b9cfcc0c 100644 --- a/frameworks/SPASSmeter/benchmark.sh +++ b/frameworks/SPASSmeter/benchmark.sh @@ -52,7 +52,7 @@ echo "JAVA_ARGS: ${JAVA_ARGS}" >> "${RESULTS_DIR}/configuration.txt" echo "" >> "${RESULTS_DIR}/configuration.txt" echo "Runtime: circa ${TIME} seconds" >> "${RESULTS_DIR}/configuration.txt" echo "" >> "${RESULTS_DIR}/configuration.txt" -echo "SLEEPTIME=${SLEEP_TIME}" >> "${RESULTS_DIR}/configuration.txt" +echo "SLEEP_TIME=${SLEEP_TIME}" >> "${RESULTS_DIR}/configuration.txt" echo "NUM_LOOPS=${NUM_LOOPS}" >> "${RESULTS_DIR}/configuration.txt" echo "TOTALCALLS=${TOTAL_CALLS}" >> "${RESULTS_DIR}/configuration.txt" echo "METHODTIME=${METHOD_TIME}" >> "${RESULTS_DIR}/configuration.txt" @@ -122,7 +122,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do echo >> "${BASE_DIR}/spassmeter.log" echo >> "${BASE_DIR}/spassmeter.log" sync - sleep ${SLEEPTIME} + sleep ${SLEEP_TIME} done #zip -jqr ${RESULTS_DIR}/stat.zip ${RESULTS_DIR}/stat diff --git a/frameworks/common-functions.sh b/frameworks/common-functions.sh index a7fbb6b9ad9443a2d189a0aa3b70aff2a47747d0..426b4f189eed7d4e73a3d7f752def87f1e5653c5 100644 --- a/frameworks/common-functions.sh +++ b/frameworks/common-functions.sh @@ -119,7 +119,7 @@ function writeConfiguration() { echo "" >>${RESULTS_DIR}/configuration.txt echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}/configuration.txt echo "" >>${RESULTS_DIR}/configuration.txt - echo "SLEEPTIME=${SLEEP_TIME}" >>${RESULTS_DIR}/configuration.txt + echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}/configuration.txt echo "NUM_OF_LOOPS=${NUM_OF_LOOPS}" >>${RESULTS_DIR}/configuration.txt echo "TOTAL_NUM_OF_CALLS=${TOTAL_NUM_OF_CALLS}" >>${RESULTS_DIR}/configuration.txt echo "METHODTIME=${METHOD_TIME}" >>${RESULTS_DIR}/configuration.txt