From 14c401f1cf7dce3069a38bccf68f6da192951e05 Mon Sep 17 00:00:00 2001 From: Reiner Jung <reiner.jung@email.uni-kiel.de> Date: Wed, 22 Jun 2022 16:05:39 +0200 Subject: [PATCH] Fixed SLEEP_TIME --- bin/2012-msept/run-benchmark-cycle-async.sh | 10 +++++----- bin/2012-msept/run-benchmark-cycle-sync.sh | 10 +++++----- bin/2012-msept/run-benchmark-recursive-jmx.sh | 10 +++++----- .../run-benchmark-recursive-linear.sh | 14 +++++++------- bin/2012-msept/run-benchmark-recursive.sh | 14 +++++++------- .../run-cycle-experiment-singlethreaded.sh | 4 ++-- bin/2012-msept/run-cycle.sh | 4 ++-- .../benchmark-kieker-days-ffi-remote.sh | 18 +++++++++--------- .../benchmark-kieker-days-ffi.sh | 18 +++++++++--------- .../benchmark-kieker-days-kieker.sh | 18 +++++++++--------- .../benchmark-kieker-days-ffi-remote.sh | 18 +++++++++--------- .../benchmark-kieker-days-ffi.sh | 18 +++++++++--------- .../benchmark-kieker-days-kieker-remote.sh | 18 +++++++++--------- .../benchmark-kieker-days-kieker.sh | 18 +++++++++--------- bin/2013-kieker-days/only_r.sh | 2 +- bin/2014-icpe/benchmark-disk-writer.sh | 18 +++++++++--------- frameworks/SPASSmeter/benchmark-causes.sh | 2 +- frameworks/SPASSmeter/benchmark-tcp.sh | 4 ++-- frameworks/SPASSmeter/benchmark.sh | 4 ++-- frameworks/common-functions.sh | 2 +- 20 files changed, 112 insertions(+), 112 deletions(-) diff --git a/bin/2012-msept/run-benchmark-cycle-async.sh b/bin/2012-msept/run-benchmark-cycle-async.sh index 00b155c..2f31176 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 d8e49dc..b99d846 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 b6f9784..fe30806 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 46fae73..cf89a5d 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 2f7a191..288f389 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 52d6d9d..44e7c45 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 c7f37f6..6b05cde 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 f9d3fb9..36c54e0 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 2b9b5ad..8e76457 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 a192931..280f1e7 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 7ef0560..331c1eb 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 2b9b5ad..8e76457 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 3529221..1d7aba1 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 a192931..280f1e7 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 97281c7..c6146df 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 175fcc0..3db9647 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 149f82a..462c6ce 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 7525fa7..92db530 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 ca1cdca..8bf82e5 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 a7fbb6b..426b4f1 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 -- GitLab